作品1 基于紫的波粒构造(或者说我自己探究出了公式了)先放在这里吧,以后慢慢说~
幻觉【霓虹梦境】
#东方弾幕风#Title[幻觉【霓虹梦境】]#Text[幻觉【霓虹梦境】]#Player[FREE]#ScriptVersion[2]
script_enemy_main {let count = 0;let count1 = 0;let speed = 0;let name = "幻觉【霓虹梦境】";let angle = 0;let count2 =1; let count3 = 0;let count4 = 0;
CutIn(YOUMU, name, "", 0, 0, 0, 0);
@Initialize {SetX(GetCenterX);SetY(GetClipMinY + 120);SetLife(5000);
LoadGraphic("script/img/ExRumia.png");SetTexture("script/img/ExRumia.png");SetGraphicRect(0, 0, 63, 63);}
@MainLoop {SetCollisionA(GetX, GetY, 24);SetCollisionB(GetX, GetY, 0);let count3 = GetAngleToPlayer;speed = 1;count4 +=1 ;if(count2%1000>=500){speed = count2%1000/30;count2+=1}if(count2%1000>=200){count2+=2}angle = -10*count2%3600;count2+=2;
if(count4%2>=1){CreateShot01(GetX,GetY,speed,count+90+angle,RED01,0);CreateShot01(GetX,GetY,speed,count+45+angle,BLUE01,0);CreateShot01(GetX,GetY,speed,count-45+angle,WHITE01,0);CreateShot01(GetX,GetY,speed,count+135+angle,YELLOW01,0);CreateShot01(GetX,GetY,speed,count-135+angle,GREEN01,0);CreateShot01(GetX,GetY,speed,count+angle,ORANGE01,0);CreateShot01(GetX,GetY,speed,count-180+angle,BLUE01,0);CreateShot01(GetX,GetY,speed,count-90+angle,PURPLE01,0);count1+=7;count+=0.01*count1;}}
@DrawLoop {DrawGraphic(GetX, GetY);}
@Finalize {DeleteGraphic("scrip/timg/ExRumia.png");}}
幻觉【霓虹梦境】
#东方弾幕风#Title[幻觉【霓虹梦境】]#Text[幻觉【霓虹梦境】]#Player[FREE]#ScriptVersion[2]
script_enemy_main {let count = 0;let count1 = 0;let speed = 0;let name = "幻觉【霓虹梦境】";let angle = 0;let count2 =1; let count3 = 0;let count4 = 0;
CutIn(YOUMU, name, "", 0, 0, 0, 0);
@Initialize {SetX(GetCenterX);SetY(GetClipMinY + 120);SetLife(5000);
LoadGraphic("script/img/ExRumia.png");SetTexture("script/img/ExRumia.png");SetGraphicRect(0, 0, 63, 63);}
@MainLoop {SetCollisionA(GetX, GetY, 24);SetCollisionB(GetX, GetY, 0);let count3 = GetAngleToPlayer;speed = 1;count4 +=1 ;if(count2%1000>=500){speed = count2%1000/30;count2+=1}if(count2%1000>=200){count2+=2}angle = -10*count2%3600;count2+=2;
if(count4%2>=1){CreateShot01(GetX,GetY,speed,count+90+angle,RED01,0);CreateShot01(GetX,GetY,speed,count+45+angle,BLUE01,0);CreateShot01(GetX,GetY,speed,count-45+angle,WHITE01,0);CreateShot01(GetX,GetY,speed,count+135+angle,YELLOW01,0);CreateShot01(GetX,GetY,speed,count-135+angle,GREEN01,0);CreateShot01(GetX,GetY,speed,count+angle,ORANGE01,0);CreateShot01(GetX,GetY,speed,count-180+angle,BLUE01,0);CreateShot01(GetX,GetY,speed,count-90+angle,PURPLE01,0);count1+=7;count+=0.01*count1;}}
@DrawLoop {DrawGraphic(GetX, GetY);}
@Finalize {DeleteGraphic("scrip/timg/ExRumia.png");}}