Just when the player collides with the lava just put destroy player instead of taking away the sprites but if you want the sprites to go away I can't help you on that bub
Develop games in your browser. Powerful, performant & highly capable.
Member since 1 Mar, 2019