Hi all,
I have code for a crystal count within my level at the moment, however when the player dies and the level resets, or when the player moves on to level 2 (in a new js file), the score resets as I've initiated it within level 1.
Could someone please tell me how to create a variable that can be tracked and edited in every JS file, rather than just one?
Thanks!