Page 1 of 1

Wrap background with pcx image

Posted: Mon Jun 27, 2011 3:27 am
by meeces2911
Ok, so i now have a pcx image loaded and displaying... but only when its a power of 2.
The image/s i am using are 320x200. What i want to do is load this image and be able to scroll left and right, and see the same image wrap around.
Basically the idea is to use this background in a side scrolling game.
Eventually i plan on looking at scaling so the background image is bigger than its original size, but for now, just loading and wrapping it would be a start.

Can anyone help me with this, the tutorials i have looked at either dont work, or are for a text background, with a map.

Re: Wrap background with pcx image

Posted: Mon Jun 27, 2011 10:58 am
by WinterMute
Look at the tutorials using a text background with a map, using bitmaps for this kind of thing is a spectacularly bad idea.