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
Hey Construct Community,
I'm making a 2D combat system and when I added the events that enabled the player to block with a shield while holding down a key, it disabled my attack which uses a 'key is pressed' event. I have no idea how to fix this.
I've labeled my events with comments, the Block and Attack are at the bottom of the event sheet.
Here is the .capx: https://www.dropbox.com/s/sqs18wj10ny4b ... lgame.capx
I'm not sure this is your solution, but on a quick test it seems to work so might help.
I've moved events around a bit so I could 'else' the key down ones.
It works, thanks codah! All you did was move the events around in the event sheet?
Develop games in your browser. Powerful, performant & highly capable.
Not all.. I 'elsed' the check of keys down. You can only have one of those states valid at one time anyway. Check the capx and compare with yours The order of events itself is not important.