Mike Ware on Alice

Mike Ware on Alice

<p> Lecture 6 – September 13, 2007 Mike Ware on Alice</p><p>"Terence_WashingtonDance.a2w" world from this site: http://coweb.cc.gatech.edu/ice- dev/111 </p><p>"Objects and Arrays" world from this site: http://www.personal.psu.edu/jas86/research/aliceworlds.html</p><p>Alice is an object-based but not full-fledged OOP language because it lacks inheritance, encapsulations, and polymorphism. We looked at an existing program: attributes methods creating events briefly talked about control structures if looping do together – concurrency input key presses mouse clicks output object movements people talking sound</p><p>We discussed no syntax errors since Alice environment dictates what you can do concurrency in Java vs. Alice in Java, have to use threads in Alice, it’s built-in</p><p>We did not talk about functions – it’s something for you to explore</p><p>Alice - Your First World In-class assignment: Create a world where a "person" object has a magnet (in the Objects folder) held out in the person's left hand. Add three metallic objects (in the Objects folder) of your choice to the world and one by one have the person point the magnet at each object. As the person points the magnet toward an object, have the object move to the magnet. Have the last object be very large (perhaps a car from the Vehicles folder) so when the person points at it, the person is instead pulled toward the object WHILE saying something like "Whoa!" or "Yikes!".</p><p>At a minimum, your program should do the above. Then, you can add whatever you would like to your world: sound, user input, animation, different camera views, etc.</p><p>HINTS: (1) use the vehicle property for help in making the object move in coordination with the person's hand (2) use the move toward method to make an object move toward another object (3) use the orient to method to orient objects with the person</p><p>RESOURCES: Alice website: www.alice.org Alice tutorial: http://www.dickbaldwin.com/alice/Alice0920.htm</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us