- Code: Select all
xscreen = 640 / 4;
yscreen = 0;
Using the " / 4 " method, it devides the screns X by 4, thus making the center. if you want it at the top left constantly, then you would use 2 instead of 4.
The same thing with yscreen, if youw ant it in the center middle, xscreen = 640 / 4;, and yscreen = 480 / 4;.
Use this on Draw Actor.