This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Scrolling question


Scrolling question

Postby Zyhorn » Mar 17, 2002 @ 5:31pm

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
Zyhorn
 


Postby Gégé » Mar 17, 2002 @ 6:53pm

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 .
User avatar
Gégé
pm Member
 
Posts: 30
Joined: Feb 3, 2002 @ 12:04pm
Location: France


Thanks for the answer

Postby Zyhorn » Mar 18, 2002 @ 8:00am

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
Zyhorn
 


Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum