OnCreate method of a monkey app, you basically set up the game. For example, loading some graphics can be done here:
60frames per second.
Method OnCreate:Int() SetUpdateRate(60)
eng = New engine
We want to work with a virtual resolution and let the fantomEngine take care of the scaling of our graphics and touch events.
atlas = LoadImage("CR_Tiles.png")
font1object with our bitmap font.
font1 = eng.LoadFont("cr_font") Return 0 End