Skip to content

ShivamKR12/CubeCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CubeCraft

A Minecraft-inspired voxel game built with Python and the Panda3D engine.

Features

  • Infinite procedural world generation using Perlin noise.
  • Block mining and placing.
  • Simple inventory and hotbar system.
  • Day/night cycle with a moving sun and moon.
  • Dynamic lighting.
  • Player physics (gravity, jumping, collision).
  • World saving and loading.
  • Cloud layer.

Installation & Running

  1. Clone the repository:

    git clone <your-repo-url>
    cd CubeCraft
  2. Create a virtual environment (recommended):

    python -m venv venv
    # On Windows: venv\Scripts\activate
    # On macOS/Linux: source venv/bin/activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run the game:

    python main.py

Controls

  • W, A, S, D: Move
  • Mouse: Look around
  • Space: Jump
  • Left Click: Mine block
  • Right Click: Place block
  • 1-9: Select hotbar slot
  • F: Toggle No-clip/Fly mode
  • F3: Toggle debug information and wireframe
  • Escape: Pause/Resume game

About

A Voxel Game made in Panda3D with hotbar, world save and load system, day-night cycle, clouds, and much much more...

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Contributors