I'm making a turned based rpg currently working on the turn based battle system but having troubles with my global numbers such as xp and hp the numbers are resetting between layers how do i fix this
Do you mean layouts and no they shouldn't reset if they are global, unless you tell them to reset. Are they instance variables? It's possible you've got an event that states set to 0 on start of layout which applies to all layouts.
Develop games in your browser. Powerful, performant & highly capable.
I realized its because I was saving state when going into battle layout and then reloading state when going back to layout 1, is there another way i can switch between the 2 layouts without losing my position my sprite is global