3 users online: Cote de Boeuf, Mario's GameBase, PokerFace - Guests: 88 - Bots: 236
Users: 65,936 (2,187 active)
Latest user: Isaakito

Smooth HDMA Gradient Transitions

UberASM Repository → Smooth HDMA Gradient Transitions

Submission Details

Name: Smooth HDMA Gradient Transitions
Author: Kevin
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This UberASM contains a library that allows you to fade from one BG gradient to another in a smooth way, without advanced asm knowledge. This can be useful to change aesthetics as time passes or as the level is progressed (similar to some levels in DKC), or also to make HDMA gradients work with the level end colors fade.
All that's needed is the HDMA tables (like those generated by EffectTool/GradientTool, using the RedGreen-Blue format) and to call the provided routines when you want to start the fade. Check out the readme for more info. Included a couple examples codes: one changes the gradient as the timer passes, the other changes it at level end.
Note that the code is SA-1 only. Also pay attention to the RAM usage.
Tags: hdma sa-1
Comments: 4 (jump to comments)
5.0 (1 rating)
No rating
Download 4.80 KiB | 292 downloads


View all

Comments (4)

RichardDS90 Link
Hiya, where do I change the time to start the fade? As I can't find it anywhere in the coding.
 Eevee Link
This is really cool! I'm envisioning a level where you fly up into orbit in a seamless transition, with the sky getting darker, and stars scrolling in.
 MarioFanGamer Link
Moderated with:
  • Lunar Magic v3.31
  • SA-1 Pack v1.40
  • UberASM Tool v1.4
  • BSNES v115
Certainly a cool effect, accepted. Also interesting way of setting freeRAM, though there are better ways of defining them (e.g. structs).
hoagie Link
Wow, that's so nice