Hi, got a bit of a problem in my game.
I have door sprites. And I have keys.
What I want is to remove (Destroy) the doors if the player have one, or more, keys and collides with the doors.
Things isn't working as expected. :/
On collision between Player and Door
(sub event) Player Value 'keys' Greater or equal 1
Actions for the sub event:
Player: Subtract 1 from 'keys'
But the thing is, no matter how many keys the player have, the collision between the player and the door doesn't run the actions.
I ran the debugger and saw that the player do have a key, so the sub event should fire, but it's like if the collision event isn't firing.
Just to try things out, I moved the Door: Destroy action to the On collision event, but it still refused to disappear.
How can this be fixed?
Thanks for any help.