How do I work with stars without array

Get help using Construct 2

Post » Wed Aug 06, 2014 10:30 am

Hi guys

I am new to this construct. Looked through few manuals and tutorials and found this good tutorial.

LevelSelect Tutorial In Construct 2 | Level Selection - A Youtube Video for unlocking levels and adding stars.

But here is the problem, I am not good with arrays, understanding and modifying it. So I decided to create stars like angry birds points for my game with multiple events instead of following the above tutorial. Somebody help me to make the level 2 button to be visible only when I complete the level 1 and add number of stars to the star texts in the Lvls page.

Thanks a lot in advance
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 51
Reputation: 507

Post » Wed Aug 06, 2014 5:22 pm

Anybody guys
B
7
S
1
Posts: 51
Reputation: 507

Post » Fri Aug 08, 2014 2:43 am

WIthout using much arrayed code

For stars: Import three star sprites, to the score layout(to the score layer) which by the way will be hidden On start of layout. When the level is finished, based on the points, make visible and invisible the stars as you wanted. It's simple
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Fri Aug 08, 2014 2:45 am

For locking the next level: I tried the same visible, not working properly.

and showing the star count in the levels page: I am confused. ( I have not used the save values much, so no)
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Fri Aug 08, 2014 3:36 pm

Thanks @Harishankar

Could somebody help me with the other two questions.
B
7
S
1
Posts: 51
Reputation: 507

Post » Sat Aug 09, 2014 2:35 am

I am struck. You dont have to do it for me. Just suggest me an idea for unlocking locked levels one after another without using arrays and saving all the star counts in that world, in the levels page.
B
7
S
1
Posts: 51
Reputation: 507

Post » Sun Aug 10, 2014 5:00 am

Guys anybody :( :(
B
7
S
1
Posts: 51
Reputation: 507

Post » Sun Aug 10, 2014 6:02 am

Maybe you could describe it better
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sun Aug 10, 2014 12:05 pm

@codah Let's say I have a levels page with 10 levels in it.

1. I want each level to be unlocked only when the previous level is completed (without using array)

2. Each level has stars like angry birds game. In the levels page, I need the total star counts for that ten levels. (without using arrays)
B
7
S
1
Posts: 51
Reputation: 507

Post » Mon Aug 11, 2014 12:58 pm

Guys anybody
B
7
S
1
Posts: 51
Reputation: 507

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests