Hello,
i want to kill enemies like in Mario game.
i mean the Hero jump and "Falls on the head of enemy"
Thanks
If you search for 'Mario' in the post just above yours called '[How do I]Frequently asked questions' you might find what you are after, or at least, something similar.
...
i didn't find exactly what i need
Develop games in your browser. Powerful, performant & highly capable.
Check this:
https://www.scirra.com/tutorials/753/ma ... ted-player
Check this: https://www.scirra.com/tutorials/753/ma ... ted-player
Hey,
this is a big sample and don't know where exactly the solution.
In Mario, the game just checks whether or not the player is falling when they collide with an enemy. If they are, kill the enemy. Else kill the player