How do I make my stars ranking works?

Get help using Construct 2

Post » Tue Feb 02, 2016 12:04 am

Hello everyone, I'm looking to make a Rank coding score, for it has the rating 0 3 star properties, it happens that when a new pole is set to replace the score does not respect that if a lower score and did not record a score better example, already has three star ranking and the new score is a star, should remain a 3 star score and the lowest score should be discarded.
I am unable to do this, see below image of my code:

Image
B
29
S
9
G
3
Posts: 280
Reputation: 4,187

Post » Tue Feb 02, 2016 7:16 pm

the issue is you are not checking existing score your just saying write new score instead if var score is greater then do nothing.
B
29
S
13
G
10
Posts: 355
Reputation: 8,317

Post » Tue Feb 02, 2016 7:32 pm

i think you should first check to see if the score is equal to or greater than zero, do action; before event 426
Image
B
35
S
11
G
2
Posts: 312
Reputation: 3,714


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests