Lab 5 - A 3D World
Objectives
- Be able to create rooms with a map file
- Be able to handle collisions
- Create a path finding bot
- Download the chapter 12 source code and import into Eclipse.
- Try out PathFindingTest. You may want to edit the map file to
remove the "aggressivebots" so that you can explore a bit without those
troublesome creatures hounding you. I also found it desirable to
increase the lighting intensity so that I could see better.
- Since we have been poking around the map file, you can see a rough
sketch of the rooms on p614 of your text. Edit the file to create
another room off the "south room". Make the room more than just a
simple rectangle and have at least some portion of the room not visible from
the starting room.
- Add a cube in your new room.
- Add collision detection to the player so that if you collide with a
cube, the cube disappears as if you picked it up.
- Add a path finding bot to your new room. Locate the bot somewhere
where it can't initially see you as you start the game.
- Email the modified files to me for grading.