PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Scrolling question

I need help with a pretty basic scrolling program. I want to load a large picture ( like 2400x3200 - doesn't matter wich type) and then scroll with it. I can't use the loadtga or the zlib functions with that large pictures...

Please help me...

Thanks in advance

PS I'm using Casiopeia 64MB Pocket PC ARM. DS
To scroll into a bitmap like you want, you need to decompress it into ram, so for a picture like 2400x3000, you need 2400*3000*8 bytes (for 256 colors picture) so you need 59MB of ram only for the picture. It's to big, you can use a map, look at the thread Creating auto worlds.
Zyhorn · 18 Mar 2002, 07:00 UTC — Thanks for the answer
I enjoyed that reading quite a lot. But do these tile files work on a PocketPC? And do I need a driver / engine to work with the .tsd files?

Is there another better way to do tile-based scollable worlds on a PPC?

/Zyhorn