Jump to content

Photo

Lantern Light


  • Please log in to reply
9 replies to this topic

#1 Orion

Orion

    Newbie

  • Members

Posted 09 April 2010 - 10:46 PM

So I know that at one point, you used to be able to use the lantern to exclusively surround link with a little circle of light, ala LTTP, rather than lighting the whole room. I've searched for a script to do it, but haven't found one. Does anything like this exist?

#2 Moosh

Moosh

    Tiny Little Questmaker

  • ZC Developers

Posted 10 April 2010 - 10:31 AM

I don't know anything about scripting, but it sounds fairly simple... Perhaps you should ask in the scripting request forum where you will be more likely to get replies? (tries not to Rent-a-mod)

#3 Alestance

Alestance

    Saint Alestance - Eliminator of the ZGP format

  • Members
  • Real Name:Lonk
  • Location:Pennsylvania

Posted 10 April 2010 - 11:23 AM

Joe recently released an "Inverse Circle" method to make situations like this easier.

So, I moved this over to Script Requests.

#4 Joe123

Joe123

    Retired

  • Members

Posted 11 April 2010 - 12:49 PM

The only problem is that it looks really funky whilst you're scrolling screens =(

#5 Xiion

Xiion

    Senior

  • Members

Posted 13 April 2010 - 08:54 AM

I wrote one of these a while back, but its probably horribly out of date by now. You can find it here: http://www.purezc.co...o...c=36686&hl=

Even lets you light torches. Its a little funky along the top edge, and screen transitions are ok, i think. It's pretty old though, and it could probably be re-written with newer code/functions, if it still even works at all. Try it out. If it works, yay, if not, it could be a good basis for an upgrade.

#6 dark link 130

dark link 130

    Junior

  • Members
  • Real Name:I'm a human, do not say that im an alien. DO NOT.
  • Location:earth. not planet irk.

Posted 24 April 2010 - 06:15 PM

You got the script to scroll screens? i checked the forums and they dont openly show it(i think), where would i find it?

#7 Plissken

Plissken

    What's with these homies dissing our girls?

  • Members

Posted 24 April 2010 - 08:05 PM

He's talking about the built in scrolling inbetween screens.

#8 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 25 April 2010 - 12:55 AM

I still like the '22 triangles' approach, or even better: the four rectangles and a drawtile method instead of lots of lines.

#9 Joe123

Joe123

    Retired

  • Members

Posted 25 April 2010 - 08:15 AM

Writing it with scanlines was easy to do, if you write a better one with triangles I'm happy to use that.

#10 Lemon

Lemon

    Legend

  • Members

Posted 29 May 2010 - 03:04 PM

So before I test this, because it's for something very far off in the future for my game; would that script allow me to have the following work? I won't get to it for a very, very long time, but it's a fun idea.
  • Hero will have the candle at this point, if he has equipped small ring of light, (24 pixels extended from the character sprite) if not equip, only 16.
  • Hero later receives lantern, which as an item does nothing, but when equip it provides 42 pixels of visibility extended from the hero sprite.
  • Have the "darkness area" cover an entire dmap?
  • Have a few torch combos lit up on the screen that also provide light, besides the ones surrounding link. (Though would the tiles overlap or would they meld together?)
If so, that'd be fantastic and a wonderful challenge for the player (get through a dark forest with only your sword, ho ho), and would be a great way to add environment to a lot of areas.

Edited by Lemon, 29 May 2010 - 03:05 PM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users