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, after that FlxG and FlxState have all the useful stuff you actually need.
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. 2 = all pixels are now drawn at 2x).
How frequently the game should update (default is 60 times per second).
Sets the actual display / draw framerate for the game (default is 60 times per second).
Whether you want to skip the flixel splash screen with
Whether to start the game in fullscreen mode (desktop targets only).