Skip to content

Commit

Permalink
Text scroll hotfix
Browse files Browse the repository at this point in the history
Found out how to fix the text appearing out of order, i was just goin' too fast
  • Loading branch information
ThatRozebudDude committed Dec 26, 2022
1 parent 30bd99c commit f6e659c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/MainMenu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import flixel.FlxSprite;
class MainMenu extends UIStateExt
{

public static final VERSION = "2.0";
public static final VERSION = "2.1";

var menuButtons:Array<FlxSprite> = [];
final menuButtonStrings:Array<String> = ["play", "achievements", "settings", "credits"];
Expand Down
2 changes: 1 addition & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ class PlayState extends GameplaySongState
function sayDialogue(_anim:String, _text:String){
tutorialText.text = "";
for(i in 0..._text.length){
new FlxTimer().start(1/60 * i, function(t){
new FlxTimer().start(1/45 * i, function(t){
aria.animation.play(_anim);
tutorialText.text += _text.charAt(i);
if(i == _text.length-1){
Expand Down

0 comments on commit f6e659c

Please sign in to comment.