Rotate (90) as the first sentence of OnRender should do it?
Edit: See this:
Import mojo
Function Main()
New Game()
End
Class Game Extends App
'summary:The OnCreate Method is called when mojo has been initialized and the application has been successfully created.
Method OnCreate()
'Set how many times per second the game should update and render itself
SetUpdateRate(60)
End
'summary: This method is automatically called when the application's update timer ticks.
Method OnUpdate()
End
'summary: This method is automatically called when the application should render itself, such as when the application first starts, or following an OnUpdate call.
Method OnRender()
Translate(DeviceWidth(), 0)
Rotate(-90)
Cls()
SetColor(255, 255, 255)
DrawText("Hello world!", 50, 50)
End
'summary: This method is called instead of OnRender when the application should render itself, but there are still resources such as images or sounds in the process of being loaded.
Method OnLoading()
End
End
|