「小人の道」
[youtube][/youtube]
弾幕関数
► スポイラーを表示
void boss_shot_bulletE350(){
int i;
if(boss_shot.cnt==0){
boss_shot.base_angle[0]=PI/2+rang(PI/12);
}
if(boss_shot.cnt%10==0){
boss_bullet_on(125,10,0,1,boss.x,boss.y,1,boss_shot.base_angle[0]+PI,PI2/128,1,0,0,0,1);
boss_bullet_on(1,35,3,1,boss.x,boss.y,1,boss_shot.base_angle[0],0,1,1,0,0,1);
boss_shot.base_angle[0]+=GetRand(1)==1?PI2/256:-PI2/256;
if(boss_shot.base_angle[0]PI/2+PI/12) boss_shot.base_angle[0]-=PI2/128;
}
for(i=0;i180 && boss_shot.bullet[i].cnt=270 && boss_shot.bullet[i].cnt=100 && boss_shot.bullet[i].cnt=100 && boss_shot.bullet[i].cnt<100+WAY2){
boss_bullet_on(1,7,0,1,boss_shot.bullet[i].x,boss_shot.bullet[i].y,1,
boss_shot.bullet[i].angle-PI/WAY2*(boss_shot.bullet[i].cnt-100),0,BASE_SPEED+D_SPEED*(boss_shot.bullet[i].cnt-100),0,0,0,0);
}
if(boss_shot.bullet[i].cnt==100+WAY2){
boss_shot.bullet[i].flag=0;
}
break;
}
}
}
}