gamemaker fire projectile


obj_source
global left release

projectile=instance_create(x,y,obj_projectile);//create projectile
projectile.direction=point_direction(x,y,mouse_x,mouse_y);//set direction to mouse
projectile.speed=4;//set the speed

No comments:

The Win Machine

The Road to Hell is Paved with Intervention ͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏    ...

Contact Form

Name

Email *

Message *