Skip to main content

FunkinGame

Kindclass
Packagebackend
Full namebackend.FunkinGame
Sourcesource/backend/FunkinGame.hx
ExtendsFlxGame

Public methods​

new (constructor)​

function new(gameWidth:Int, gameHeight:Int, entryState:Class<FlxState>, updateFramerate:Int = 60, drawFramerate:Int = 60, skipSplash:Bool = false, startFullscreen:Bool = false)

Only compiled when #if desktop.

Keep this constructor on AIR so FlxGame still receives startFullscreen; AIR's window/input APIs differ, so only native desktops get the hotkeys.

ParameterTypeDefault
gameWidthInt—
gameHeightInt—
entryStateClass<FlxState>—
updateFramerate (optional)Int60
drawFramerate (optional)Int60
skipSplash (optional)Boolfalse
startFullscreen (optional)Boolfalse

View source

Internals​

Private / internal members
FieldTypeStatic
fullscreenListenerKeyboardEvent->Voidno