User Tools

Site Tools


public:t-vien-07-1:lab_6_materials

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

public:t-vien-07-1:lab_6_materials [2007/02/16 20:47]
hannes
public:t-vien-07-1:lab_6_materials [2008/01/03 11:04] (current)
hannes
Line 13: Line 13:
  
   * Download and unzip the [[http://www.ru.is/kennarar/hannes/classes/ve2007/Lab6Assets.zip|Lab 6 Asset File]] into your working directory   * Download and unzip the [[http://www.ru.is/kennarar/hannes/classes/ve2007/Lab6Assets.zip|Lab 6 Asset File]] into your working directory
 +
  
  
Line 95: Line 96:
   - Now add some landmarks to your world and have them show up on your map as little red squares.  You can use the **Models/box.egg** object.  Initialize a few of these boxes by storing a list if (x,y) tuples and then iterate through the list to place them in the world.  You should also be able to send the list directly into the map's **addLandmarks** method and have the locations of the boxes light up.  You'll need to fill in the rest of that method.  Test to see if this is all working.   - Now add some landmarks to your world and have them show up on your map as little red squares.  You can use the **Models/box.egg** object.  Initialize a few of these boxes by storing a list if (x,y) tuples and then iterate through the list to place them in the world.  You should also be able to send the list directly into the map's **addLandmarks** method and have the locations of the boxes light up.  You'll need to fill in the rest of that method.  Test to see if this is all working.
   - If you feel adventurous, change this application into a game where the health bar starts to drop as time passes and the only way to regain full health is to touch a box, which then disappears.  You win the game if you reach all the boxes.  By randomizing the initial box locations, you'll really need the map to help you play this game.      - If you feel adventurous, change this application into a game where the health bar starts to drop as time passes and the only way to regain full health is to touch a box, which then disappears.  You win the game if you reach all the boxes.  By randomizing the initial box locations, you'll really need the map to help you play this game.   
- 
---- 
- 
-You can take a look at a {{public:t-vien-07-1:lab6solution.zip|solution}} to parts 1 - 7 once you've given it a try yourself. 
/var/www/ailab/WWW/wiki/data/pages/public/t-vien-07-1/lab_6_materials.txt ยท Last modified: 2008/01/03 11:04 by hannes