strumline shit
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,25 +0,0 @@
|
||||
import openfl.utils.Assets;
|
||||
|
||||
function onPostGenerateStrums() {
|
||||
strumLine = new StrumLine([gf], -1, true, controls);
|
||||
players.push(strumLine);
|
||||
strumLine.generateStrums();
|
||||
}
|
||||
|
||||
function onNoteCreation(event)
|
||||
if (event.noteType != null || event.note.noteTypeID > 0)
|
||||
event.note.strumLineID = 2;
|
||||
|
||||
var strumLine:StrumLine;
|
||||
|
||||
function postCreate() {
|
||||
generateNotes(CoolUtil.parseJson(Paths.chart('stress', 'picospeaker')).song);
|
||||
}
|
||||
|
||||
function onStrumCreation(event) {
|
||||
if (event.player == 3) {
|
||||
event.cancelAnimation();
|
||||
event.strum.alpha = 0;
|
||||
event.strum.visible = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user