Image https://love2d.org/imgmirrur/2Ij6OO6.jpg
Moviment: Arrow keys
Shoot: X
![Cool :cool:](./images/smilies/ms-sunglass.png)
Hello,modog wrote:I made that little game to can working better with lua/love2d, my hope it is complete the project. I want you people tell what a add to the project and maybe tell me how i make something then complete the project. For I finishing: Some one tell me how I can restart the game in the end.
Image https://love2d.org/imgmirrur/2Ij6OO6.jpg
Code: Select all
if game.over or game.win and key == ' ' then restart() end
Code: Select all
if game.over or game.win and key == 'space' then restart() end
oh, I made it for version 0.9.2Ref wrote:Replay not working because wrong key code used.should be:Code: Select all
if game.over or game.win and key == ' ' then restart() end
A change related to latest version of Love.Code: Select all
if game.over or game.win and key == 'space' then restart() end
A lot of things have been changed and I need to update all my games. I'm too lazy to do that. Someday maybe.Nixola wrote:You should start using 0.10.1, there's pretty much no reason to stay behind.
I just resolved that. I'm writing and testing something to adding the project, a some time I post here.Ref wrote:Replay not working because wrong key code used.should be:Code: Select all
if game.over or game.win and key == ' ' then restart() end
A change related to latest version of Love.Code: Select all
if game.over or game.win and key == 'space' then restart() end
Users browsing this forum: No registered users and 0 guests