Language…
12 users online: Alfombra de madera, , Hammerer, , JaizePLS, Neuromancer, Pink Gold Peach, PJHacker, , SMW Magic, TooMuchOfEverything, Vanessa - Guests: 69 - Bots: 317
Users: 66,000 (2,158 active)
Latest user: TooMuchOfEverything

# Comprehensive HDMA Tutorial

Thanks, I'll look for it.

Also, I pretty don't understand the part about sticking it to RAM.
Can you make an example?
2 major questions:

1. is it possible to give an hdma gradient level-specific coordinates (i.e. the change in the gradient has a level position rather than a screen position)

2. how would one make a diagonal gradient?
Originally posted by jesus
1. is it possible to give an hdma gradient level-specific coordinates (i.e. the change in the gradient has a level position rather than a screen position)

Not sure what you're asking. Do you want to base it on the layer 1 position, mario's position, the level number, or...?

Quote
2. how would one make a diagonal gradient?

Not with HDMA, I can tell you that.
Originally posted by Kaijyuu
Originally posted by jesus
1. is it possible to give an hdma gradient level-specific coordinates (i.e. the change in the gradient has a level position rather than a screen position)

Not sure what you're asking. Do you want to base it on the layer 1 position, mario's position, the level number, or...?

based on layer 1 position
Okay, well you can pull the layer 1 position from \$1A (for the x) and \$1C (for the y). From there do whatever math you want for whatever effect you want. The logic is up to you to figure out.
Not sure if this is of any help to anybody, but here is a little step by step tutorial made by me as I insert an HDMA gradient with levelASM.
I play different games on Twitch, I did speedruns of Pokemon Red and Gold, Mario Party 4, but I also do SMW stuff.
I only stream to make progress on my hack currently. Check out my twitch!

Exits done: 50, Overworld: 99%
Play through Taomb Demo 3
Taomb is alive again. Check my Twitch as I work on in it when live.