Im making a survival game and i need the variables of each character to persist trought the different layouts/map sections, if i make them into global variables i would have to make hundreds of them and i don't want that, so what can i do?
Develop games in your browser. Powerful, performant & highly capable.
You can make the character objects into global objects, tick the global setting on them.