Killing an enemy if player jumps over the enemy

like in mario, where you jump over the enemie to kill it.

Are you asking how to do this? I think this has been done: mySprite jumping on top of enemies?

1 Like

If you make it so that when the player jumps on the enemy the enemy dies,
add gravity to the enemy so when you jump on it has a cool dropping animation.
But im not sure how to make it so that it kills you when you touch it from the side.

1 Like

I SUMMON @richard TO HELP @Mega0star01

Here’s a demo. Press B to spawn an enemy

2 Likes

@Sonicblaston’s example is pretty much what I would have posted!

6 Likes

thanks, that’s exactly what i need.

2 Likes

Screenshot 2024-04-15 1.42.24 PM
Man, I love this game!

3 Likes

I sense that someone has been spamming the B button

2 Likes

i didn’t.

1 Like

Bro, that’s pretty bold