My player hud goes down fine when the player falls on a spike but when the player death screen is meant to appear it doesn’t happen until you move the player off of the spike.
I’m thinking its the collision object but I’m unsure how to disable it when the players health reaches 0 as i have tried many possibilities and none have worked??
If you need to disable a component, like a sprite or a collision object, send it a ”disable” message:
msg.post(”#collider”, ”disable”)
2 Likes