Level select

Get help using Construct 2

Post » Wed Feb 06, 2013 5:42 pm

Hello, I have followed the steps of this tutorial, but not is create another layout and that when you click on the second box go to this layout... Because the tutorial is the same layout with the same text that changes only the text rather than layout

Anyone know how to associate the new layout with the two box?

Tutorial: https://www.scirra.com/tutorials/311/level-page
Capx: https://dl.dropbox.com/u/26046730/UnlockLV%26menu.capx
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Thu Feb 07, 2013 9:30 am

It help please
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Thu Feb 07, 2013 9:54 am

Not sure what your question was, but this fixes your level selection:

B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Thu Feb 07, 2013 12:12 pm

Sorry I'm an idiot, I'm wrong capx... which I say is this... much more difficult

http://dl.dropbox.com/u/67034121/scirra%20construct2/New%20folder.rar
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Thu Feb 07, 2013 12:38 pm

Funny enough, the answer to your question is in the .capx you posted first.. :)

See my screenshot and you could do it like it was done there; set variable for each box to refer into specific layout.
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Thu Feb 07, 2013 12:52 pm

I tried, but it does not work: (
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Thu Feb 07, 2013 4:11 pm

one hour after eating my head, it worked
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Fri Feb 08, 2013 8:27 am

cesarzevil , you go do something like this :
name all your layouts with numbers like : 1,2,3,4,5...
so events like this :
-pressed on level button
while its unlocked      ---->action : system : go layout (by name)

and put this name :""currentlevel+1

this will fix the problem but you need to create the layout or it will not work and you will think it didn't fix ^^

anyway if you have any question please post in the same tutorial or pm as i mentioned on the tutorial so i can get a notification and help you ^^zsangerous2013-02-08 08:27:55
B
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Fri Feb 08, 2013 9:46 am

Thanks for the tutorial, helped me a lot. I was going to comment on the post of the tutorial, but still no one would see there :(

I think the fix yesterday, but if I have more problems, ask for help in the tuturial post.
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Fri Feb 08, 2013 1:18 pm

This kinda helped me answer one of my issues.
B
13
S
4
G
4
Posts: 33
Reputation: 2,587

Next

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, jul and 20 guests