Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.
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.