How to make actor stay center on screen?
I am working on a space game and I want the spaceship to remain in the center as it travels through space. Is there a way to do this? The actor will be able to travel in 360 and everything will just scroll past as it moves thru space.
Comments
- Alex
_________________________________________________________________________________
Target Practice Template
Custom Soundtracks and Sound Effects For Sale
Vertical/Horizontal Level Select Template
Mac Mini For SALE!!!
constrain currentscene.camera.origin.X to self.positionX+240
constrain currentscene.camera.origin.y to self.positionX+160
So what you should do is drop a control camera behavior in the actor and then reduce the tracking area down to 0x0