Update: CC - Key Up - AR Football 3 (r5kzahijoq.js) 450 bytes modified
parent
ac33f2c38f
commit
fe0a861c73
|
@ -2,6 +2,31 @@ if (!this.entityLoaded) {
|
|||
return;
|
||||
}
|
||||
|
||||
console.log(data);
|
||||
if (data.keyCode === R3.System.Input.KEY_LEFT) {
|
||||
R3.Event.Emit(
|
||||
R3.Event.GAME_DATA,
|
||||
{
|
||||
type : 'look_left'
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
//@ sourceURL=keyDown.js
|
||||
if (data.keyCode === R3.System.Input.KEY_RIGHT) {
|
||||
R3.Event.Emit(
|
||||
R3.Event.GAME_DATA,
|
||||
{
|
||||
type : 'look_right'
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
if (data.keyCode === R3.System.Input.KEY_UP) {
|
||||
R3.Event.Emit(
|
||||
R3.Event.GAME_DATA,
|
||||
{
|
||||
type : 'shoot_release'
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
//@ sourceURL=keyUp.js
|
Loading…
Reference in New Issue