Nintend0Nerd
New member
I'm making a platformer game, but want to implement keys and key doors. I have an icon in my hud that appears as an x when the player doesn't have a key, and then shows a key symbol when they get one (the player should only ever have one key at a time). For some reason, when I jump on an enemy in the first room (but not when I shoot it with a projectile) I get a key when I move onto the next room. Does anyone know why this is happening?