Jump to content

Photo

Torch/Lantern Script


  • Please log in to reply
5 replies to this topic

#1 Korben

Korben

    Junior

  • Members
  • Location:USA

Posted 20 February 2019 - 09:18 AM

Would it be possible to make an item that would act sort of like the lens of truth, but it would light up dark areas? So instead of creating darkness around Link except for a circle around him in lit up areas, it would create a small circle of light around him in completely dark areas (maybe by putting completely black tiles on an overhead layer?). I basically want it to behave like the lantern in Minish Cap, as long as you have it on it shows a ring of light around Link.


  • SkyLizardGirl likes this

#2 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 20 February 2019 - 09:34 AM

This should be pretty easy with a bitmap. I can script it for you some time this afternoon, after my classes. (You just draw solid black to a bitmap, then "cut out" a circle by drawing color 0, then draw that over the screen)

EDIT: Oh, I didn't recall anything on the DB for this. Looks like I missed one. (Thanks Avataro)
  • SkyLizardGirl and Korben like this

#3 Avaro

Avaro

    o_o

  • Members
  • Real Name:Robin
  • Location:Germany

Posted 20 February 2019 - 09:50 AM

https://www.purezc.n...=scripts&id=259

 

Use this. It has even more features, but you can disable them.

 

Actually, I'm not sure. This script has a code error that still needs to be fixed.


Edited by Avataro, 20 February 2019 - 09:53 AM.

  • SkyLizardGirl and Korben like this

#4 Deedee

Deedee

    Bug Frog Dragon Girl

  • Moderators
  • Real Name:Deedee
  • Pronouns:She / Her, They / Them
  • Location:Canada

Posted 20 February 2019 - 10:07 AM

Apparently I forgot to push an update to it. RIP.

I'll update that script later today.


  • SkyLizardGirl and Korben like this

#5 Korben

Korben

    Junior

  • Members
  • Location:USA

Posted 21 February 2019 - 12:55 AM

Thanks for the replies everyone, looking forward to it Dimentio, thanks.



#6 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 03 March 2019 - 05:36 AM

Note that it will indeed, be completely black, not simply dark.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users