Update: CC - Touch Move (c55930et90.js) 70 bytes modified
parent
e3ac0e601a
commit
3ade1580a3
|
@ -1,7 +1,5 @@
|
||||||
var touch = data[Object.keys(data)[0]];
|
var touch = data[Object.keys(data)[0]];
|
||||||
|
|
||||||
console.log(touch);
|
|
||||||
|
|
||||||
if (!this.initialized) {
|
if (!this.initialized) {
|
||||||
|
|
||||||
this.x = window.innerWidth / 2;
|
this.x = window.innerWidth / 2;
|
||||||
|
@ -33,9 +31,6 @@ if (this.y > window.innerHeight) {
|
||||||
this.y = window.innerHeight;
|
this.y = window.innerHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('x : ' + this.x, 'y: ' + this.y);
|
|
||||||
|
|
||||||
|
|
||||||
GameLib.Event.Emit(
|
GameLib.Event.Emit(
|
||||||
GameLib.Event.MOUSE_MOVE,
|
GameLib.Event.MOUSE_MOVE,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue