Collect all stars and find the goal!
- Basic character movement and handle when collide with walls
- Show the 2D direction to goal position by using compass
- Collect object when walk through
- Jumping simulation
- Apply skybox for background
- Light mode : flashlight and spotlight
- Using instancing to create lost of rocks (100)
- Create shadow
- W A S D : move forward left backward and right
- MOUSE : rotate camera along x y axis (only in 1st person view)
- SPACE : jump
- TAB : change view mode between 1st person view (flashlight) and 3rd person view (spotlight from above)
You have to find the goal of this maze and also collect all stars for open it. when you collect then all, the spotlight will be on at the goal position. You can jumping to see the surroundings and use compass to navigate the way to goal.
maze.mp4
Study from https://learnopengl.com/ and also some of the code.