Using larger images with VDP_setMapEx

SGDK only sub forum

Moderator: Stef

Post Reply
BroOfTheSun
Interested
Posts: 33
Joined: Fri Dec 12, 2014 2:41 am
Location: USA - Chicago, IL

Using larger images with VDP_setMapEx

Post by BroOfTheSun » Sun May 31, 2015 5:58 pm

Should I be able to use an image that is 256 x 256 tiles with VDP_setMapEx()? I'm trying to see if it's even possible to use a 256 x 256 tile image, then use VDP_setMap to update the map as the player moves through it. I'm having trouble getting this to work, and wanted to see if it's even possible.

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Sun May 31, 2015 9:07 pm

It should be possible but then take care of not compressing the map (in resource declaration part) as 256x256 tiles take 128 KB unpacked so more than the amount of available genesis ram.

BroOfTheSun
Interested
Posts: 33
Joined: Fri Dec 12, 2014 2:41 am
Location: USA - Chicago, IL

Post by BroOfTheSun » Mon Jun 01, 2015 5:10 pm

I wasn't thinking about the available genesis ram. I think it would be better for me to build a method to update the map as I scroll...I may have more questions on this later. Thanks for the help.

Post Reply