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: 15
Reputation: 755

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
46
S
16
G
74
Posts: 2,088
Reputation: 44,185

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: 15
Reputation: 755


Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky, R0J0hound and 23 guests