Hello all,
I'm working on some basic platform mechanics. The player sprite can stick to the ceiling, as well as turn into a morph ball (like in Metroid). I've noticed that the key press that toggles the player turning into a ball is unreliable, especially when the layout initially loads. Sometimes it ignores key presses. Any idea what might be causing this?
This could happen on some keyboards if you press 3 or more keys at once.
If this is not the case, then there is probably something wrong with your code, please share your project file.
drive.google.com/open
Thanks for the quick reply!
Develop games in your browser. Powerful, performant & highly capable.
Like I said, you have logical errors in your code. In events 5 and 6 you are changing animation without updating the Ball variable. That's why when you press Z after that, the variable changes, but the animation doesn't.
Ah! Thanks. That clarifies quite a bit.