It is currently Sat Mar 23, 2019 8:24 pm

 All times are UTC - 7 hours

 Page 1 of 1 [ 3 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: About metatilesPosted: Fri Aug 11, 2006 2:08 am

Joined: Wed Jul 27, 2005 9:46 am
Posts: 46
Location: Spain
Hi guys

I was just playing around with metatiles (TSA, tile squaroid assembles... well, groups of 2x2 tiles and such) and I have
been wondering... given that lots of games use these schemes and build other structures with metatiles and NOT tiles
(Zelda, Metroid, I'm pretty sure MegaMan) how do they send and store them?

I've been thinking on having a table with the metatiles description, then when it comes to draw the structures I index
the table and send it to the PPU (for example, I want to put a 2x2 metatile at (0,0) so I really put the tiles it is
made of to (0,0) (0,1) (1,0) (1,1)).

Is there a faster way? A better way to approach this? Sure somebody here has the answers

Top

 Post subject: Posted: Fri Aug 11, 2006 2:20 am

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7678
Location: Chexbres, VD, Switzerland
I've heard Metroid uses object based maps. Mega Man 1 and 2 uses 4x4 metatiles, and more recent Mega Mans uses 2x2 metatiles.

Well, I'm unsure of what you're actually asking. But I guess you're imagining different way to code a driver to draw a meta-tile based screen, right ? You're wondering what is the easier way to organize your metatile definition, right ?
I've heard Final Fantasy games does it a interesting way : Having one table for the tile (0,0) of all metatiles, one table for all tiles (0,1), etc... and at the end one table for attributes and collision detection.
Then, you just have to load the meta tile # in an index register, and you can read what you want in either table without monkeying with complex index calculation, and this for up to 256 different metatiles.

_________________
Life is complex: it has both real and imaginary components.

Top

 Post subject: Posted: Fri Aug 11, 2006 3:24 am

Joined: Wed Jul 27, 2005 9:46 am
Posts: 46
Location: Spain
Thanks! Yes, that's more or less what I was asking, it sheds some light.
Metroid uses object based maps but the objects are made out of metatiles of 2x2

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 3 posts ]

 All times are UTC - 7 hours

#### Who is online

Users browsing this forum: Google [Bot] and 3 guests

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

Search for:
 Jump to:  Select a forum ------------------ NES / Famicom    NESdev    NESemdev    NES Graphics    NES Music    Homebrew Projects       2018 NESdev Competition       2017 NESdev Competition       2016 NESdev Competition       2014 NESdev Competition       2011 NESdev Competition    Newbie Help Center    NES Hardware and Flash Equipment       Reproduction    NESdev International       FCdev       NESdev China       NESdev Middle East Other    General Stuff    Membler Industries    Other Retro Dev       SNESdev       GBDev    Test Forum Site Issues    phpBB Issues    Web Issues    nesdevWiki