alice-teacher Alice 3 Beta version 3.0.3.20

Lance Allen lanceallen.allen at gmail.com
Sun Dec 11 13:59:57 EST 2011


I recently downloaded Alice 3Beta. I created a new project using the
MoonProject.a3p template. This simply shows a moons surface with a black
sky. When the program runs I want the moon's surface to change to a purple
color. I would have thought the obvious place for this code would be in
MyScene -->MyMoonSurface-->Edit constructor, since you use a class
constructor to instantiate the object. However when I run the project the
color of the moon's surface does not change.Instead if I place the code in
the run procedure and play the program there is a slight delay and then you
see the surface change to purple.

Can anyone help me understand why placing the code in the class constructor
does not work? Thank you in advance.
Lance Allen



--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/alice-teachers/attachments/20111211/af3f201b/attachment.html 


More information about the alice-teachers mailing list