OnCreate method in the
game class is the place where all static objects are defined.
OnCreatemethod of the
gameclass, add calls to the methods you have created previously.
font1 = eng.LoadFont("ts_font") tileMap = Create2DArray(columns,rows) LoadSounds() CreateLayers() CreateBackgroundScreen() CreateGameOverScreen() CreateMenuScreen() CreateScoreScreen() CreateTitleScreen()
gmTitle, and active the layers with this mode.
gameMode = gmTitle ActivateLayer(gameMode) Return 0 End
OnCreate method, you have added the calls to other methods that will set up all the static objects we need for the game, such ...