I'm doing a spaceship game. My idea is that I can create a layout that would simulate a workshop where the player can change the properties of the ship , such as speed and density .
The game is based on physics, and all attributes are now controlled through variables .
This template would allow me? Modify the variables in a layout and use them in another?
thanks for your comment. If you want to edit variables in another layout you just can save them in an array and then in the LocalStorage and load them on the start of the game layout.
I guess this would be the better way to do that.
This template basically works the same, but it's more complicated to alter this template to fit your needs than to create a simple save/load function for the parameters (variables).
Hope this helps you