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] | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
rubixcuber

Red Goomba
Level: 12

Posts: 40/46
EXP: 6125
For next: 1796

Since: 10-13-04
From: St. Louis, MO USA

Since last post: 331 days
Last activity: 293 days
Posted on 12-03-04 04:55 AM Link | Quote
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?
Keikonium
Banned
Level: NAN

Posts: 855/-2459
EXP: NAN
For next: 0

Since: 04-02-04

Since last post: 63 days
Last activity: 9 hours
Posted on 12-03-04 05:17 AM Link | Quote
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.


(edited by Keikonium on 12-02-04 08:19 PM)
rubixcuber

Red Goomba
Level: 12

Posts: 41/46
EXP: 6125
For next: 1796

Since: 10-13-04
From: St. Louis, MO USA

Since last post: 331 days
Last activity: 293 days
Posted on 12-03-04 05:35 AM Link | Quote
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
Banned
Level: NAN

Posts: 859/-2459
EXP: NAN
For next: 0

Since: 04-02-04

Since last post: 63 days
Last activity: 9 hours
Posted on 12-03-04 05:38 AM Link | Quote
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.
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 474/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 12-03-04 02:00 PM Link | Quote
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.
rubixcuber

Red Goomba
Level: 12

Posts: 42/46
EXP: 6125
For next: 1796

Since: 10-13-04
From: St. Louis, MO USA

Since last post: 331 days
Last activity: 293 days
Posted on 12-03-04 08:15 PM Link | Quote
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.


(edited by rubixcuber on 12-03-04 11:23 AM)
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 480/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 12-03-04 08:32 PM Link | Quote
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.
Someguy

Buzzy Beetle
It seems as though the girl you've fallen for is also a pyromaniac.
Level: 32

Posts: 129/397
EXP: 193329
For next: 13113

Since: 03-15-04
From: I'm proud to be an American... I think...

Since last post: 1 day
Last activity: 5 hours
Posted on 12-04-04 12:57 AM Link | Quote
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?
Magikoopa Myster

Lakitu
Level: 34

Posts: 6/553
EXP: 238506
For next: 15145

Since: 12-01-04
From: I'm a Magikoopa! Watch it!

Since last post: 9 hours
Last activity: 8 hours
Posted on 12-04-04 01:00 AM Link | Quote
Can someone tell me how to make rain?
tuna
...
Level: 3

Posts: 36/2
EXP: 51
For next: 77

Since: 12-02-04

Since last post: 1 day
Last activity: 1 day
Posted on 12-04-04 08:49 AM Link | Quote
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
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 483/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 12-04-04 03:14 PM Link | Quote
@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].
rubixcuber

Red Goomba
Level: 12

Posts: 43/46
EXP: 6125
For next: 1796

Since: 10-13-04
From: St. Louis, MO USA

Since last post: 331 days
Last activity: 293 days
Posted on 12-04-04 07:59 PM Link | Quote
"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

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 485/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 12-04-04 09:59 PM Link | Quote
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.
Magikoopa Myster

Lakitu
Level: 34

Posts: 11/553
EXP: 238506
For next: 15145

Since: 12-01-04
From: I'm a Magikoopa! Watch it!

Since last post: 9 hours
Last activity: 8 hours
Posted on 12-05-04 03:26 AM Link | Quote
Whaddaya mean I can't understand it?
Smallhacker

Green Birdo

SMW Hacking Moderator
Level: 68

Posts: 1009/2273
EXP: 2647223
For next: 81577

Since: 03-15-04
From: Söderhamn, Sweden

Since last post: 10 hours
Last activity: 9 hours
Posted on 12-05-04 03:32 AM Link | Quote
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.
Atma X

Bandit
Level: 43

Posts: 651/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 12-05-04 04:03 AM Link | Quote
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).


(edited by Atma X on 12-04-04 07:07 PM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.027 seconds.