I want an effect to be drawn at a certain point on an aircraft. Look at the red circle.
So I'm using
But it's not working. Here's an EXE of the game so you can see it in action.
The sprite is centered, and the same thing happens if I replace the 0 in the lengthdir functions with direction. I've also noticed that the lengthdir_y doesn't do anything, after changing the variables a few times. Why?