mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-14 16:47:46 +00:00
more controls for charting
This commit is contained in:
parent
7e1ccefeb5
commit
38bb4848a5
|
@ -214,7 +214,24 @@ class ChartingState extends MusicBeatState
|
||||||
|
|
||||||
if (FlxG.keys.justPressed.R)
|
if (FlxG.keys.justPressed.R)
|
||||||
{
|
{
|
||||||
changeSection();
|
if (FlxG.keys.pressed.SHIFT)
|
||||||
|
changeSection();
|
||||||
|
else
|
||||||
|
changeSection(curSection);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (FlxG.keys.pressed.W || FlxG.keys.pressed.S)
|
||||||
|
{
|
||||||
|
FlxG.sound.music.pause();
|
||||||
|
|
||||||
|
var daTime:Float = 700 * FlxG.elapsed;
|
||||||
|
|
||||||
|
if (FlxG.keys.pressed.W)
|
||||||
|
{
|
||||||
|
FlxG.sound.music.time -= daTime;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
FlxG.sound.music.time += daTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FlxG.keys.justPressed.UP)
|
if (FlxG.keys.justPressed.UP)
|
||||||
|
|
Loading…
Reference in a new issue