Shooting in Topdown
Hi
This is to do with the shooting in topdown games. It is best to use the mouse_movement 1 with this.
[code]
//argument0 = player
//argument1 = speed
direction=argument0.direction
image_angle=direction
speed=argument1
[/code]
This code needs to be put in create and you need to change argument 0 and 1 to the green bit in the Script editior in GameMaker
This is to do with the shooting in topdown games. It is best to use the mouse_movement 1 with this.
[code]
//argument0 = player
//argument1 = speed
direction=argument0.direction
image_angle=direction
speed=argument1
[/code]
This code needs to be put in create and you need to change argument 0 and 1 to the green bit in the Script editior in GameMaker
Labels: Novice

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home