Bullets not spreading correctly

Megax60

Member
im making some test attacks, one of them is this:

alarm 0:
Code:
var bull;

for(bull = 200; bull != -300; bull -= 100){
    with instance_create(x,y,obj_bullet){
        direction = point_direction(x,y,obj_playerparent.x,obj_playerparent.y + bull);
    }
}
and the result was exactly what i want, if you are on ground, but on air is other story:

it looks like this, but the photoshoped box in the right its how its supposed to look, am i asking to much?
 

johnwo

Member
Shouldn't it be:
Code:
direction = point_direction(x,y,obj_playerparent.x,obj_playerparent.y) + bull;
?

And would it not be easier to just do the loop, making bullet direction = aim direction + bull?
 

Megax60

Member
Shouldn't it be:
Code:
direction = point_direction(x,y,obj_playerparent.x,obj_playerparent.y) + bull;
?

And would it not be easier to just do the loop, making bullet direction = aim direction + bull?
ty, also what do you mean
 
Top