



![]()
弾幕名:恋の迷路
作製難易度:★★★★ (4/10)
実行結果
---- boss_shotH.cpp に以下を追加 ----
void boss_shot_bulletH003(){
#define TM003 600
#define DF003 20
int i,j,k,t=boss_shot.cnt%TM003,t2=boss_shot.cnt;
static int tcnt,cnt,cnum;
double angle;
if(t2==0){
//40<x<FMX-40 50<y<150 の範囲で100離れた位置に80カウントで移動する
input_phy_pos(FMX/2,FMY/2, 50);
cnum=0;
}
if(t==0){
boss_shot.base_angle[0]=bossatan2();
cnt=0;
tcnt=2;
}
if(t<540 && t%3){
angle=bossatan2();
if(tcnt-2==cnt || tcnt-1==cnt){
if(tcnt-1==cnt){
boss_shot.base_angle[1]=boss_shot.base_angle[0]+PI2/DF003*cnt*(cnum?-1:1)-PI2/(DF003*6)*3;
tcnt+=DF003-2;
}
}
else{
for(i=0;i<6;i++){
if((k=search_boss_shot())!=-1){
boss_shot.bullet[k].col = cnum?1:4;
boss_shot.bullet[k].x = boss.x;
boss_shot.bullet[k].y = boss.y;
boss_shot.bullet[k].knd = 8;
boss_shot.bullet[k].angle
= boss_shot.base_angle[0]+PI2/DF003*cnt*(cnum?-1:1)+PI2/(DF003*6)*i*(cnum?-1:1);
boss_shot.bullet[k].flag = 1;
boss_shot.bullet[k].cnt = 0;
boss_shot.bullet[k].spd = 2;
se_flag[0]=1;
}
}
}
cnt++;
}
if(40<t&&t<540 && t%30==0){
for(j=0;j<3;j++){
angle=boss_shot.base_angle[1]-PI2/36*4;
for(i=0;i<27;i++){
if((k=search_boss_shot())!=-1){
boss_shot.bullet[k].col = cnum?6:0;
boss_shot.bullet[k].x = boss.x;
boss_shot.bullet[k].y = boss.y;
boss_shot.bullet[k].knd = 7;
boss_shot.bullet[k].angle = angle;
boss_shot.bullet[k].flag = 1;
boss_shot.bullet[k].cnt = 0;
boss_shot.bullet[k].spd = 4-1.6/3*j;
se_flag[0]=1;
}
angle-=PI2/36;
}
}
}
// for(i=0;i<BOSS_BULLET_MAX;i++){
// if(boss_shot.bullet[i].flag>0){
//
// }
// }
if(t==TM003-1)
cnum++;
}
変更されているfunc.hも確認しておいて下さい。
- Remical Soft -