- Icon resource for Windows added

- Zoom and fullscreen controlled from Lua
- Basic gamepad support
This commit is contained in:
2023-01-20 19:14:59 +01:00
parent 0b2f30bac8
commit db9ce7898b
13 changed files with 75 additions and 65 deletions

View File

@@ -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