Image:
 Author: Xray Group: Default Filesize: 16.3 kB Date added: 2013-11-08 Rating: 5 Downloads: 922 Views: 625 Comments: 10 Ratings: 1 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
Flashing RR crossing lights.
You'll need to define the global variable scene.my.flash. You can do that in the console like this: scene.my.flash:=false
The script for the lights are in the red circle for each light. The light on the left contains the timer script plus the alternating color script. The light on the right contains only the alternating color script for the right side.
UPDATE: I modified the code, and it's much simpler now. Each red light has its own script, and you do not need to define any variables! |
Last edited at 2013/11/08 01:42:57 by Xray
Please log in to rate this scene
|