Language…
10 users online:  Alex,  Big Brawler, h.carrell, heemerson,  Java, k99loko, lo fang 123, MastaBuizness, nicecarlos024, otis89 - Guests: 87 - Bots: 138
Users: 70,196 (2,547 active)
Latest user: heemerson

Fading Brightness HDMA v1.2

UberASM Repository → Fading Brightness HDMA v1.2

Submission Details

Name: Fading Brightness HDMA v1.2
Author: MarioFanGamer
Added:
Version History: View
Type: Level, Overworld, Global
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This HDMA code uses RAM instead of fixed values, all dependent on address $0DAE. That allows you to use brightness HDMA with a proper brightness fade instead of removing the fade and having the screen become instantly dark.

Coming with an example.

Read the readme for more information.
Tags: hdma lorom sa-1
Comments: 7 (jump to comments)
Rating:
0.0 (0 ratings)
No rating
Download 4.44 KiB | 707 downloads

Screenshots

Comments (7)

 Erik Link
Tested with:
- UberASM Tool v2.0
- SA-1 v1.40
- Lunar Magic 3.50
- snes9x 1.62.3 and Mesen 2
i thought you had forgot a defines file again lmao but it's in the macro file
I mean, not really a rewrite of any code. It's just because the Global code from prior UberASM versions got removed or replaced in favor of code which runs in every gamemode (so the * instead of global.asm). So... it werks
Anas Link
Err, only one file is there?
 MarioFanGamer Author Link
#smw{-_-2}

Fixed.
 RussianMan From older version: Fading Brightness HDMA v1.1 Link
Tested With:
-Lunar Magic 3.33
-bsnes v115
-SNES9X 1.61
-SA-1 1.40
-UberASM 1.4
-Effect Tool 3.0

The submission has now been propertly updated with correct zip file. Works correctly. The readme says how the tables for this code should look like, but it's pretty easy to make it work with this without need to convert anything (only tested code generated with Effect Tool). Generated init code should be replaced with:

Code
init:
%Dynamic_Brightness_HDMA(!BrightnessHdmaTable, 5)
%Generate_Brightness_Table(.BrightTable)
RTL


And it'll just work.
 Major Flare From older version: Better Brightness HDMA Link
Update: Added a screenshot as a result of the example code.
 MarioFanGamer Author From older version: Better Brightness HDMA Link
Just changed the type to "global" since it didn't exist when I submitted it.
 HuFlungDu From older version: Better Brightness HDMA Link
Neat little code. Definitely better than just making the screen full brightness when it used to be faded. I'm actually wondering if SMWCP2 could use something like this in some of it's levels...