interactive scripting - CGR C/092 - fall 2004
Philip van Allen - v a n a l l e n @ a r t c e n t e r . e d u

room 142, Monday 4:00pm-7:00pm
all materials on this web site © copyright 2004, Philip van Allen
 
week 08a - proj 3, keyboard, collision detection, move clips

project 3 : 


make a game - due week 10

Create a game where the user wins by achieving a certain score. The game must include all of the techniques learned this week:

  • detect keyboard presses and use them for playing the game
  • use collision detection to determine when a score is made
    • this can be implemented by actual collisions with the user's character (as in the paddle example), or by projectiles from the user's character (as in the bug example)
  • move clips around on the screen at any arbitrary angle

The game should have the following features:

  • display the current score
  • when a certain score is achieved, display some kind of winning animation or other presentation
  • scores are made by colliding one thing into another thing
  • the targets must move on the screen
  • there must be a total of at least 15 target opportunities. They can appear all at once, or in sequence. Recycling hit or lost targets is okay, if they are reset and repositioned on the stage.

Implement at least one of the following additional features:

  • make a way for the user to lose points; for example, if they miss a target a point is deducted.
  • limit the amount of ammunition or firing attempts, so the user loses if they don't get enough points when they run out
  • limit the amount of time available for playing the game
  • make the targets move randomly
  • deduct points or end the game of a target hits the user's character

The class of week nine will be mostly lab time for you to work on your project. You must bring your work to class and be prepared to work on the project. The instructor will be available for working with you, answering questions and helping with problems.



all materials on this web site © copyright 2004, Philip van Allen

top