It is currently Fri Oct 20, 2017 2:09 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Dec 01, 2012 4:19 am 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7231
Location: Chexbres, VD, Switzerland
This demo is sort of a combo of a scrolling demo and a demo that shows how to use mappers which swap a single bank of 32kb PRG with trampoline code that is as transparent as possible.

It also shows how to scroll horizontally without using vertical mirroring while minimizing the attribute clashes on the side borders. Most games usually shows off 8 or more pixels of garbage on the sides. Here it shows max. 3 pixels of garbage at the left OR max. 4 pixels of garbage to the right (never simultaneously). On PAL consoles, only max. 2 pixels of garbage are visible on the right.
Graphics ripped of SMB3 save states.

The scrolling code is particularly clean and robust (at least in my opinion), as the part that controls the camera, moves the camera, and updates the scrolling are completely independant. I was going to make it multi-directional scrolling but I gave up after doing horizontal scrolling.


Attachments:
multiscroll.7z [13.68 KiB]
Downloaded 206 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

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