how to get your actor dead when step on something/ create enemy ?


  • Posts: 3
as the tittle said, I'm making a platform game. And i still can't figure out how to make my actor dead when he step on spikes or get touched by enemy ?

as like some spikes, or the enemy character in mario bross.

any tutorial or suggestion how to do it? thank you :)


  • Posts: 82
This is super quick, but it should help.

Make a behavior for the player, name it whatever.
Add a "Collides with actor type"
You'll have to make your pikes and enemies a specific actor type
When the player collides with those, use the kill self block, and switch scene to your title screen.

Finding other tutorials should be easy, just check around the resources on the site or use lord google > the sites search engine.
Please try out my latest build of Patient 9 here.