• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Orbit Position

F

frozenwisp

Guest
so I need a way to make a object orbit around the player based of the direction of the xbox analog stick I did it with the draw event like this
dir is based of the player object which is attacted to the code for a 360 degree analog stick/ the reticle length is the distance for the player.
draw_circle(x+lengthdir_x(reticle_length,obj_player_parent.dir),y+lengthdir_y(reticle_length,obj_player_parent.dir),8,false);
but I need it to be a object any one got a idea on how to do this:
 
F

frozenwisp

Guest
thank so much the =equal sign was all i needed lol i thing it was really just a brain fart moment for me thanks again
 
Top