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 - I have some ASM questions about the sprite that makes the dark screen. | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Keikonium
Banned
Level: NAN

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

Since: 04-02-04

Since last post: 63 days
Last activity: 9 hours
Posted on 08-02-04 03:08 AM Link | Quote
I have created a wicked cave that is suppoed to be very dark. I can edit the palettes to make them darker but it doesn't look that great. So I use the "disco ball" to make a light source. First off the background, which is essential, doesn't show up when I use the light, and the sides of the screen are entirly black.

So my question is: can I use ASM to make the BG show up, and lighten the sides of the sceen so they are translucent black? Just so you can almost make out whats infront of you. So if I could use ASM to change this that would be great.

Does anyone know the byte/bytes I need to change? Or is more complicated than that?

Thanks
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1379/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 08-02-04 08:35 AM Link | Quote
It's possible, but complicated. The translucency effect can be done without the BG by creating a 'mask' on layer 2 - put all black (I think) over the area that you want to not be dark. You have to use level mode 1E or 1F, one of them forces layer 2 above layer 1. They'll be translucent, but it won't matter. Using ASM (a custom block at the entrance, or palette ASM), set the value at $7E0040 to Layer 2 Colour Subtraction (I forget what value that is exactly). Don't forget to set layer 2 to something that keeps it on-screen at all times.

If you want the BG as well, you need to do the same thing, but place your mask on layer 3. Layer 3 isn't editable in LM, so you'll need to write your tilemap onto it via ASM. The problems this creates are:
-The scorebar is on layer 3, so you'll need to avoid using that area.
-I think the game uses HDMA to force all non-scorebar areas of layer 3 behind layer 1. You'll need to stop that. (Anyone know how? )
-Layer 3 in SMW's video mode can only have 256 colours.
(Before you ask, you can't use layer 4 in this mode; the only mode that allows it only allows 256 colours per layer.)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Super Mario World hacking - I have some ASM questions about the sprite that makes the dark screen. | |


ABII


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



Page rendered in 0.014 seconds.