Hi. So I'm fairly new to programming and there's some concepts I can't quite seem to grasp yet. My project is at a very early stage. Here are my questions:
1- When a bullet hits my enemy, it plays a "hurt" animation. Right now, the enemy only plays the "hurt" animation when he's walking or attacking. And when it does, the enemy doesn't go back to "standing still" unless the player comes out of his reach.
2- I would like my enemy spawn box to create an enemy instance every 5 seconds or so, and only when the box is not on screen.
Some tips (and support) would be super appreciated. Here's my file:
Here's the controls:
left + right arrows
Up = jump
Z = shoot
2 x 4