From 8caaf2fcb1b3225b510d0b0af6061cf3c642854f Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Sun, 25 Oct 2020 14:38:48 -0700 Subject: [PATCH] website bullshit --- docs/index.html | 33 +++++++++++++++++++++++++++++++++ source/Alphabet.hx | 16 ++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 docs/index.html diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 000000000..13fe857fe --- /dev/null +++ b/docs/index.html @@ -0,0 +1,33 @@ + + + + + + + + + + Friday Night Funkin' + + + + + + + + +
+
+ + Friday Night Funkin + + +
+ + +
+ + \ No newline at end of file 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