Fun little problem that I encountered when working with angles and sprites, and also something that's now really bugging me .-.
Is there any way I can track the location of a sprite according to it's ox value? What I mean is, say for instance I have a sprite that is at x value 0 and y value 0, but at an ox value of -272 and an oy value of -272. The sprite would be somewhere at the bottom of the screen, and my sprites x and y values (on the screen) are 272 and 272, even though my sprite is at 0, 0 according to it's actual x and y values. But if my sprite's angle is set at 180, the sprite's corresponding x and y (on the screen) is -272 and -272, and my sprite is at 0, 0 according to it's actual x and y values.
My dilemma is trying to get the sprite's screen x and screen y co-ordinates. Is there some kind of formula RGSS2 uses for getting these values? Or are the values stored in some default variable that I don't know about?
I'm not sure if I explained this very well, and I will be happy to elaborate on my problem.