Author Topic: LIGHT effect  (Read 2073 times)

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
LIGHT effect
« on: June 28, 2012, 07:47:54 PM »
Hi all,im new here and im making Amnesia Dark Decent 2d game and i need light effect for lantern and candles
but i dont know how to make light.
Does anyone know how to make light effect?

Offline Landith

  • Astral Trancist
  • *****
  • Posts: 947
  • LV: 59
  • Gender: Male
    • View Profile
Re: LIGHT effect
« Reply #1 on: June 28, 2012, 08:50:19 PM »
What kind of light effects? If you want something that flickers I have a script that I used to use by kellessdee I can dig up. The coding could be better but overall it's not a bad script.

If you want something like static cosmetic lighting then there's a tutorial on RMXP revolution I saw a long time ago I can find for you.

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: LIGHT effect
« Reply #2 on: June 28, 2012, 09:48:34 PM »
I need light effect around my sprite like using torch or something,that lightness way so i can see in dark,and i need light for standing items like fireplace,candle...etc...

Offline Landith

  • Astral Trancist
  • *****
  • Posts: 947
  • LV: 59
  • Gender: Male
    • View Profile
Re: LIGHT effect
« Reply #3 on: June 29, 2012, 03:33:43 AM »
I still have no idea what you're asking for so I give you both.

Cosmetic Lighting - http://www.hbgames.org/forums/viewtopic.php?t=15030.msg273448

Lighting Script/Demo - http://www.sendspace.com/file/9g6obj

Also Blizzard's Slippy Dark demo has a demo of the torch around the character effect -
Actually you need a 1280x960, it won't work with a 640x480. ;) Here's the demo.

Download

Give credit to the respectful authors as well.
« Last Edit: June 29, 2012, 04:35:10 AM by Landith »