Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

ecnivs/voxel-engine

Repository files navigation

Voxel Engine

Voxel renderer with pygame

swappy-20241017-160041

Overview

This project demonstrates a functional Voxel Engine built in Python, designed to create and interact with 3D block-based worlds. It provides a fully developed example of voxel world generation and manipulation, serving as a foundation for further development or customization.

Prerequisites

  • Python 3.x
    • moderngl pip install moderngl
    • pygame pip install pygame
    • sys
    • random
    • noise pip install noise
    • numpy pip install numpy
    • glm pip install pyglm
    • math
    • numba pip install numba
    • opensimplex pip install opensimplex

Installation

  1. Clone the repository:
git clone https://github.com/ecnivs/VoxelEngine.git
cd VoxelEngine
  1. Install dependencies:
pip install moderngl pygame noise numpy glm numba opensimplex
  1. Run the Software:
python main.py

Controls

  • W: Move forward
  • S: Move back
  • A: Move left
  • D: Move right
  • Space: Move Up
  • L_CTRL: Move Down
  • L_Shift: Sprint
  • Mouse Movement
  • Left Mouse Button: Remove block
  • Right Mouse Button: Place block
  • 1-7: Change block

Thank you for checking out this project!

About

Voxel renderer with pygame

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published