Initial Commit: CC - SpoonLib - Touch Move (tlfd3vbn9k.js)
parent
34cf9960d2
commit
bd188d9102
|
@ -0,0 +1,17 @@
|
|||
if (!this.entityLoaded) {
|
||||
return;
|
||||
}
|
||||
|
||||
var movementY = data.meta.totalDown - data.meta.totalUp;
|
||||
|
||||
//console.log(movementY);
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.MOUSE_MOVE,
|
||||
{
|
||||
event : {
|
||||
movementY : movementY
|
||||
}
|
||||
}
|
||||
);
|
||||
//@ sourceURL=SpoonLibTouchMove.js
|
Loading…
Reference in New Issue