Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Inside the OnCreate method of a monkey app, you basically set up the game. For example, loading some graphics can be done here:
60 frames per second.Method OnCreate:Int() SetUpdateRate(60)
engine class.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.
SetCanvasSize method.eng.SetCanvasSize(480,800)
atlas = LoadImage("CR_Tiles.png")
font1 object with our bitmap font.font1 = eng.LoadFont("cr_font")
Return 0
End