For this, you need to add a method that will update the list and then show the layer.
ShowScore
into the game
class.Method ShowScore:Int()
LoadHighScore
method.LoadHighScore()
1
to the count of score list entries.For Local y:Int = 1 To eng.scoreList.Count()
txtHighScore[y-1].SetText(eng.scoreList.GetValue(y)) Next
gmScore
and activate layers with it using our ActiveLayer
method. After this, close the method.gameMode = gmScore ActivateLayer(gameMode) Return 0 End
Within the method that you just added, you loaded the high-score list from the game state, filled the value of the list entries into the corresponding text area object, and activated the actual score layer. Later, when you show the high-score list, it will look like the following:
18.225.10.116