hey, how to unlock level with stars? anyone have an example, please?
You will need to set a variable unlockedStars for your levels.
Then you compare with totalStars which you got.
If totalStars greater than or equal each unlockedStars, you will set that level to unlock mode.
Develop games in your browser. Powerful, performant & highly capable.
thank you very much