+ 1

My game is broken and I can't fix it... HELP ME PLEASE

The code works fine... if it's only the player. Whenever I add in the block the game freezes. So far all the game does is move the player left and right. Also sorry about them not having sprites I can't transfer them ( haven't tried either ) Please help me... https://code.sololearn.com/WLM2WF4aKjTR/?ref=app

31st Mar 2019, 2:59 AM
CookieStep720
CookieStep720 - avatar
3 Respuestas
0
i didnt look at all your code, but i could notice that you didnt add any ; at the end of the lines, try adding them and see if it works
25th Apr 2019, 10:27 PM
Luiz Felipe Funaki Bigarelli
Luiz Felipe Funaki Bigarelli - avatar
0
Thanks but it wasn't that, it was because I tried storing a document element inside of EVERY object
1st May 2019, 9:20 PM
CookieStep720
CookieStep720 - avatar
0
ok, good that you found out why anyway
1st May 2019, 9:29 PM
Luiz Felipe Funaki Bigarelli
Luiz Felipe Funaki Bigarelli - avatar