How do I show sprite when record is more than points

Get help using Construct 2

Post » Fri Oct 21, 2016 6:35 am

as I do the following, I need to reach 100 points out a star (star rating and is configured and displayed good) but when I return at or reset the layout that star remains, so to say with 100 points a star 200 items 2 stars and so on and when record is equal to or greater than those points those stars remain on the level even if they change or restart the level.

spanish

como hago lo siguiente, necesito que al llegar a 100 puntos salga una estrella ( estrella de puntuación ya esta configurada y se muestra bien) pero cuando regreso al nivel o reinicio el layout esa estrella se mantenga, por así decir que con 100 puntos una estrella, 200 puntos 2 estrellas y así sucesivamente y que cuando récord sea igual o mayor a esos puntos esas estrellas se mantengan en el nivel aunque cambien o se reinicie el nivel.
B
22
S
4
G
2
Posts: 55
Reputation: 2,220

Post » Sun Oct 23, 2016 12:37 am

You would just use a global variable for 'high score' and compare if high score is between 100 and 200, show 1 star, between 200 and 300, show 2 stars etc. Global variable 'high score' will always be there and can always be compared to show the correct rating.
B
46
S
16
G
78
Posts: 2,168
Reputation: 46,353


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 37 guests