alice-teacher Dynamic object creation in an Alice world

Mark Miller mlmiller at learningtech.org
Fri Jul 26 11:20:07 EDT 2013


I don't think so (as of v2.x anyway) but you could pre-create a healthy number and make them visible as needed.

Mark L. Miller, Ph.D.
President and Executive Director
Learningtech.org
mlmiller at learningtech.org
650-598-0105 x203

On Jul 26, 2013, at 7:26 AM, André Gustavo Schaeffer <andre_schaeffer at yahoo.com.br> wrote:

> Hi all!
>  
> Is it possible to make the creation of dynamic objects in an Alice world?
> For example, in a simulation, within a loop, I want a car pass every 5 seconds (or variable period of time) through the screen.
> For each one, if they can’t go ahead due some reason, they will have to wait in a queue (a street intersection with a traffic light, for example). 
> But I don’t know how long the simulation will take.
> So, I don’t know how many cars to drag to setup the world.
> In Java there are methods for dynamic creation and destruction of objects, dialog boxes, etc..
> Is it possible to do this in Alice (version 2 or 3) ?
> Thank you!
> 
> Andre Gustavo Schaeffer
> andre_schaeffer at yahoo.com.br
> https://sites.google.com/site/andregustavoschaeffer
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130726/a2a2187f/attachment.html 


More information about the alice-teachers mailing list