alice-teacher Alice 3.0 - getJoint Function

Scott Hogben srhogben at comcast.net
Wed Oct 15 19:57:37 EDT 2014


Is there anyone who can try to tell me where I can started with the Alice
material?  I have tried several times to find some basic information on how
to use the program and how it can be used in the classroom.  Thank you.

 

SCOTT

 

From: alice-teachers-bounces+srhogben=comcast.net at lists.andrew.cmu.edu
[mailto:alice-teachers-bounces+srhogben=comcast.net at lists.andrew.cmu.edu] On
Behalf Of Don Slater
Sent: Wednesday, October 15, 2014 10:47 AM
To: Frank Hulsman; Alice Teachers
Subject: Re: alice-teacher Alice 3.0 - getJoint Function

 

You have certainly identified some issues (I can count at least three) we
need to look at.

 

But to solve your problem, try this:

 

1) Save the world with the broken dragon (just in case).

2) Delete all the dragons from the world, and save it again, under a
different name.

3) Reopen the world that does not have the dragons in it, and you should now
be able to add a good dragon from the gallery.

 

Let me know if this does not work.

 

All the best,

Don Slater

 

On Oct 15, 2014, at 10:00 AM, Frank Hulsman <frankhulsman at yahoo.com> wrote:





In Alice 3.0, I have a student who inadvertently changed one of the
functions of a quadreped and now we cannot figure out how to get it back to
the original code.

 

Details:

1.  He added a dragon to his scene.

2.  In the function getLeftWingBase, it had a return statement of return
this.getJoint(LEFT_WING_BASE)

3.  He changed it to return this.getLeftWingBase

 

Question:  How can we restore this function to its original code?

 

Affect:  Every dragon we add, even new ones, has the revised, incorrect
code.  

If we export a dragon from another computer, and import the class, the
incorrect function is not repaired.

If we export the modified dragon, to another computer, the imported dragon
has the incorrect code.

 

Frank Hulsman

St. Xavier High School 

Louisville, Ky 40217

frankhulsman at yahoo.com

_______________________________________________
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/20141015/77d3c02b/attachment.html 


More information about the alice-teachers mailing list