Files
CodenameEngine/assets/songs/test/scripts/modchart.hx
T
2023-04-22 23:26:54 +02:00

35 lines
732 B
Haxe

function create() {
importScript("data/scripts/pixel");
pixelNotesForBF = false;
enablePixelUI = true;
enableCameraHacks = false;
playCutscenes = true;
}
function postCreate() {
for(i in 0...6) {
var name = "tank" + Std.string(i);
stage.getSprite(name).visible = false;
}
}
function postUpdate(elapsed) {
for(s in strumLines) {
for(i in 0...4) {
var n = s.members[i];
n.angle = Math.sin(curBeatFloat + (i * 0.45)) * 35;
}
}
// for(s in strumLines) {
// for(i in 0...4) {
// var n = s.members[i];
// n.y = FlxG.height - 200;
// n.angle = 180;
// }
// }
// if (curSection != null)
// defaultCamZoom = curSection.mustHitSection ? 0.9 : 0.5;
}