Wrap background with pcx image

Post Reply
meeces2911
Posts: 4
Joined: Fri Jun 24, 2011 4:10 am

Wrap background with pcx image

Post by meeces2911 » Mon Jun 27, 2011 3:27 am

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.

WinterMute
Site Admin
Posts: 2003
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Wrap background with pcx image

Post by WinterMute » Mon Jun 27, 2011 10:58 am

Look at the tutorials using a text background with a map, using bitmaps for this kind of thing is a spectacularly bad idea.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests