Version 1, last updated by ChadyG at April 25, 2010 15:23 UTC

As with any framework, the first thing you want to know is where to start.  Within MUGE, this process is aided through stub code.  Most of the engine code should suffice without modification, but each project is built as a single unit so you are free to modify to suit your needs per project.

 

Game Specific Classes

To start out a new project, you get two states, a scene manager and player object stub code.  MainMenuStategives you a place to lay out your menu control and view, while AdventureStatelets you do the same for the game-play.  The Scene class is a reloadable object within the AdventureState where you may place the level loading code, camera controls, scene manipulation etc.  This is separated from AdventureState to make using cut-scenes and menus easier and separate from your game-play logic.  The Player has methods to allow you a place to initialize data, update renderable objects, receive physics callbacks, and the update tick callback.