Students

Game Camp 2008 Example Scenarios

Here are example scenarios for Game Camp 2008 that you may find useful.

Game0:  Not quite a game yet, move the Bee to get the flowers

Game1: An actual game, get the flowers before the time runs out.  Use class variable for numSoFar and numFlowers to determine if you have visited all the Flowers.  Win/lose conveyed to player via System.out.println.

Game2:  Same as game 1 but now the flower vibrate after then have been pollinated.  This is done with the getJumpDistance() and setJumpDistance() methods added to Flower.

Assignments

Here is a list of programming assignments.

 

  • GameState Step1. Goal: to learn how to write the code that drives game state changes.
  • GameState Step2. Goal: to learn how to write the code that drives game state changes.
  • Animation.  Goal: to learn how to support multiple levels with game states.

 

Scenario Examples

Attached here are a few example scenarios.  
We suggest you go through them in this order:
  • BackForth_1.zip:  Demos simple back and for actor movement with  hard coded boundaries.
  • BackForth_2.zip:  Adds methods "CanMoveLeft() and CanMoveRight() which checkthe boundaries using getWorld().getWidth() instead of hardcoding a specific value. 

Programming Text (2008)

This page has (will have) all the programming chapters attached.  

Syndicate content