Lantern "light halo" effect

Started by Laura Hunt, Thu 26/09/2019 09:13:11

Previous topic - Next topic

eri0o

Hey, which approach did you ended up using? :)

Laura Hunt

Quote from: eri0o on Sat 01/08/2020 23:34:09
Hey, which approach did you ended up using? :)

Hey! I went with your suggestion of using a big black rectangle with a hole in the middle, and put it on a GUI instead of making it a character. But Thomas wants to make a flickering effect for the halo, so I'll probably end up implementing it as an animated object instead, if it doesn't impact performance too much. I also used the very useful TweenMaths.GetDistance property to ignore objects or hotspots outside of the lantern radius :)

Cassiebsg

You could maybe add the flickering effect animation as a non-clickable button above the hole?  ;)
There are those who believe that life here began out there...

eri0o

I think this module still works, it extends GUIs so you can animate their backgrounds like other things, in case this is useful. I use in my game, I don't remember if I had to modify it's code.

https://www.adventuregamestudio.co.uk/forums/index.php?topic=29113.msg370611#msg370611


SMF spam blocked by CleanTalk