Static variables

staticSONG:SwagSong

SONG METADATA

@:value(0)staticcampaignScore:Int = 0

@:value(6)staticdaPixelZoom:Float = 6

@:value(false)staticfromMods:Bool = false

@:value(null)staticinstance:PlayState = null

@:value(false)staticisStoryMode:Bool = false

@:value(1)staticstoryDifficulty:Int = 1

@:value([])staticstoryPlaylist:Array<String> = []

@:value(0)staticstoryWeek:Int = 0

Constructor

new(?TransIn:TransitionData, ?TransOut:TransitionData)

Variables

accuracyTxt:FlxText

camFollow:FlxObject

camGame:FlxCamera

@:value(false)camZooming:Bool = false

@:value(4)camZoomingInterval:Int = 4

@:value(true)canPause:Bool = true

@:value(0)combo:Int = 0

@:value(false)comboBreaks:Bool = false

cpuStrums:FlxTypedGroup<Strum>

@:value(0)curLight:Int = 0

@:value(0)curSection:Int = 0

@:value("")curSong:String = ""

@:value("")curStage:String = ""

@:value(0)debugNum:Int = 0

@:value(1.05)defaultCamZoom:Float = 1.05

@:value("")detailsPausedText:String = ""

@:value("")detailsText:String = ""

@:value(false)endingSong:Bool = false

@:value(false)generatedMusic:Bool = false

@:value(1)gfSpeed:Int = 1

@:value(false)halloweenLevel:Bool = false

@:value(1)health:Float = 1

healthBar:FlxBar

healthBarBG:FlxSprite

@:value("")iconRPC:String = ""

@:value(false)inCutscene:Bool = false

@:value(5)introLength:Int = 5

@:value(0)misses:Int = 0

missesTxt:FlxText

@:value(true)muteVocalsOnMiss:Bool = true

@:value([null])noteTypesArray:Array<String> = [null]

@:value(false)paused:Bool = false

@:value(false)perfectMode:Bool = false

playerStrums:FlxTypedGroup<Strum>

@:value(0)previousFrameTime:Int = 0

scoreTxt:FlxText

@:value(0)scrollSpeed:Float = 0

@:value(0)songLength:Float = 0

@:value(0)songScore:Int = 0

@:value(0)songTime:Float = 0

startTimer:FlxTimer

@:value(false)startedCountdown:Bool = false

@:value(false)startingSong:Bool = false

@:value("")storyDifficultyText:String = ""

strumLine:FlxSprite

strumLineNotes:FlxTypedGroup<Strum>

vocals:FlxSound

Methods

addNoteType(name:String):Int

deleteNote(note:Note):Void

getNoteType(id:Int):String

pauseGame():Void

Inherited Variables

Defined by MusicBeatState

read onlycontrols:Controls

Game Controls.

@:value(0)curBeat:Int = 0

Current beat

@:value(0)curBeatFloat:Float = 0

Current beat, as a Float (ex: 1.24, instead of 1)

@:value(0)curStep:Int = 0

Current step

@:value(0)curStepFloat:Float = 0

Current step, as a Float (ex: 4.94, instead of 4)

Inherited Methods

Defined by MusicBeatState

@:value({ fpsSensitive : false })lerp(v1:Float, v2:Float, ratio:Float, fpsSensitive:Bool = false):Float

Shortcut to FlxMath.lerp or CoolUtil.lerp, depending on fpsSensitive

Parameters:

v1

Value 1

v2

Value 2

ratio

Ratio

fpsSensitive

Whenever the ratio should not be adjusted to run at the same speed independant of framerate.