Z
ZNewts
Guest
Hello everyone, I apologize for the basic question but I'm a little stuck. I am making a top down thingy and I have 9 images for the player sprite based off of the position of the mouse in relation to the player object.
The only help I've been able to find in my search has been an old reddit thread that's been archived for a while. It hasn't helped and it's the closest I've come so far to finding an answer. That specific thread, the OP was asking about 8 directions only, where as I have the player constrained to 9.
I can't get the sprite to stop animating through all 9 frames, I was hoping to use the step event to make them change following the mouse. Should I have a separate sprite per variation in direction?
switch(round(point_direction(x,y,mouse_x,mouse_y)/40))
I have no idea what I'm doing oh my god
The only help I've been able to find in my search has been an old reddit thread that's been archived for a while. It hasn't helped and it's the closest I've come so far to finding an answer. That specific thread, the OP was asking about 8 directions only, where as I have the player constrained to 9.
I can't get the sprite to stop animating through all 9 frames, I was hoping to use the step event to make them change following the mouse. Should I have a separate sprite per variation in direction?
switch(round(point_direction(x,y,mouse_x,mouse_y)/40))
I have no idea what I'm doing oh my god