Skip to content

vibestorming/python-voxel-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-voxel-engine

Voxel engine made using Python, Pygame and OpenGL

Introduction

This project enables you to generate and render voxel-based 3D worlds, which can be a foundation for various games, simulations, or interactive 3D applications.

Prerequisites

Before you can use this program, you need to ensure that you have the following prerequisites installed:

  • Python
  • UV

To install UV, you can use pip:

pip install uv

Usage

  1. Clone this repo.
  2. Navigate to the project folder.
  3. Install the dependencies
uv install
  1. Run the program using UV:
uv run python src/main.py

Controls

  • Mouse: Control the camera's orientation. Move the mouse to look around and explore the game world from different angles.
  • W: Move forward, advancing in the direction you're facing.
  • A: Move to the left.
  • D: Move to the right.
  • S: Move backward.
  • Space: Go upward or ascend.
  • Left Control: Go downward or descend.
  • Escape: Exit the program.

About

Voxel engine made using Python, Pygame and OpenGL.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •