Mar 24, 2024 01:43:54
Player ***somehow*** switches layers after dying and respawning
view on scratch
view on legacy ocular
Malicondi
loading
They mean to in the player sprite, to add a “go back one layer”. The problem is, that since the player sprite's layering is getting messed up because when it stops it's scripts, it goes to the back layer because all the other sprites go to the front layer before them, resulting in the player doing it's scripts last, and since it's script is to go to front, and it's doing it last, it ends up in front of the background. Hey, i do not see how that would work. The “go to front” is there just like any other visible sprite, and if it wasn't there, let alone a go BACK one layer, it would show behind everything else which is NOT what i want. The stop other scripts in sprite happens only whenever a new animation plays, and it makes sure that any other animations stop playing, i don't see at all how that would change the layering.
You can simply fix this by adding a “go back one layer” after the go to front, and it's layering stays correct.