Level Select with Stars

Get help using Construct 2

Post » Thu Mar 28, 2013 5:13 pm

Hey everyone! I am trying to setup a level select feature in my game. I have all the sprites for each level laid out. And I have set On touch of sprite X, game will load level X and so on.

What I need is a way to detect if the player has completed a level and if so what was their score? Then based on their score, display X amount of stars.

I am looking for something similar to this tutorial. Unfortunately, I find it very hard to follow along with this person.

https://www.youtube.com/watch?feature=player_embedded&v=JJWWw9UMIs0
B
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Thu Mar 28, 2013 8:40 pm

There are a few tutorials here on the site to do that using arrays. Look for level select in the tutorials section... Found this in about half a second using the search box on the tutorials page: Level Select
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Thu Mar 28, 2013 9:01 pm

Yea, no offense to the tutorial writers but I can't understand anything that guy is talking about. Sentence structure is terrible as well.

I guess I can try to figure it out some other way.
B
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Thu Mar 28, 2013 10:46 pm

Can you just store that info in global variables?
B
25
S
5
G
3
Posts: 446
Reputation: 5,633

Post » Fri Mar 29, 2013 4:03 am

I have no idea how to do this. I have been working on this for most of the day. I really hate this.
B
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Fri Mar 29, 2013 4:18 am

lol picky picky

u no like my video :P
B
22
S
5
G
3
Posts: 194
Reputation: 5,855

Post » Fri Mar 29, 2013 8:56 am

Global variables can be modified using events. There is are special commands if you want to delve into that sh*t.
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,362

Post » Fri Mar 29, 2013 12:59 pm

I didn't watch this whole video to see if it answers your question, but I thought I'd throw it out just in case it helps.
http://www.youtube.com/watch?v=JJWWw9UMIs0
B
20
S
2
Posts: 257
Reputation: 2,431

Post » Fri Mar 29, 2013 1:44 pm

Yea, I watched that video a few times. The guy just races through everything.

I would prefer to learn the concept instead of just copy/paste and hope it all works.
B
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Fri Mar 29, 2013 2:16 pm

Tekniko, the videos linked to by Auntie Val are done by ConstructDude he has a ton of videos which are all excellent. He does go fast, but you can pause and take your time, in the end copy paste his code then spend some time looking it over in your build, get a grip of what it does and why, that is the best way to learn.

Brett
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Next

Return to How do I....?

Who is online

Users browsing this forum: amarcelo, Magistross, totoe and 23 guests