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
Develop games in your browser. Powerful, performant & highly capable.
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