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

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:t-vien-07-1:lab_6_materials [2007/02/16 20:47] hannespublic:t-vien-07-1:lab_6_materials [2024/04/29 13:33] (current) – external edit 127.0.0.1
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/cadia.ru.is/wiki/data/attic/public/t-vien-07-1/lab_6_materials.1171658873.txt.gz · Last modified: 2024/04/29 13:33 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki