OK, i see that a lot of people are asking about this on nearly every form alive.
I even wanted to learn how to do Light effects for a Characters Flash light or a lantern.
So i decided to try it out and make an event system that does such a thing.
Every thing that is needed to do such a task is enclosed in the demo, along with a few exsamples on how to use the flash light:
use by an item
use by a button
use by a switch
There are also detailed comments on why i did this or that to help explain what i was thinking.
Whats being used: "These can be changed to what ever you want them to be"
- Switches -
1 = Flash light - for use with button togle and Item
2 = Flash light button on - for Button comon event to be Parallel
- Variables -
1 = Screen X - for X placement of Light Picture
2 = Screen Y - for Y placement of Light Picture
- Commons -
1 = Flash Light
2 = Toggle on and off
3 = Button Pressing
NOTE: This is realy basic, it works yes but its not like true light... it will pass through walls and objects, and does not cast any shadows.
Post your questions/ comments bellow.