extends Sprite › DisplayObjectContainer › InteractiveObject › DisplayObject › EventDispatcher
FlxGame is the heart of all Flixel games, and contains a bunch of basic game loops and things.
It is a long and sloppy file that you shouldn't have to worry about too much!
It is basically only used to create your game object in the first place,
FlxState have all the useful stuff you actually need.
new(GameWidth:Int = 0, GameHeight:Int = 0, ?InitialState:Class<FlxState>, Zoom:Float = 1, UpdateFramerate:Int = 60, DrawFramerate:Int = 60, SkipSplash:Bool = false, StartFullscreen:Bool = false)
Instantiate a new game object.
The width of your game in game pixels, not necessarily final display pixels (see
The height of your game in game pixels, not necessarily final display pixels (see
The class name of the state you want to create and switch to first (e.g.
The default level of zoom for the game's cameras (e.g.
How frequently the game should update (default is
Sets the actual display / draw framerate for the game (default is
Whether you want to skip the flixel splash screen with
Whether to start the game in fullscreen mode (desktop targets only).