Files
CodenameEngine/source/funkin/system/framerate/ConductorInfo.hx
T
2023-03-25 22:53:47 +01:00

21 lines
612 B
Haxe

package funkin.system.framerate;
class ConductorInfo extends FramerateCategory {
public function new() {
super("Conductor Info");
}
public override function __enterFrame(t:Int) {
if (alpha <= 0.05) return;
_text = 'Current Song Position: ${Conductor.songPosition}';
_text += '\n - ${Conductor.curBeat} beats';
_text += '\n - ${Conductor.curStep} steps';
_text += '\n - ${Conductor.curMeasure} measures';
_text += '\nCurrent BPM: ${Conductor.bpm}';
_text += '\nTime Signature: ${Conductor.beatsPerMesure}/${Conductor.stepsPerBeat}';
this.text.text = _text;
super.__enterFrame(t);
}
}