Star Rating Bar
An animated bar to rate out of 5.
Authors and contributors to this experimental extension: Bouh.
An animated bar to rate out of 5, or more by editing and adding more stars in the object. The animation can be disabled. The star icon and background are customizable.
There are ready-to-use bars in the asset-store star rating bars pack.
Tip
Learn how to install new extensions by following a step-by-step guide.
Star Rating Bar
An animated score counter with an icon and a customisable font.
Object properties
- Default rate (🔢 Number, Dimensionless). Default value is
3. - Shake the stars on value changes (🔘 Boolean). Default value is
true. - Disable the rating (🔘 Boolean).
See internal technical details
- Default rate is stored as
Rate(Number). Unit is Dimensionless. Default value is3. - Shake the stars on value changes is stored as
ShakingOnHoverEnabled(Boolean). Default value istrue. - Disable the rating is stored as
Disabled(Boolean). Default value is ``.
Object actions
Disable the rating
Enable or disable the object.
See parameters & details
- Parameter 0: 👾 Object
- Parameter 1 (❓ Yes or No): Disable
Technical note: parameter 2 is an internal parameter handled by GDevelop.
Technical note: this action internal type (in GDevelop JSON) is
StarRatingBar::StarRatingBar::SetDisabled.
Rate
Change the rate of the object.
See parameters & details
- Parameter 0: 👾 Object
- Parameter 1: 🟰 Operator
- Parameter 2 (🔢 Number): Value
Technical note: parameter 3 is an internal parameter handled by GDevelop.
Technical note: this action internal type (in GDevelop JSON) is
StarRatingBar::StarRatingBar::SetRate.
Object conditions
Disable the rating
Check if the object is disabled.
See parameters & details
- Parameter 0: 👾 Object
Technical note: parameter 1 is an internal parameter handled by GDevelop.
Technical note: this condition internal type (in GDevelop JSON) is
StarRatingBar::StarRatingBar::Disabled.
Rate
Compare the rate of the object.
See parameters & details
- Parameter 0: 👾 Object
- Parameter 1: 🟰 Relational operator
- Parameter 2 (🔢 Number): Value to compare
Technical note: parameter 3 is an internal parameter handled by GDevelop.
Technical note: this condition internal type (in GDevelop JSON) is
StarRatingBar::StarRatingBar::Rate.
Object expressions
| Expression | Description | |
|---|---|---|
Object.Rate() |
Return the rate of the object. |
This page is an auto-generated reference page about the Star Rating Bar extension for GDevelop, the open-source, AI-powered, cross-platform game engine designed for everyone. Learn more about all GDevelop extensions here.