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 ...
Search found 4 matches
- Mon Jun 27, 2011 3:27 am
- Forum: DS/DSi Development
- Topic: Wrap background with pcx image
- Replies: 1
- Views: 3249
- Sun Jun 26, 2011 1:52 am
- Forum: DS/DSi Development
- Topic: pcx image as background
- Replies: 5
- Views: 7345
Re: pcx image as background
Thanks mtheall, your allocation view is really cool. Yeah, i had worked out that i needed to init the bg :D
But now i have a new problem... how do i scale or wrap an image that is 320x200 ... i suppose i could turn the pcx data into tiles and to it that way somehow... hmmm, ill have a go, and then ...
But now i have a new problem... how do i scale or wrap an image that is 320x200 ... i suppose i could turn the pcx data into tiles and to it that way somehow... hmmm, ill have a go, and then ...
- Sat Jun 25, 2011 3:11 am
- Forum: DS/DSi Development
- Topic: pcx image as background
- Replies: 5
- Views: 7345
Re: pcx image as background
The only reason i thought it wasn't possible, was because so far the only way i have displayed a background picture, was with the image data, and a palette... and with pcx, i didnt see a palette... but ritz's code looks very helpful, thanks.
- Fri Jun 24, 2011 4:15 am
- Forum: DS/DSi Development
- Topic: pcx image as background
- Replies: 5
- Views: 7345
pcx image as background
So im completely new to this, but i managed to get bmp and png files to display as backgrounds... but i was wondering if the same can be done for pcx.
i saw the loadPCX() function, but im not entirely sure how that works.
Anyone know of either some code, or a tutorial documenting this ?
(or if it ...
i saw the loadPCX() function, but im not entirely sure how that works.
Anyone know of either some code, or a tutorial documenting this ?
(or if it ...