~Beyond the Border~ > Daiyousei's Cold Storage

A video wherein Slaves uses Train Danmaku

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

Ruka:

Deceptive. The train hitbox is much smaller than it appears.

Naut:

omg train hitbox


--- Code: ---task train(x, y, a, v){

let obj = Obj_Create(OBJ_SHOT);
Obj_SetPosition(obj, x, y);
Obj_SetAngle(obj, a);
Obj_SetSpeed(obj, v);
ObjShot_SetGraphic(obj, TRAINWHATEVER);
Obj_SetCollisionToPlayer(obj, false);

while(!ObjBeDeleted(obj)){

   if(GetPlayerX < Obj_GetX(obj) + 150 && GetPlayerX > Obj_GetX(obj) - 150 && GetPlayerY < Obj_GetY(obj) + 80 && GetPlayerY > Obj_GetY(obj) - 80){
      ShootDownPlayer;
   }
   yield;
   }
}
--- End code ---

Launch trains everywhere with rectangular hitboxes. Adjust the values how you see fit, yo.

Also, lol trains. Needs Yukari somewhere.

Suikama:

Pretty much. Like I said before, the hitbox is circular in shape, so only the middle of the train can hurt you.

Still, one they act to block your vision, and two the last attack would pretty much be impossible if they were any bigger. It's not like they're so small to be negligible since I do get hit once.

Suikama:


--- Quote from: Naut on September 25, 2009, 04:34:51 PM ---omg train hitbox


--- Code: ---task train(x, y, a, v){

let obj = Obj_Create(OBJ_SHOT);
Obj_SetPosition(obj, x, y);
Obj_SetAngle(obj, a);
Obj_SetSpeed(obj, v);
ObjShot_SetGraphic(obj, TRAINWHATEVER);
Obj_SetCollisionToPlayer(obj, false);

while(!ObjBeDeleted(obj)){

   if(GetPlayerX < Obj_GetX(obj) + 150 && GetPlayerX > Obj_GetX(obj) - 150 && GetPlayerY < Obj_GetY(obj) + 80 && GetPlayerY > Obj_GetY(obj) - 80){
      ShootDownPlayer;
   }
   yield;
   }
}
--- End code ---

Launch trains everywhere with rectangular hitboxes. Adjust the values how you see fit, yo.

Also, lol trains. Needs Yukari somewhere.

--- End quote ---
Oh shit I forgot about object bullets

ilu Naut <3

Slaves:

DAMN

i'm at school so i can't watch this ;_;

but if i can give a bit of advice, considering that trains aren't going everywhere, how about adding some more bullets to make the card look prettier?

i was thinking something like the red bullets Koishi shoots during Ancestors Standing Beside Your bed(the ones after the lasers)

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

Go to full version