- Icon resource for Windows added
- Zoom and fullscreen controlled from Lua - Basic gamepad support
This commit is contained in:
@@ -8,7 +8,7 @@ function dead.start()
|
||||
dead.pos[i]=0
|
||||
dead.vel[i]=(200+rnd(400))/400
|
||||
end
|
||||
_update=dead.update
|
||||
game_update=dead.update
|
||||
end
|
||||
|
||||
function dead.update()
|
||||
@@ -39,10 +39,8 @@ function dead.update()
|
||||
end
|
||||
end
|
||||
|
||||
if (dead.count>250 and btnp(KEY_SPACE)) or dead.count>500 then
|
||||
if (dead.count>250 and (btnp(keyShoot) or padp(btnShoot))) or dead.count>500 then
|
||||
game_exit()
|
||||
game_init(true)
|
||||
--_init()
|
||||
--_update=update_game
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user