how do I make a checkpoint for each level when I die for example when I die I go back to the level and you have to do the level all over again can someone help me please
Develop games in your browser. Powerful, performant & highly capable.
Upon reaching the checkpoint, set a global variable or local storage key (or both).
On start of layout, check if the variable/key is set to decide where to create or move objects.