The Python city

The Python city

0 devlogs
0h 0m

We are creating a 3D open-world game inspired by GTA V and Vice City using PyGame and PyOpenGL.
However, note that creating a fully realistic 3D game with human-like NPCs and real cars is an enormous task.
We'll create a simplified version with:
- A 3D environment (city blocks, roads, buildings)
- Basic car physics
- NPCs (as simple 3D models) that walk around
- Player controls (driving, walking, shooting)
Due to complexity, we'll use:
- PyGame for window management, input, and 2D rendering (for HUD)
- PyOpenGL for 3D rendering
We'll structure the code as follows:
1. Setup: PyGame window, OpenGL context, and basic OpenGL settings.
2. Models: Define 3D models for cars, buildings, NPCs, and the player.
3. Textures: Load textures for models.
4. World: Generate a city with buildings and roads.
5. Camera: A third-person camera that follows the player.
6. Player: A controllable character that can drive cars and walk.
7. NPCs: Simple AI for NPCs to walk around.
8. Physics: Basic collision detection and car physics.
9. Game Loop: Handle input, update game state, and render.