Update: CC - Touch Start (pgx4qp38d4.js) 10 bytes modified
parent
261b5c9542
commit
919d607953
|
@ -4,7 +4,8 @@ var touches = Object.keys(data);
|
||||||
/**
|
/**
|
||||||
* This code is rediculous - but it fixes the bug in ios where audio does not play
|
* This code is rediculous - but it fixes the bug in ios where audio does not play
|
||||||
*/
|
*/
|
||||||
GameLib.Event.Emit(
|
|
||||||
|
/*GameLib.Event.Emit(
|
||||||
GameLib.Event.PLAY_AUDIO,
|
GameLib.Event.PLAY_AUDIO,
|
||||||
{
|
{
|
||||||
name : 'Audio - Flamethrower'
|
name : 'Audio - Flamethrower'
|
||||||
|
@ -12,14 +13,15 @@ GameLib.Event.Emit(
|
||||||
);
|
);
|
||||||
|
|
||||||
if (touches.length > 2) {
|
if (touches.length > 2) {
|
||||||
|
*/
|
||||||
GameLib.Event.Emit(GameLib.Event.MOUSE_DOWN);
|
GameLib.Event.Emit(GameLib.Event.MOUSE_DOWN);
|
||||||
} else {
|
/*} else {
|
||||||
GameLib.Event.Emit(
|
GameLib.Event.Emit(
|
||||||
GameLib.Event.STOP_AUDIO,
|
GameLib.Event.STOP_AUDIO,
|
||||||
{
|
{
|
||||||
name : 'Audio - Flamethrower'
|
name : 'Audio - Flamethrower'
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
//@ sourceURL=touchStart.js
|
//@ sourceURL=touchStart.js
|
Loading…
Reference in New Issue