User | Post |
blackhole89
Posts: 516/971 |
Rain is no problem at all if you use layer 2 for it. The only problem is you'd have to sacrifice the background, replace it by something on layer 3 or use HDMA. |
HabsoluteFate
Posts: 93/179 |
All you would need now would be to add rain to it and it would look pretty cool! |
Sokarhacd
Posts: 998/1757 |
thats pretty cool...it would be nice to see a level with lightning, especially if someone can get it to work perfectly. |
blackhole89
Posts: 514/971 |
I wrote some kind of lightning routine for SMW: ALttP (my hack, if any of you still remember ) some time ago. It was strongly inspired by SD3's lightning (the one you can see outside Dark Castle) and works for any level palette since it writes the old one into RAM to restore it. If you are interested and ready to give me your ROM, I might insert my code into it. (It is controllable by custom blocks as well as a pseudo-random timer) PS, animated GIFs made with corel photopaint 7 are rather crappy (as seen above), but I guess this should depict the way it works/looks quite well. |
mikeyk
Posts: 28/110 |
That could very well be the case. It's pallette 0 that gets overwritten, by the way, so you could always just avoid using it on the level that you want lightning on |
tuna
Posts: 105/2 |
Originally posted by mikeyk $03DFCC is the lightning subroutine, but it does mess up the pallette for the level. I can take a better look at this tommorrow since I would like to use this myself in a hack that I'm starting.
I assume the reason the palette messes up is because, since it's only used in one level, it overwrites the palette with a hard-coded one used in the Bowser battle. What would be a good idea is to have the subroutine store the Background back color in memory somehwere, and then restore it after the BG flashes.
Though doing this will probably be difficult... I have no knowledge of ASM for the SNES or NES (or much else, for that matter) and I'm just guessing here, but that seem spretty much right... |
mikeyk
Posts: 27/110 |
$03DFCC is the lightning subroutine, but it does mess up the pallette for the level. I can take a better look at this tommorrow since I would like to use this myself in a hack that I'm starting. |
Xenon Odyssey
Posts: 10/63 |
When you figure it out, please post it here or PM me because I would love to have it in some of the later levels of my hack. It would fit the atmosphere perfectly. |
Xkeeper 2.0
Posts: 201/1091 |
You could use layer 2, but then you'd not have the thunder sound. Not sure if that's what you'd want, but it works. |
Cruel Justice
Posts: 561/1384 |
Not that kinda lightening... I'll ask BMF for now, but I'll be back to this topic. |
Luigi-San
Posts: 137/736 |
Use the Sumo Bros. |
Golden Yoshi
Posts: 350/693 |
Hmm...perhaps BMF will be of some help to you. He implemented lightning into one of the levels of his hack, so the best advice would likely come from him. |
Cruel Justice
Posts: 559/1384 |
I would like to know how I could get lightening to work on a normal level. The Bowser battle is the only level with that implemented. Can someone help? |