Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
6.3 Tell Fantom Engine to render objects
' main.monkey OnRender function
Method OnRender()
engine.Clear(255, 0, 0)
engine.SetColor(0, 70, 70)
engine.GetCanvas().DrawText("Last Touch: " + engine.GetTouchX() + ", " + engine.GetTouchY(),
engine.GetLocalX(10), engine.GetLocalY(10))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment