alice-teacher Amusement Park - making objects solid

Milbury, Michael MilburM at culver.org
Thu Oct 6 17:44:33 EDT 2011


Use while, since you want to continuously check to see that the objects are still outside a certain length.



Sent from my iPhone

On Oct 6, 2011, at 5:27 PM, "Emily Higgins" <erphiggins at gmail.com> wrote:

> I, too have trouble with disappearing into the ground.  Any suggestions?
> 
> Emily Higgins
> 
> On Thursday, October 6, 2011, Milbury, Michael <MilburM at culver.org> wrote:
> > One thing you can do is to use one of the distance functions for objects to detect when their center’s are a certain distance from each other.  If you go inside this distance, you can essentially make it so the object bounces off the other object it is approaching.  I hope this makes some sense.  Our student created video games for a major project and had to incorporate this idea.
> >
> >  
> >
> > From: alice-teachers-bounces+milburm=culver.org at lists.andrew.cmu.edu [mailto:alice-teachers-bounces+milburm=culver.org at lists.andrew.cmu.edu] On Behalf Of Bill Kranz
> > Sent: Thursday, October 06, 2011 8:32 AM
> > To: alice-teachers at lists.andrew.cmu.edu
> > Subject: alice-teacher Amusement Park - making objects solid
> >
> >  
> >
> > Hi All!
> >
> >  
> >
> > I am new to Alice and am exploring the program with my programming club first.
> >
> > I have downloaded Alice 2.2 and am running on Windows machines.
> >
> >  
> >
> > The students asked the following questions that I hope I can get some answers here or at least a point in the right direction/tutorial.
> >
> >  
> >
> > In the amusement park example world, I have had a student add an object (Angel for example) and then use that object as the vehicle for the camera.  He then uses the arrow keys to get the object to explore the amusement park world.  How do you get an object to not go through other objects while using the keyboard arrow keys?
> >
> >  
> >
> > Also in the amusement park world, when you explore the world, you slowly sink into the ground (the camera angle is not level with the ground).  How do you change this?
> >
> >  
> >
> > Thanks, in advance, for your help.  Also, if this is not the right forum for this type of question, let me know where a good place would be.
> >
> >  
> >
> > Bill Kranz
> >
> > Computer Technology Teacher
> >
> > Liberty Common High School
> >
> > 1-970-672-5500 x480
> >
> >  
> _______________________________________________
> 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: https://lists.andrew.cmu.edu/mailman/private/alice-teachers/attachments/20111006/9a8fc78c/attachment.html 


More information about the alice-teachers mailing list