TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
How would you make light?
Pages:
1
How would you make light?
00george
Posts: 161
May 05, 2012, 01:58:07 pm
I have been thinking about it and I am completly stuck. So how would you do this?
Hectate
Posts: 4643
May 05, 2012, 02:21:55 pm
Your question contains insufficient information to ensure an accurate response. If you can describe what light effect you're trying to accomplish then maybe we can narrow down the options.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.
00george
Posts: 161
May 06, 2012, 12:48:50 am
Sorry for not giving enough information. I wanted to try and create night and day. So you know when its like 6pm it gets dark. But if you place a torch it will create light so you can see better. I have already done the time.
Ryusui
Posts: 827
May 06, 2012, 01:30:37 am
The simplest solution I can think of is to create a "darkness" actor the size of the screen and anchor it to the screen, then adjust its opacity/alpha as necessary.
You won't be able to make "pockets" of light this way, but if you check the player's distance from all possible light sources, you can brighten the entire screen when the player is close to a light source.
In the event of a firestorm, the salad bar will remain open.
Pages:
1