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
Develop games in your browser. Powerful, performant & highly capable.
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.
[attachment=0:24dphdpy][/attachment:24dphdpy]
It works, thanks codah! All you did was move the events around in the event sheet?
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.