It is currently Sun Oct 22, 2017 6:01 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Thu Jan 26, 2012 9:56 am 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10066
Location: Rio de Janeiro - Brazil
The Sonic Advance games use 96x96-pixel metatiles I think.

If a game uses metatiles there will always be cases where objects don't align properly to the grid. You you really don't want to deal with that, maybe you'd be better using the object approach rather than the grid approach.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 26, 2012 10:13 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19115
Location: NE Indiana, USA (NTSC)
tokumaru wrote:
The Sonic Advance games use 96x96-pixel metatiles I think.

Which would sort of fit a game that may have been originally planned for a system with a 320x224 pixel display (Genesis) and then scaled down to 240x160 (GBA).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 26, 2012 12:25 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10066
Location: Rio de Janeiro - Brazil
I had never thought about this, but you are absolutely right! The number of blocks that fit in a screen horizontally is the same. The GBA games are nothing like the Genesis games though, so I'm not sure why they'd go through the trouble of using an odd metatile size like that... An obvious disadvantage is that when converting world coordinates into metatile coordinates the program has to perform actual divisions, instead of simply shifting/ignoring bits. On the NES this would be suicide.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 26, 2012 1:00 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19115
Location: NE Indiana, USA (NTSC)
ARM7TDMI has a fast hardware multiply, and lots of GBA games use it for division by a constant.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group