[Solved]Centering background in room.

Started by streetcutter, Wed 01/07/2015 03:24:42

Previous topic - Next topic

streetcutter

Hey Guys.

Simple problem but haven't been able to find an answer. All my backgrounds are 1024 x 768, but I have room (a hallway) that is smaller, 512 x 512. So obviously it doesn't take up all the space in the room which is what I want for effect. But it sits in the top left hand corner of the screen. Is there an easy way so it is centered in the middle of the room.

Thanks guys.

Grok

One simple way would be to make a black 1024x768 image, position the 512x512 image within that image where you want it to be, and use the new 1024x768 image as background.

streetcutter

OMG man your a genius! That's so simple is brilliant. Thanks man:)

SMF spam blocked by CleanTalk