Name: | "Scrollable" HDMA Gradients |
Author: | MarioFanGamer |
Added: | |
Version History: | View |
Type: | Level |
Includes GFX: | No |
Includes Hijack: | No |
Featured: | No |
Description: | Let's be honest: HDMA gradients are, due to their nature, static to the screen. But other games somehow manage to manage to make them scroll (well, give the illusion of scrolling as remember, they're static by nature) without using any background! Don't worry now, it's time to officially have that kind of code in SMW (at least a proper release since years)! Read the readme first. Creation of compatible HDMA tables is done with Gradient Tool. |
Tags: | gradient hdma lorom |
Comments: | 14 (jump to comments) |
Rating: |
Download
7.61 KiB | 131 downloads
Comments (14)
It shows the gradient while the screen is black
until the music plays
That's a problem with HDMA gradients in general, not just specifically scrollable gradients, as SMW doesn't disable HDMA during level load.
OK! I just realised that.
It shows the gradient while the screen is black
until the music plays
That's a problem with HDMA gradients in general, not just specifically scrollable gradients, as SMW doesn't disable HDMA during level load.
It shows the gradient while the screen is black
until the music plays
I've been using this code since forever to give proper HDMA scrolling.
Never really understood why this wasn't a thing before. Thank you MFG!
Lunar Magic 3.11
UberASM 1.4
SNES9X 1.60
Free $7F0000 (OW Event Restore) Patch with Asar 1.71
Very nice HDMA effect. If you've been bothered by how static HDMA usually is, this should satisfy.
Foreground and background colour gradiends are the same thing (fixed colour HDMA) except every layer is set to be transparent towards the background colour. All you need to do is to put the following code either at the start or at the end of the init code:
In theory, yes (the decompression code runs on the SNES so no need to change the decompression buffer and HDMA pointer table's addresses and all other RAM addresses are converted for SA-1) but I didn't test it on SA-1, hence the lack of a SA-1 tag.
Technically, HDMA is static to the screen so no type of HDMA can actually "scroll". Whether you can give the illusion to scroll HDMA all depends on how you coded it.
What? Oh, no! Fixed!