From decf1864de91eea94a204c5169effbad778b41a1 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Sun, 25 Oct 2020 14:38:48 -0700 Subject: [PATCH] website bullshit --- source/Alphabet.hx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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