(fixed) Distance Shading / Bright objects

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

(fixed) Distance Shading / Bright objects

Post by Gambit37 »

Just so it doesn't get forgotten: Distance shading / always bright items are broken:

1) Monsters aren't distance shaded
2) Bright projectiles (fireballs etc.) do not remain bright in dark levels, they are being incorrectly shaded to the current light level
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: (fixed) Distance Shading / Bright objects

Post by Sophia »

I was going to wait to make a full release until I had more changes.
However, this issue has been fixed, and there's no point in me just sitting on it.

So here: A new .exe, we'll call it DSB 0.49A.
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: (fixed) Distance Shading / Bright objects

Post by Gambit37 »

Cool, thanks. #1 is fixed, #2 is still broken though. If you launch a fireball in the second level of the test dungeon (which is dark), the fireball is shaded to almost as dark. I thought these used to be fully bright...?
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: (fixed) Distance Shading / Bright objects

Post by Gambit37 »

Actually, sorry, it's fine in the test dungeon, but broken in my own dungeon. I changed the bitmaps for the fireball using an animated strip.. Would this affect the brightness stuff?
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: (fixed) Distance Shading / Bright objects

Post by Sophia »

Animation shouldn't be a problem but I'm guessing you also are using a png with alpha instead of a power pink bmp, right?
I tried to make the thing respect alpha but then I forgot that I started that and left some half-working code in there. :?

Can you send me the image you're using? I can test with that.
Post Reply