alice-teacher array collision Alice3

Michael L Owen mrgrog at outlook.com
Thu Jun 11 16:15:41 EDT 2015


Pretty much the same as in Alice2. 
1) You drag one of the array objects into the method, and set it's opacity to zero.
2) Down-click the object and change it to the "i-th" item from the array that was found in your loop.
 
Try dragging the car around in the attached A-3-5-2 world.
 
Mike Owen
  
 
> From: alice-teachers-request at lists.andrew.cmu.edu
> Subject: alice-teachers Digest, Vol 58, Issue 7
> To: alice-teachers at lists.andrew.cmu.edu
> Date: Thu, 11 Jun 2015 12:00:12 -0400
> 
> Send alice-teachers mailing list submissions to
> 	alice-teachers at lists.andrew.cmu.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> or, via email, send a message with subject or body 'help' to
> 	alice-teachers-request at lists.andrew.cmu.edu
> 
> You can reach the person managing the list at
> 	alice-teachers-owner at lists.andrew.cmu.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of alice-teachers digest..."
> 
> 
> Today's Topics:
> 
>    1.  array collision Alice3 (JOHNSON JULIE M.)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 10 Jun 2015 13:43:14 +0000
> From: "JOHNSON JULIE M." <JJOHNSON at williamsvillek12.org>
> Subject: alice-teacher array collision Alice3
> To: "'alice-teachers at lists.andrew.cmu.edu'"
> 	<alice-teachers at lists.andrew.cmu.edu>
> Message-ID:
> 	<4974aeb57e68440281bfce6862a15c43 at EXCAS2.williamsvillek12.net>
> Content-Type: text/plain; charset="us-ascii"
> 
> How do you take an object and when it collides with one of the objects from the array have the object hit's opacity turn to 0?  I can do collision and have the hitting object disappear or turn or move but do not know how to make the object hit disappear.  I assumed you would do this in the collision starter also but could be wrong.
> Thanks.  Julie Johnson
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20150610/0c319234/attachment-0001.html 
> 
> ------------------------------
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> 
> 
> End of alice-teachers Digest, Vol 58, Issue 7
> *********************************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20150611/b16962fe/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Proximity.zip
Type: application/zip
Size: 40098 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20150611/b16962fe/attachment.zip 


More information about the alice-teachers mailing list