| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Assignment - Events - Troll vs Toys

Page history last edited by Steve Sweeney 10 years, 7 months ago

Initial Scene:

 

A troll sitting in the middle of a room with 3 different child’s toys on the floor around the troll.

 

Problem:

 

Write a program so that when the user clicks on a toy, the troll moves to the toy, points his/her club

at the toy and the toy disappears. The troll then returns to his/her original position in the room

and waits until the user clicks on the next toy.

 

Assessment:

 

Level 1 - create initial scene, toy(s) disappear when the world starts (no clicking by user)

Level 2 - multiple or single event handler, some errors

Level 3 - toy clicked on disappears when the user clicks on it - multiple event handlers - correct implementation

Level 4 - toy clicked on disappears when the user clicks on it - single event handler

 

Animation and overall presentation quality will determine adjustments to your grade level.

Comments (0)

You don't have permission to comment on this page.