How do I make score and medal system

Get help using Construct 2

Post » Fri Mar 07, 2014 9:29 am

I just wanna ask about how to display a certain medal for a certain score you get, just like the Flappy Bird.
Let say I want to display bronze medal if I get a score in between 0-100, silver medal in 101-200, gold medal in 201-300
B
5
Posts: 35
Reputation: 331

Post » Fri Mar 07, 2014 9:37 am

It's just some conditions and action.
If you medal is already displayed and contains 3 frames (0-gold,1-silver,2-bronze).

Juste add conditions for the score :

score =< 100 : set medal frame to 2
score > 100 =< 200 ; set medal frame to 1
score > 200 : set medal frame to 0
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Fri Mar 07, 2014 4:07 pm

@Joskin
I'm not so sure how to add condition with Score value is in between 2 numbers, like 100<Score<200. I'm not sure whether I did correctly or not, what I did was I put Score =<100 bronze, that's ok, but the Score bigger than 100 but less than 200, i put it 100<Score<200 for silver, in Compare Variable there, 200<Score<300 for gold, and it came out everytime is gold medal.

Now I tried with Score=<100 bronze, Score>100 silver, Score>200 gold, and it works!
B
5
Posts: 35
Reputation: 331


Return to How do I....?

Who is online

Users browsing this forum: Kyatric and 53 guests