Switching Back to Main Layout

Just started using Construct 2? Post your questions here

Post » Sat Oct 04, 2014 4:16 pm

I am building a slot machine. Within the game I have a second Layout built with the prize table. After switching back from the Prize Table Layout to the main games I lose all my game credits as soon as I start the next game. I cannot find an issue with the game. All I do is remove 5 credits from the total which works, then the credits go to zero. If you do not switch to the prize table layout at all, the game works fine.
B
13
S
3
G
1
Posts: 9
Reputation: 831

Post » Sun Oct 05, 2014 4:31 pm

Issue resolved, when switching back to layout "On start of Layout" is not execute. Added another condition to keep ajax from reading again and overwriting my variable.
B
13
S
3
G
1
Posts: 9
Reputation: 831


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests