Banner
Views: 559,320,073
Time: 2017-08-19 01:15:18 PM
13 users online: Akaginite, Christian07, DarkCodr, Flyingcape, Impetus, LeoGamerxD, o Mirann, Pink Gold Peach, Ragey, Super Maks 64, Wii2, yoshiatom, YourAverageROMHacker - Guests: 19 - Bots: 171Users: 32,216 (1,486 active)
Latest: BluePopo
Tip: Remember to remove the original SMW events, both layer 2 and layer 1, when making a new overworld.Not logged in.
The perfect HDMA gradient(parallax)
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - The perfect HDMA gradient(parallax)
Pages: « 1 »
I was able to make the HDMA load after level began AND after I died. But when I was able to get a Game Over, the HDMA disables itself. Is there some way to make the HDMA stay there after I got the Game Over screen?
I used the uberASM patch, not the tool. I get some crashes with the tool.
I'd like to give you some advice: change RTS to RTL if you're using the tool.

--------------------
Your layout has been removed.
Thanks, but I'm using the patch, not the tool.
Is there really no way to fix this?
Even though I'm going to waste some space, I guess copying the HDMA code both into the init code and main code fixes the problem altogether.
Still, I think it's worth a shot.
Edit: My method doesn't work.
I can't see exactly how the problem looks like, but I guess the effect is disappearing during the level fadeout to game over/time up, right? So, if it's that case, are you using Ice Man's HDMA 3.5 bugfixes patch? If yes, find these lines:

Code
CMP #$15						;\ Don't execute HDMA
BCS EndHDMA						;| if game mode over 15


Change #$15 to #$16 and test it (would test it myself but I'm from job so eh). If it works, that should be it.

However, if that doesn't work, then remove these lines. This way, the HDMA won't get disabled during game over/time up fadeout, but will stay active during the animation as well. So, to effectively disable that after the fadeout, put the following code in gamemode_init_17:

Code
STZ $0D9F
LDA #$80
STA $2100
STZ $420C


This way the effects should be disabled in there.

--------------------
Hack testing status: available.

Wow! That change worked! Big thanks, Blind Devil!
Or apply my latest HDMA version to fix more bugs or optimize priority for sprites. ;)

Link


Nevermind, it got removed because it was in XKAS format which is not accepted here but available to choose. Stupid.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - The perfect HDMA gradient(parallax)

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2017 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 23

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented