help with selection level menu

Get help using Construct 2

Post » Fri May 27, 2016 12:16 am

Hi again.

In our tile-filling game now the player can move without problems (thanks to @99Instances2Go), but now we have trouble with the level selection menu. The code works if you choose lvl1, then you beat the level and the game sends you back to the selection screen, if you choose lvl2, lvl1 appears again (i think the problem comes from the global variables, but im not sure :? )

PD: The game suppose to be for android devices (we are using 480x320 u guys thinks thats okay?), thats why we are using touch plugins too

PD2: we are using this tutorial for the selection menu atm https://www.scirra.com/tutorials/311/level-select



the capx (with the levels) https://www.dropbox.com/s/88e9byqb0gmc2 ... .capx?dl=0


Cheers!
B
9
S
2
G
1
Posts: 6
Reputation: 1,099

Post » Fri May 27, 2016 1:48 am

I could be mistaken, but in MenuLVL

Line 11 system > go to LVL1 (means you always will go to the first level)
Line 3 sets your current level always to 1?

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests