DeltAxShaRD
Member
Pardon my bad variable names
GML:
//Shoot
firingdelay = firingdelay - 1;
if (mouse_check_button(mb_left)) && (firingdelay < 0)
{
firingdelay = 5;
with (instance_create_layer(x+image_xscale*12,y-6,"bullets",oBlob))
{
speed = distance_to_point(mouse_x,mouse_y) / 10;
clamp(speed,6,10)
direction = other.pointgunthing;
}
}