# Conflicts: # .gitignore # source/funkin/backend/FunkinSprite.hx # source/funkin/backend/chart/ChartData.hx # source/funkin/backend/chart/EventsData.hx # source/funkin/backend/system/Conductor.hx # source/funkin/backend/utils/CoolUtil.hx # source/funkin/editors/charter/Charter.hx # source/funkin/editors/charter/CharterEvent.hx # source/funkin/editors/charter/CharterEventScreen.hx # source/funkin/editors/charter/CharterMetaDataScreen.hx # source/funkin/editors/charter/SongCreationScreen.hx # source/funkin/game/PlayState.hx
20 lines
643 B
Haxe
20 lines
643 B
Haxe
package funkin.backend.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: ${Math.floor(Conductor.songPosition * 1000) / 1000}';
|
|
_text += '\n - ${Conductor.curBeat} beats';
|
|
_text += '\n - ${Conductor.curStep} steps';
|
|
_text += '\n - ${Conductor.curMeasure} measures';
|
|
_text += '\nCurrent BPM: ${Conductor.bpm}';
|
|
_text += '\nTime Signature: ${Conductor.beatsPerMeasure}/${Conductor.denominator}';
|
|
|
|
this.text.text = _text;
|
|
super.__enterFrame(t);
|
|
}
|
|
} |