Find the Snitch
471 Final By Jeremy Lee
Controls
- W - Move Forward
- A - Move Backwards
- S - Move to the Left
- D - Move to the Right
- Trackpad - rotate camera
- Z - Editor View
Features
- First person game camera
- Blinn Phoung Shading modified with distance function based on camera location
- Sine wave up and down bounce when moving
- Collision with tree trunks based on camera's bounding box
- Snow effect particles that follow camera's position and look at
- Hierarchacal animated snitch
- Texture mapped bunny and ground
Notes
- Player start the game in the middle of a 6x6 grid of trees
- The girl represents player's starting position and stays there the whole game
- The snitch spawns at a random visible location in the middle of the forest
- The bunny spawns at a random location relatively close to the snitch
- The snitch disappears once the player runs into it
Start your journey
Explore the forest
Don't lose your way
Find clues
What is that?
Grab the snitch
Resources
- https://stackoverflow.com/questions/7748071/same-random-numbers-every-time-i-run-the-program
- https://learnopengl.com/Advanced-Lighting/Advanced-Lighting