- Now Up and Jump can be defined as different keys/buttons.
This commit is contained in:
@@ -29,12 +29,14 @@ function _init()
|
||||
keyDown = tonumber(getconf("keydown")) or KEY_DOWN
|
||||
keyLeft = tonumber(getconf("keyleft")) or KEY_LEFT
|
||||
keyRight = tonumber(getconf("keyright")) or KEY_RIGHT
|
||||
keyJump = tonumber(getconf("keyjump")) or KEY_UP
|
||||
keyShoot = tonumber(getconf("keyshoot")) or KEY_SPACE
|
||||
|
||||
btnUp = tonumber(getconf("btnup")) or BTN_UP
|
||||
btnDown = tonumber(getconf("btndown")) or BTN_DOWN
|
||||
btnLeft = tonumber(getconf("btnleft")) or BTN_LEFT
|
||||
btnRight = tonumber(getconf("btnright")) or BTN_RIGHT
|
||||
btnJump = tonumber(getconf("btnjump")) or BTN_UP
|
||||
btnShoot = tonumber(getconf("btnshoot")) or BTN_A
|
||||
|
||||
--game_init()
|
||||
|
||||
Reference in New Issue
Block a user