How do I

Get help using Construct 2

Post » Wed Jul 19, 2017 5:33 pm

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
B
9
S
4
Posts: 16
Reputation: 757

Post » Wed Jul 19, 2017 6:17 pm

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.
B
47
S
18
G
84
Posts: 2,273
Reputation: 49,800

Post » Wed Jul 19, 2017 11:39 pm

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
B
9
S
4
Posts: 16
Reputation: 757


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 32 guests