~Hakurei Shrine~ > Rika and Nitori's Garage Experiments

Some noobish questions

Pages: << < (3/6) > >>

Cyclone722:

building on the last thing, how would I make a ring of bullets appear in a random area?

Stuffman:

Same way you would for a regular shot ring, but before the while loop do x=rand and y=rand to set a random position for it, and use x and y in place of GetX and GetY.

CK Crash:

Example:

x = rand(minimumx,maximumy);
y = rand(minimumy,maximumy);
angle = rand(0,360);

loop(10)
   {
   CreateShot01(x,y,2,angle,RED01,10);
   angle += 36;
   }

Obviously you have to adjust the amount "angle" changes by if you change the number of bullets fired.

Cyclone722:

here's another one...
how can I make something like a 3 ring burst, a pause, another 3, pause...etc.?

Drake:

ring
wait(5)
ring
wait(5)
ring
wait(100)

Pages: << < (3/6) > >>

Go to full version