Maxima is a framework designed for the implementation of Stage3D video games. When navigating from one element to another (e.g. game screens), the framework executes the output method onExit()
in the current element. The destination element has the input method OnEntry()
invoked.
Architecture items are instantiated and deleted automatically by the framework when called by the navigation system. The GameContext
class defines the lower layer of the game, acting as a hub for all other tools and components such as the rendering engine.
Sample
package artcustomer.com.citrusmaxima.api { import artcustomer.maxima.context.*; import artcustomer.maxima.events.*; public class MyGame extends Context { public function MyGame() { super(); } override public function setup():void { super.setup(); this.scoreEngine.setManager(GameScoreManager); this.gameEngine.setGlobalLoader(GameAssetsLoader, 'gameAssetsLoader'); this.gameEngine.setView(SplashScreenView, 'splashScreenView'); this.gameEngine.setGame(GameDisplay, 'gameDisplay'); this.start(); } override public function destroy():void { super.destroy(); } } }
RT @as3gamegears: New: Maxima (framework designed for the implementation of #Stage3D) http://t.co/qhpTG3nB4v #as3 #flash #gamedev