Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - Rain and Background? [Issue]
  
User name:
Password:
Reply:
 

UserPost
Atma X
Posts: 651/801
Originally posted by Koopa_Myster99
Whaddaya mean I can't understand it?


When he says that you can't understand it, it's not to be taken literally (if a person is completely uncapable of learning something, then that's when we use the word Retarted to describe them,... or "Special" to be nice). It just means that you're a long ways away from learning it (and learning enough about it). It takes some time to learn this stuff, and before you can even start to learn ASM, the're a lot of other things that need to be learned first (and enough experience needs to be aquired, which also takes time).

Be looking at a few years until you learn this stuff pretty well (that's about how long it takes most people).
Smallhacker
Posts: 1009/2273
Originally posted by Koopa_Myster99
Whaddaya mean I can't understand it?

In order to make rain, make an ExGFX file and draw a few rain animation frames. Import them and create a custom animation of them on a L2 level. (Make sure that it's above L1). Create the neccessary blocks and put them on layer 2. Save. There you go.
Note: If you reply to this with "And how do I do that?", I doubt that anyone will answer.
Magikoopa Myster
Posts: 11/553
Whaddaya mean I can't understand it?
blackhole89
Posts: 485/971
Nope.
What HDMA can do/u]
- Writing something to PPU registers after a certain scanline was drawn.

What HDMA can't do/u]
- Writing something to PPU after a certain graphics layer was drawn.

In other words, you could, say, make the upper halfter of your output mode 1 and the lower one mode 0.
rubixcuber
Posts: 43/46
"Drawing to Layer 4 means any/all of the following:
- changing the very screen mode SMW runs in
- reducing the colour depht of Layer 1 (level) and Layer 2 (background) to 2 bpp / 4 colours"

I know that you can switch video modes midframe using HDMA, so I was thinking that you could use mode 1 to do the first three layers and then switch to mode 0 to do 4th layer, but perhaps this cannot be done as I do not know the technical limitations.
blackhole89
Posts: 483/971
@uncreative username + Someguy, SNES SMK graphically sucked.
The only SNES games that use the four layers are those with 3D geometry through the SuperFX2 chip (or whatever it was called), namely SMK and Starfox 1/2 (both of those had sucky graphics imho). They need the four layers for the 3D stuff.

@Koopa_Myster99, no, since I am quite sure you lack the basic knowledge to understand it. I don't mean to insult you in any way, but I am sorta tired of "what is ASM? is it edible?" noobs who keep asking others to teach them the [elitist bullshit]"high arts of ASM hacking"[/elitist bullshit].
tuna
Posts: 36/2
Originally posted by Someguy
What I don't get is why do they have Layer 4 if it can only be used in games with 2 bpp depth games?
It's just there as an extra option. I'd guess it's because generally memory isn't sufficient to handle another layer (else why would Layer 3 be 2bpp?) and by sacrificing extra colors on the other layers, you get another one.

Super Mario Kart did it, and I don't really see anyone complaining about that one
Magikoopa Myster
Posts: 6/553
Can someone tell me how to make rain?
Someguy
Posts: 129/397
What I don't get is why do they have Layer 4 if it can only be used in games with 2 bpp depth games?
blackhole89
Posts: 480/971
Ok, listen up.
Drawing to Layer 4 means any/all of the following:
- changing the very screen mode SMW runs in
- reducing the colour depht of Layer 1 (level) and Layer 2 (background) to 2 bpp / 4 colours
- thus throwing away as much as all of SMW's drawing, decompression, tile management, ... ... ... code

Think about what you're doing. please.
rubixcuber
Posts: 42/46
Well, one of my ideas was to rewrite the drawing code so that it can use the 4th layer and put the rain on the 4th layer but have it drawn before the 3rd layer so that the rain shows up behind the status bar. I assume that would be possible albeit a lot of work. If so, layer 4 usage will probably be my next project.
blackhole89
Posts: 474/971
Not neccessary, here I am.

Well, you could use layer 3 for the rain, but I don't recommend it, since you'd either have to sacrifice the status bar (which, itself, blocks the upper part of layer 3) or your rain would have to start below the status bar, causing an ugly (and weird) effect of fakeness.
afaik layer 2 so far is the best deal for rain. If you can live with 4 colours per tile, I recommend you moving your BG to layer 3 instead.

~Blacky.
Keikonium
Posts: 859/-2459
Yes thats what I meant, but I know that would be a VERY stupid thing to do. Thats the only way I could think of to do it tho...

I would PM blackhole about layer 3 tho because he can edit that. And I know you understand all that ASM stuff, so he may beable to tell you where the layer 3 data is.
rubixcuber
Posts: 41/46
Well, I want the rain to be in the very foreground in front of everything, so putting it on layer 1 doesnt really help. For your first suggestion, do you mean creating an animated tile for every tile in the BG?
Keikonium
Posts: 855/-2459
Well, I guess there is a way, but it would use 2x (or however many rain animation frames you have) the amount of tiles. Just use the BG you want, draw in the drops, then just move the drops a bit for the next animation. Very stupid way to do it, but I guess it may work.

From what I know, Blackhole was doing some editing with layer 3 with his RPG code. I think you may beable to create rain using...HDMA?

EDIT:

WAIT! What am I thinking. Just use the rain on layer1 (set it to act like 25) and animate it. Sure you wont beable to have it pass over objects (unless you create the extra tiles) but at least you can have rain and a BG.
rubixcuber
Posts: 40/46
I know how to do the rain effect using Layer 2, but is there a way (perhaps using Layer 3) to have a background as well as rain or whatever at the same time?
Acmlm's Board - I2 Archive - Super Mario World hacking - Rain and Background? [Issue]


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.