mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-26 23:16:46 +00:00
got prototyping shit workin to an extent
This commit is contained in:
parent
fc5e73a87a
commit
7cf19cd186
|
@ -243,7 +243,7 @@ class PlayState extends MusicBeatState
|
||||||
notes = new FlxTypedGroup<Note>();
|
notes = new FlxTypedGroup<Note>();
|
||||||
add(notes);
|
add(notes);
|
||||||
|
|
||||||
var noteData:Array<Dynamic> = [];
|
var noteData:Array<Section> = [];
|
||||||
|
|
||||||
// NEW SHIT
|
// NEW SHIT
|
||||||
noteData = songData.notes;
|
noteData = songData.notes;
|
||||||
|
@ -261,8 +261,9 @@ class PlayState extends MusicBeatState
|
||||||
var totalLength:Int = 0; // Total length of the song, in beats;
|
var totalLength:Int = 0; // Total length of the song, in beats;
|
||||||
for (section in noteData)
|
for (section in noteData)
|
||||||
{
|
{
|
||||||
var dumbassSection:Array<Dynamic> = section;
|
var dumbassSection:Array<Dynamic> = section.notes;
|
||||||
var coolSection:Int = Std.int(section.length / 4);
|
|
||||||
|
var coolSection:Int = Std.int(section.lengthInSteps / 4);
|
||||||
|
|
||||||
if (coolSection <= 4) // FIX SINCE MOST THE SHIT I MADE WERE ONLY 3 HTINGS LONG LOl
|
if (coolSection <= 4) // FIX SINCE MOST THE SHIT I MADE WERE ONLY 3 HTINGS LONG LOl
|
||||||
coolSection = 4;
|
coolSection = 4;
|
||||||
|
|
Loading…
Reference in a new issue