ok i have a few questions, while i was messing with angle+= i came across something ive ever seen before
#TouhouDanmakufu
#Title[Freaky Bullets]
#Text[]
#Player[FREE]
#ScriptVersion[2]
script_enemy_main {
let frame = 0;
let angle = 0;
#include_function "lib\SHOT_REPLACE\shot_replace.dnh"
@Initialize {
SetMovePosition02(GetCenterX, GetCenterY-120, 120);
SetLife(900);
SetDamageRate(100, 50);
SetTimer(600);
SetScore(50000);
SetEnemyMarker(false);
Concentration01(60);
Concentration02(60);
MagicCircle(false);
shotinit;
}
@MainLoop {
SetCollisionA(GetX, GetY, 32);
SetCollisionB(GetX, GetY, 24);
frame++;
if(frame%1==0){
angle+=17493;
CreateShot01(GetX,GetY,2,angle+10,AQUA56,0);
CreateShot01(GetX,GetY,2,angle+20,RED56,0);
CreateShot01(GetX,GetY,2,angle+30,BLUE56,0);
CreateShot01(GetX,GetY,2,angle+40,PURPLE56,0);
CreateShot01(GetX,GetY,2,angle+50,ORANGE56,0);
CreateShot01(GetX,GetY,2,angle+60,WHITE56,0);
CreateShot01(GetX,GetY,2,angle,YELLOW56,0);
CreateShot01(GetX,GetY,2,angle+70,GREEN56,0);
}
}
@DrawLoop{
}
@Finalize
{
}
}
Causes HUGE bullets to fill the screen, why is this?
and also, angle+= only makes the bullets go clockwise, it there a way to make them go counterclockwise? i tried putting the number at the end of angle+= negative butno such results, any ideas?