Endless Surf 3D is a 3D surfing-themed game developed using Python, PyOpenGL, and GLUT for the CSE423 Computer Graphics project.
The player controls a surfer riding across an endless ocean, avoiding obstacles, collecting coins and power-ups, and surviving as long as possible.
-
3D surfing gameplay
-
Menu and how-to-play screen
-
Pause and restart system
-
Score, coins, distance, and lives HUD
-
Obstacles such as sharks and logs
-
Different coin types:
- Yellow coin: +1
- Purple coin: +5
- Black coin: -10
-
Power-up system
-
Star speed boost
-
Weather system: rain, wind, and clear weather
-
Day/night visual toggle
-
Multiple camera views
-
Cheat modes using keyboard controls
-
Drowning/death animation
- Python
- PyOpenGL
- GLUT
- 3D transformations
- Perspective camera
- Collision detection
- Keyboard and mouse input handling
Install the required packages:
pip install -r requirements.txtRun the game:
python src/main.py- Arrow keys: Move surfer
- P: Pause/Resume
- R: Restart
- C: Change camera view
- K: Cheat mode
- L: Invincibility mode
- ESC: Quit
This project was developed as part of the CSE423 Computer Graphics lab project.