CHARTS LOL
This commit is contained in:
@ -253,6 +253,7 @@ class ChartingState extends MusicBeatState
|
||||
var check_mustHitSection:FlxUICheckBox;
|
||||
var check_changeBPM:FlxUICheckBox;
|
||||
var stepperSectionBPM:FlxUINumericStepper;
|
||||
var check_altAnim:FlxUICheckBox;
|
||||
|
||||
function addSectionUI():Void
|
||||
{
|
||||
@ -292,6 +293,9 @@ class ChartingState extends MusicBeatState
|
||||
check_mustHitSection.checked = true;
|
||||
// _song.needsVoices = check_mustHit.checked;
|
||||
|
||||
check_altAnim = new FlxUICheckBox(10, 400, null, null, "Alt Animation", 100);
|
||||
check_altAnim.name = 'check_altAnim';
|
||||
|
||||
check_changeBPM = new FlxUICheckBox(10, 60, null, null, 'Change BPM', 100);
|
||||
check_changeBPM.name = 'check_changeBPM';
|
||||
|
||||
@ -299,6 +303,7 @@ class ChartingState extends MusicBeatState
|
||||
tab_group_section.add(stepperSectionBPM);
|
||||
tab_group_section.add(stepperCopy);
|
||||
tab_group_section.add(check_mustHitSection);
|
||||
tab_group_section.add(check_altAnim);
|
||||
tab_group_section.add(check_changeBPM);
|
||||
tab_group_section.add(copyButton);
|
||||
tab_group_section.add(clearSectionButton);
|
||||
@ -384,6 +389,8 @@ class ChartingState extends MusicBeatState
|
||||
case 'Change BPM':
|
||||
_song.notes[curSection].changeBPM = check.checked;
|
||||
FlxG.log.add('changed bpm shit');
|
||||
case "Alt Animation":
|
||||
_song.notes[curSection].altAnim = check.checked;
|
||||
}
|
||||
}
|
||||
else if (id == FlxUINumericStepper.CHANGE_EVENT && (sender is FlxUINumericStepper))
|
||||
@ -746,6 +753,7 @@ class ChartingState extends MusicBeatState
|
||||
|
||||
stepperLength.value = sec.lengthInSteps;
|
||||
check_mustHitSection.checked = sec.mustHitSection;
|
||||
check_altAnim.checked = sec.altAnim;
|
||||
check_changeBPM.checked = sec.changeBPM;
|
||||
stepperSectionBPM.value = sec.bpm;
|
||||
}
|
||||
@ -824,7 +832,8 @@ class ChartingState extends MusicBeatState
|
||||
changeBPM: false,
|
||||
mustHitSection: true,
|
||||
sectionNotes: [],
|
||||
typeOfSection: 0
|
||||
typeOfSection: 0,
|
||||
altAnim: false
|
||||
};
|
||||
|
||||
_song.notes.push(sec);
|
||||
|
Reference in New Issue
Block a user