Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Questions and Comments (http://www.alice.org/community/forumdisplay.php?f=9)
-   -   About the change of atmosphere (http://www.alice.org/community/showthread.php?t=8394)

Javier Lagunas Avila 04-22-2012 12:23 AM

About the change of atmosphere
 
In this moment I do a simulation of moving a car, its like a video game, I use some events to move my car, but my problem itīs that I change the atmosphere to black but I want to return to the original color (with the ground).

I have the original ground, next I change the atmosphere to black, but I donīt now how to return to the original color.

Could you answer my question please?

Thanks

Javier

x2495iiii 04-22-2012 01:17 AM

I personally don't know how to get it directly to its original shade, but I know how to get a variable to its original shade.

Just create a new global variable, set the type to color, then at the start of your world, when the sky is still blue, set the variable's value to the color of the sky.

Then when you want to change the sky back to blue, set its color to the value of the variable.

arty-fishL 04-22-2012 10:07 AM

The original sky colour is RGB(74, 124, 204).
So, when changing it back, pick "other..." from the drop down menu, click one RGB tab and do this:

[IMG]http://dl.dropbox.com/u/67774614/skyColour.png[/IMG]


All times are GMT -5. The time now is 09:25 PM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x Đ 1999-2012, Alice 3.x Đ 2008-2012, Carnegie Mellon University. All rights reserved.