Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
moxie-coder committed Jan 2, 2025
1 parent 990bbc5 commit fbe4490
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/Paths.hx
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ class Paths
}
#end
final path:String = ('assets/${(library != null) ? '$library/' : ''}videos/$key.$VIDEO_EXT');
trace('Video Path before being passed to hxCodec: $path');
// trace('Video Path before being passed to hxCodec: $path');
return path;
}
//Sound loading.
Expand Down
4 changes: 3 additions & 1 deletion source/StartupState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class StartupState extends MusicBeatState
}

function doIntro() {
/*
#if debug // for testing purposes
final vidSprite = new MP4Handler(); // it plays but it doesn't show???
#if (hxCodec < "3.0.0")
Expand All @@ -89,6 +90,7 @@ class StartupState extends MusicBeatState
});
#end
#else
*/
final theIntro:Int = FlxG.random.int(0, maxIntros);
switch (theIntro) {
case 0:
Expand Down Expand Up @@ -169,7 +171,7 @@ class StartupState extends MusicBeatState
FlxTween.tween(logo, {alpha: 1, "scale.x": 1, "scale.y": 1}, 2, {ease: FlxEase.expoOut, onComplete: _ -> onIntroDone(1.5)});
} else doIntro();
}
#end
// #end
}

override function update(elapsed:Float)
Expand Down

0 comments on commit fbe4490

Please sign in to comment.