How to make a display system of 3 stars in menb level selection?
I made a system that puts the level number in the array. But then I cannot compare the actual level with the array cell. What am I doing wrong?
I have this logic.
If the player passes the level and the global variable (STL) = 0, then at the end of the layout I send the level number to the array, that is, if level 3 is playing and the variable STL = 0 then add the level to the array.
Next I wanted to compare the Level and the corresponding cell of the array and if they are equal then set the star.