1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-27 09:13:18 +00:00

pico charted

This commit is contained in:
Cameron Taylor 2020-12-09 13:53:46 -05:00
parent a11acc6688
commit 749470724f

View file

@ -514,12 +514,19 @@ class ChartingState extends MusicBeatState
if (FlxG.keys.justPressed.DOWN) if (FlxG.keys.justPressed.DOWN)
Conductor.changeBPM(Conductor.bpm - 1); */ Conductor.changeBPM(Conductor.bpm - 1); */
var shiftThing:Int = 1;
if (FlxG.keys.pressed.SHIFT)
shiftThing = 4;
if (FlxG.keys.justPressed.RIGHT) if (FlxG.keys.justPressed.RIGHT)
changeSection(curSection + 1); changeSection(curSection + shiftThing);
if (FlxG.keys.justPressed.LEFT) 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); super.update(elapsed);
} }