pico charted

This commit is contained in:
Cameron Taylor
2020-12-09 13:53:46 -05:00
parent 0b087540c1
commit e7f2f9176d
8 changed files with 12 additions and 4 deletions
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+10 -3
View File
@@ -514,12 +514,19 @@ class ChartingState extends MusicBeatState
if (FlxG.keys.justPressed.DOWN)
Conductor.changeBPM(Conductor.bpm - 1); */
var shiftThing:Int = 1;
if (FlxG.keys.pressed.SHIFT)
shiftThing = 4;
if (FlxG.keys.justPressed.RIGHT)
changeSection(curSection + 1);
changeSection(curSection + shiftThing);
if (FlxG.keys.justPressed.LEFT)
changeSection(curSection - 1);
changeSection(curSection - shiftThing);
bpmTxt.text = "BPM: " + Conductor.bpm + "\nSection: " + curSection;
bpmTxt.text = bpmTxt.text = Std.string(FlxMath.roundDecimal(Conductor.songPosition / 1000, 2))
+ " / "
+ Std.string(FlxMath.roundDecimal(FlxG.sound.music.length / 1000, 2))
+ "\nSection: "
+ curSection;
super.update(elapsed);
}