Again,I bring IMAGES

Posted by s on Nov. 18, 2007, 10:19 a.m.

After playing things like BlueWish and the like, I'm always stuck with the thought of some crazy Asian yelling MORE BULLETS in my head if at any point I question my design

Well, what crazy Asians ask for, crazy Asians get

Don't worry, I was able to keep myself reserved and only unleash this in the utmost difficult ARCADE mode

Thanks go to Bryan for noting that arrays are faster than ds_grid if you don't use the ds_grid functions besides get and set. Now you get to face this challenge without the aid of lag^^

Also,cookies for naming the 8 instances in that pic

Comments

PY 17 years, 1 month ago

Holy crap.

I'm screwed, I can barely keep up with Kibosh as it is now.

And, err, crazy Asians? I'm sure that that's some sort of crazy gift from the gods, well done!

s 17 years, 1 month ago

Don't worry, easy mode looks like this

Besides, all those bullets are the same color. Just find an empty slot to switch polarity at and you're good

(Besides the fact that the evil things decides to always shoot at the opposite polarity of your own)

NoodleNog 17 years, 1 month ago

Please tell me they arn't all separate objects.

PY 17 years, 1 month ago

@serp; Oh, well, that's much better, I'll live!

@Bry, even though you're not here, damn you!

s 17 years, 1 month ago

@Nude=Of course not, silly, they're stored in an array with an ini code of

global.bid+=1
global.bid[global.bid,0]=argument0;global.bid[global.bid,1]=argument1;global.bid[global.bid,2]=argument2
global.bid[global.bid,3]=lengthdir_x(argument3,argument4)
global.bid[global.bid,4]=lengthdir_y(argument3,argument4)
switch global.bid[global.bid,2]{
case 1:global.bid[global.bid,5]=255;exit
case-1:global.bid[global.bid,5]=16711680;exit
case 0:global.bid[global.bid,5]=65280}
Clearing is done by taking the tail bullet and replacing the emptied slot. Tails are drawn before the bullets move, so no calculations are used in determining that point(tails are vital, they allow you to know the speed and direction of any bullet)

Collisions are a simple point check. The main issue would be the unsorted ways of their polarities, but organizing it could cause more lag than not

PY 17 years, 1 month ago

It strikes me, serp, that you could tell the speed and direction by looking at them.

FireflyX 17 years, 1 month ago

Weird i can't take my eyes off all the pretty lights :o

s 17 years, 1 month ago

Quote: Could you please delete to edit?PLEASE??
Your two nodes, your ship, the three enemies.

2 objects, one to handle each bullet type?
You were quite well in the counting. Though, the user draws the bullets

The 2 other objects are created on runtime to draw the dynamicBG and the miserable HUD

PY 17 years, 1 month ago

Oh, dang!

Didn't think about the BG, or huhd.

I don't trust the Wii browser to edit, it might delete my old post.

User drawing the bullets makes sense, it's the only thing that needs to know where they are, after all.