Quantcast
Channel: nesdev.org
Viewing all articles
Browse latest Browse all 746

Raster Effects Example: Wipe

$
0
0
I've been working on a number of examples for various raster effects which I'll post as I publish them. This first example is a wipe transition that I first noticed on the title screen in Labyrinth for the Famicom (please comment if you can think of other games that use a similar effect with the same technique).

The basic idea is that there's a timed loop that's used as a rough line counter. When the specified line is reached for the current frame, the nametable is switched via PPUCTRL.
Image Image

Image Image
I've attached a zip file including the four examples above along with their Mesen 2 debug files. The code is on github where I'll continue to publish more examples. Some interesting enhancements would be to implement a crop transition (same effect as above but from the top and bottom at the same time), and a venetian blinds transition (multiple strips opening/closing at once).
nrom-wipe-examples.zip

Statistics: Posted by gzip — Fri Jan 24, 2025 4:41 pm — Replies 0 — Views 76



Viewing all articles
Browse latest Browse all 746

Trending Articles