Skip navigation
NintendoAge
Welcome, Guest! Please Login or Join
Loading...

"Dynamic" nametables?

Feb 10, 2014 at 8:53:44 AM
vinnyvicious (0)

< Cherub >
Posts: 3 - Joined: 02/07/2014
Profile
I'm working on a small game concept, similar to the "Canabalt" genre. I have successfully made a scroller, which passes the nametables around. However, the nametables are pre-drawn and stored in ROM. Is there a way of creating a dynamic nametable, so i can make the platforms appear randomly, while it's scrorling?

Feb 10, 2014 at 12:43:09 PM
Shiru (0)

(Shiru Shiru) < Meka Chicken >
Posts: 677 - Joined: 06/08/2011
Russian Federation
Profile
Sure. As you update nametable on per column basis while scrolling, you can construct a long random level using predefined sections. You can also create a buffer in the RAM. For example, you can fill up the column buffer in RAM with the background data stored in ROM, then impring random platform tiles before sending it to the PPU.