diff --git a/source/Alphabet.hx b/source/Alphabet.hx index b5cfff57c..aa20a8e75 100644 --- a/source/Alphabet.hx +++ b/source/Alphabet.hx @@ -6,8 +6,17 @@ import flixel.group.FlxSpriteGroup; using StringTools; +/** + * Loosley based on FlxTypeText lolol + */ class Alphabet extends FlxSpriteGroup { + public var delay:Float = 0.05; + public var paused:Bool = false; + + var _finalText:String = ""; + var _curText:String = ""; + // custom shit // amp, backslash, question mark, apostrophy, comma, angry faic, period var lastSprite:AlphaCharacter; @@ -16,6 +25,8 @@ class Alphabet extends FlxSpriteGroup { super(x, y); + _finalText = text; + var arrayShit:Array = text.split(""); trace(arrayShit); @@ -46,6 +57,11 @@ class Alphabet extends FlxSpriteGroup loopNum += 1; } } + + override function update(elapsed:Float) + { + super.update(elapsed); + } } class AlphaCharacter extends FlxSprite