Methods
preload()
preload() is a method that is called at the start which allows for loading images and assets that
are needed in the game before use.
- Source:
setupScore()
creates and initializes the score, highscore, scoretext, and highscoretext gameobjects
- Source: