We will now build the basic structure for every game. Follow the given steps:
Strictcommand, so that Monkey will keep us on track regarding giving identifiers the right type.
#rem Script: Pongo.Monkey Description: Sample script from chapter #2 of the book "Monkey Game Development Beginners guide" by PacktPub Author: Michael Hartlef #end
mojo, we have to import it.
pongoclass that extends from
mojo'sapp class. We will include empty
OnCreate, OnUpdate, and
OnRendermethods that ...