diff --git a/c55930et90.js b/c55930et90.js index bf0e138..721483a 100644 --- a/c55930et90.js +++ b/c55930et90.js @@ -7,14 +7,20 @@ if (!this.initialized) { this.x = window.innerWidth / 2; this.y = window.innerHeight / 2; + var sensitivity = 0.1; + this.initialized = true; } +touch.left *= sensitivity; +touch.right *= sensitivity; +touch.up *= sensitivity; +touch.down *= sensitivity; + this.x -= touch.left; this.x += touch.right; - -this.y += touch.down; this.y -= touch.up; +this.y += touch.down; if (this.x < 0) { this.x = 0;