Skip to main content

NoteSplash

Kindclass
Packageobjects
Full nameobjects.NoteSplash
Sourcesource/objects/NoteSplash.hx
ExtendsFlxSprite

Public fields​

NameTypeStaticDefaultNotes
rgbShaderPixelSplashShaderRefno——
defaultNoteSplashStringyes'noteSplashes/noteSplashes'property (default, never)

Public methods​

new (constructor)​

function new(x:Float = 0, y:Float = 0, note:Int = 0)
ParameterTypeDefault
x (optional)Float0
y (optional)Float0
note (optional)Int0

View source

setupNoteSplash​

function setupNoteSplash(x:Float, y:Float, direction:Int = 0, note:Note = null)
ParameterTypeDefault
xFloat—
yFloat—
direction (optional)Int0
note (optional)Notenull

View source

getSplashSkinPostfix​

static function getSplashSkinPostfix()

View source

kill​

override function kill():Void

Returns the splash to PlayState.grpNoteSplashes and counts the return so the pool hit rate stays measurable. (#88)

View source

Internals​

Private / internal members
FieldTypeStatic
idleAnimStringno
textureLoadedStringno
textureStringno
maxAnimsIntno
configNoteSplashConfigno
aliveTimeFloatyes
buggedKillTimeFloatyes
Method
function loadAnims(skin:String)
override function update(elapsed:Float)