Update: CC - Touch Move (c55930et90.js) 0 bytes modified
parent
a1f47774cb
commit
ab2eebf8c0
|
@ -13,8 +13,8 @@ if (!this.initialized) {
|
||||||
this.x -= touch.left;
|
this.x -= touch.left;
|
||||||
this.x += touch.right;
|
this.x += touch.right;
|
||||||
|
|
||||||
this.y -= touch.down;
|
this.y += touch.down;
|
||||||
this.y += touch.up;
|
this.y -= touch.up;
|
||||||
|
|
||||||
if (this.x < 0) {
|
if (this.x < 0) {
|
||||||
this.x = 0;
|
this.x = 0;
|
||||||
|
|
Loading…
Reference in New Issue