toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
how to add working street lights?
BranFlizGames
Member
Posts:
91
October 2011
edited November -1
in
Working with GS (Mac)
i need working street lights..like where it will go from red to green then lets say in 10 seconds it goes back to red...how do i do it?
Comments
0belisk
PRO
Posts:
189
October 2011
Make two separate images, one that the green is illuminated, one that the red is illuminated.
Actor: Street Light (Green)
Timer
After 10 seconds
Destroy this actor
Spawn Actor
Street Light (Red)
------------------------
Actor: Street Light (Red)
Timer
After 10 seconds
Destroy this actor
Spawn Actor
Street Light (Green)
For both spawn Actor setting, leave both Relative to Actor, and leave the X & Y positions values at 0.
If you want to make it look fancier, then make a "Animate" behaviour for each actor, then design a few extra frames of each image to your desire.
freon1200
Member
Posts:
50
October 2011
another option, tho it might not look as realisic, if its a dark background, you can put the lights all in with alpha set to 0.3 or somethin like that,(experiment a little) then when you want them lit up change alpha to 1.
Sign In
or
Register
to comment.
Comments
Actor: Street Light (Green)
Timer
After 10 seconds
Destroy this actor
Spawn Actor
Street Light (Red)
------------------------
Actor: Street Light (Red)
Timer
After 10 seconds
Destroy this actor
Spawn Actor
Street Light (Green)
For both spawn Actor setting, leave both Relative to Actor, and leave the X & Y positions values at 0.
If you want to make it look fancier, then make a "Animate" behaviour for each actor, then design a few extra frames of each image to your desire.