? Light effect in darkness. (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Light effect in darkness.

  • #1 ✎ 99 Z_E_R_O Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself How would I make a lantern work? Like I want the terrain to be pitch black and only the light can shine through it. Posted
  • #2 ✎ 210 Shelly
    How would I make a lantern work? Like I want the terrain to be pitch black and only the light can shine through it.
    The only way I can think of is to use SPDEF to redefine the sprites. You simply increase the value of R, G, and B, so that it shifts from black to white. Adding color is a different story, kind of.
    Posted
  • #3 ✎ 99 Z_E_R_O Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself I'm experimenting with VISIBLE.. But idk how to manipulate it. Posted
  • #4 ✎ 354 chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Second Year My account is over 2 years old Website Good Page Hidden Achievements
    I'm experimenting with VISIBLE.. But idk how to manipulate it.
    it takes booleans to set whether the sprite, graphics, bg, or text layers are visible. pretty sure that isn’t what you want.
    Posted
  • #5 ✎ 1479 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website The easiest way is to make a big black sprite with a hole in the middle. (This uses up a lot of room on the sprite page though, and only allows for one light area) You can also use graphics instead, by filling the graphics page with black and drawing circles in it (However, this doesn't allow transparency and you can't use the graphics page for anything else) Posted
  • #6 ✎ 99 Z_E_R_O Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Thanks. i'm going to try to tweak the black sprites deal. That might work. Posted