TitleState
| Kind | class |
| Package | states |
| Full name | states.TitleState |
| Source | source/states/TitleState.hx |
| Extends | MusicBeatState |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
muteKeys | Array<FlxKey> | yes | [FlxKey.ZERO] | — |
volumeDownKeys | Array<FlxKey> | yes | [FlxKey.NUMPADMINUS, FlxKey.MINUS] | — |
volumeUpKeys | Array<FlxKey> | yes | [FlxKey.NUMPADPLUS, FlxKey.PLUS] | — |
initialized | Bool | yes | false | — |
inCutscene | Bool | no | false | — |
titleJSON | TitleData | yes | — | — |
updateVersion | String | yes | '' | — |
closedState | Bool | yes | false | — |
Public methods
onResize
override function onResize(width:Int, height:Int):Void
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
create
override function create():Void
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
canPause | Bool | no |
blackScreen | FlxSprite | no |
background | FlxSprite | no |
hasBackgroundArt | Bool | no |
layoutWidth | Int | no |
credGroup | FlxGroup | no |
creditText | Alphabet | no |
textGroup | FlxGroup | no |
ngSpr | FlxSprite | no |
titleTextColors | Array<FlxColor> | no |
titleTextAlphas | Array<Float> | no |
curWacky | Array<String> | no |
mustUpdate | Bool | no |
logoBl | FlxSprite | no |
gfDance | FlxSprite | no |
danceLeft | Bool | no |
titleText | FlxSprite | no |
swagShader | ColorSwap | no |
deepLinkReady | Bool | no |
transitioning | Bool | no |
newTitle | Bool | no |
titleTimer | Float | no |
sickBeats | Int | no |
skippedIntro | Bool | no |
increaseVolume | Bool | no |
| Method |
|---|
function checkRecoveryState():Void |
function startIntro() |
function getIntroText():Array<Array<String>> |
override function update(elapsed:Float) |
function createCoolText(textArray:Array<String>, offset:Float = 0) |
function addMoreText(text:String, offset:Float = 0) |
function deleteCoolText() |
override function beatHit() |
function skipIntro():Void |