new chart system implementation progress

This commit is contained in:
Yoshman29
2023-02-20 14:06:47 +01:00
parent 8db770bc28
commit beda6f28c2
14 changed files with 451 additions and 1397 deletions
+4 -3
View File
@@ -1,5 +1,6 @@
package funkin.system;
import funkin.chart.Chart;
import flixel.math.FlxMath;
import openfl.Lib;
import flixel.FlxState;
@@ -121,10 +122,10 @@ class Conductor
changeBPM(0);
}
public static function setupSong(SONG:SwagSong) {
public static function setupSong(SONG:ChartData) {
reset();
mapBPMChanges(SONG);
changeBPM(SONG.bpm, cast SONG.beatsPerMesure.getDefault(4), cast SONG.stepsPerBeat.getDefault(4));
// mapBPMChanges(SONG); // TODO!!!
changeBPM(SONG.meta.bpm, cast SONG.meta.beatsPerMesure.getDefault(4), cast SONG.meta.stepsPerBeat.getDefault(4));
}
/**
* Maps BPM changes from a song.