J
Jack Rankin
Guest
I am creating a top down RPG and one of the items which the user cna pick up is a bow, i am having a probelm so when my character faces up, down or left the arrow does not go the direction where the character is facing and just goes right. Any help would be great! The button to shoot the arrow (when the bow is picked up) is the left click on the mouse. The version of gamemaker is 8.1.
if the user presses the A key: direction = left
if the user presses the D key: direction = right
if the user presses the S key: direction = down
if the user presses the A key: direction = up
the projectile = obj_Arrow, obj_Arrowleft, obj_Arrowup, obj_Arrowdown
speed = 5;
if the user presses the A key: direction = left
if the user presses the D key: direction = right
if the user presses the S key: direction = down
if the user presses the A key: direction = up
the projectile = obj_Arrow, obj_Arrowleft, obj_Arrowup, obj_Arrowdown
speed = 5;