I'm trying to get my character to always be in the centre of the screen but I didn't understand the tutorials...
Can anyone explain this clearly????
// BAD CODE!!!
x = myactor.x;
y = myactor.y;
// use this in draw event of view
x = myactor.x-width/2;
y = myactor.y-height/2;
Users browsing this forum: No registered users and 1 guest