Hi!
I'm trying to do a 2D-sidescroller, but I'm having issues with fighting enemies.
Think like Mario Bros, I wanna jump on my enemys head, he will then die, but if the enemy walks into me, I will die.
So I want something like if enemy Y.pos is lower than my Y.pos and there's an impact = enemy dead
If my y.pos is somewhat the same as enemies, I die on impact.
Any ideas?
Also any ideas of how to make the enemy die in a "better looking way", I.E. falling down, off the camera or something like that, before using Destroy.
Cheers!