Language…
3 users online: Bonobi, HammerBrother, RXDARK - Guests: 84 - Bots: 71
Users: 68,029 (2,139 active)
Latest user: Foxy_zin

Smooth HDMA Gradient Transitions

UberASM Repository → Smooth HDMA Gradient Transitions

Submission Details

Name: Smooth HDMA Gradient Transitions
Author: Kevin
Added:
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: 5 (jump to comments)
Rating:
5.0 (1 rating)
No rating
Download 4.80 KiB | 320 downloads

Screenshots

View all

Comments (5)

HammerBrother Link
A total of 4712 (decimal) bytes of freeram is required, that is very huge.
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