From 749470724f590be2ea242a1c7f95fc16bdd82ab9 Mon Sep 17 00:00:00 2001 From: Cameron Taylor <cameron.taylor.ninja@gmail.com> Date: Wed, 9 Dec 2020 13:53:46 -0500 Subject: [PATCH] pico charted --- source/ChartingState.hx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source/ChartingState.hx b/source/ChartingState.hx index 6b1be1346..92ff65f78 100644 --- a/source/ChartingState.hx +++ b/source/ChartingState.hx @@ -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); }