0 votes

Good day,

I wanted to ask, based on a progress bar i made...how can i make a 3 star system to grade player upon finishing level? Any ideas? Thanks

in Engine by (73 points)

1 Answer

+1 vote
if value >= star3value:
 got 3
elif value >= star2value:
 got 2
elif value >= star1value:
 got 1
else:
 probably lost...

Basically just that, then you need to define what is 1, 2 and 3, if that is set/register for each level or global and other details, design stuff.

by (7,830 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.