Too late now, but...
#TouhouDanmakufu
#Title[XD]
#Text[Description]
#BackGround[User()]
#Player[FREE]
#ScriptVersion[2]
script_enemy_main {
let BossImage = "script\img\ExRumia.png";
let frame = -60;
let a = 0;
let num = 20;
@Initialize {
SetLife(10000);
SetEnemyMarker(true);
LoadGraphic(BossImage);
SetTexture(BossImage);
SetGraphicRect(0, 0, 64, 64);
SetMovePosition02(GetCenterX, GetClipMinY+100, 60);
CutIn(KOUMA,"Danmaku Sign「Made in Danmakufu」", "", 0, 0, 0, 0);
SetScore(1000000); SetDurableSpellCard;
}
@MainLoop {
SetCollisionA(GetX, GetY, 32); //32 for boss, 10 for fairy
SetCollisionB(GetX, GetY, 24);//24 for boss, 5 for fairy
if(frame == 60) {
ascent(i in 0..10) {
ascent( j in 0..90) {
CreateShot01(GetCenterX, GetCenterY-100+(i*5)*sin(j*4), 0, 0, GREEN02, 30);
}
}
ascent( i in 0..25) {
ascent( j in 0..90) {
CreateShot01(GetCenterX-50+(i*5-20)*cos(j*4), GetCenterY+(i*5)*sin(j*4), 0, 0, ORANGE02, 30);
CreateShot01(GetCenterX+50+(i*5-20)*cos(j*4), GetCenterY+(i*5)*sin(j*4), 0, 0, ORANGE02, 30);
}
}
ascent( i in 0..20) {
ascent( j in 0..10) {
CreateShot01(GetCenterX-50+j*cos(i*9), GetCenterY-50+j*sin(i*9), 0, 0, YELLOW02, 30);
CreateShot01(GetCenterX+50+j*cos(i*9), GetCenterY-50+j*sin(i*9), 0, 0, YELLOW02, 30);
}
}
ascent(i in 0..179) {
CreateShot01(GetCenterX+30+25*cos(i), GetCenterY+50+10*sin(i), 0, 0, YELLOW02, 30);
CreateShot01(GetCenterX-30+25*cos(i), GetCenterY+50+10*sin(i), 0, 0, YELLOW02, 30);
}
}
frame++;
}
@DrawLoop {
SetTexture(BossImage);
DrawGraphic(GetX, GetY);
}
@Finalize {
DeleteGraphic(BossImage);
}
}