I have made a variable that says "If global variable (health) is less than or equal to 0, destroy player, destroy playerbox and restart layout." It appears to destroy the player and playerbox, but not re spawn them, so I am left with a screen that has only the background. Can anyone help me? This is a platform game, and playerbox is similar to that of the platform box in the tutorial btw. PS: It would be great if anyone could tell me how to upload a picture.
This is my first post,so not entirely sure of the protocol here