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:

This will make you a better decision maker | Annie Duke (author of “Thinking in Bets” and “Quit”, former pro poker…

Annie is a former professional poker player, decision-making expert, author, and special partner at First Round Capital.  ͏     ­͏     ­͏   ...

Contact Form

Name

Email *

Message *