Spikes that hurt the player

Can anyone tell me how to set the spikes to cause damage to the player?

kill the player or damage him cuz kill is collision with spike = destroy

Kill him… And thanks for helping! :slight_smile:


to kill a player, go to behaviours (on your spike sprite) and go to destroy. Alternatively, use the NextLevel behaviour, and click on the label, then click on Pick Level. Choose
“Restart Current” and hook it to collision, like this.Screenshot 2014-10-17 at 11.35.16 AM