https://github.com/adil-bikiev/minecraft-demo
A simple Minecraft-style ๐งฑ block builder made with Ursina ๐ฎ and Panda3D ๐ผ. Move around, place cubes with ๐ฟ grass texture, and destroy them with a click! Perfect for learning 3D interaction and game mechanics in Python ๐.
https://github.com/adil-bikiev/minecraft-demo
game-engine gamedev minecraft minecraft-clone panda3d panda3d-game-engine python3 ursina-engine
Last synced: 4 months ago
JSON representation
A simple Minecraft-style ๐งฑ block builder made with Ursina ๐ฎ and Panda3D ๐ผ. Move around, place cubes with ๐ฟ grass texture, and destroy them with a click! Perfect for learning 3D interaction and game mechanics in Python ๐.
- Host: GitHub
- URL: https://github.com/adil-bikiev/minecraft-demo
- Owner: Adil-Bikiev
- License: mit
- Created: 2025-05-18T12:41:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-18T13:21:10.000Z (about 1 year ago)
- Last Synced: 2025-08-08T04:29:20.685Z (11 months ago)
- Topics: game-engine, gamedev, minecraft, minecraft-clone, panda3d, panda3d-game-engine, python3, ursina-engine
- Language: Python
- Homepage:
- Size: 5.05 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ฉ Minecraft-Demo
A lightweight Minecraft-style block-building demo built with the [Ursina Engine](https://www.ursinaengine.org/).
This project features interactive block placement and removal in a first-person 3D world rendered using Panda3D.
## โจ Features
- ๐ฑ **Procedural Ground Generation**: A 20x20 grid of grass-textured cubes creates the initial terrain.
- ๐งฑ **Block Placement**: Left-click on a cube to place another one in the direction you're pointing.
- โ **Block Destruction**: Right-click on a cube to remove it.
- ๐ฎ **First-Person Controller**: Move with WASD, look around with the mouse.
- ๐ก **Visual Feedback**: Cubes darken slightly on hover and press for interaction clarity.
- ๐ผ๏ธ **Texturing**: Cubes use a `grass.png` texture applied dynamically to all blocks.
## Requirements
- Python 3.7 or higher
- [Ursina](https://pypi.org/project/ursina/)
- [Panda3D](https://www.panda3d.org/)
## Installation
1. Clone or download the repository.
```bash
git clone https://github.com/Adil-Bikiev/Minecraft-Demo.git
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Run the app:
```bash
python main.py
```
## Screenshots



## ๐ฎ Controls
| Key / Mouse | Action |
| ------------------ | ------------------- |
| `W`, `A`, `S`, `D` | Move the player |
| Mouse Move | Look around |
| Left Mouse Click | Place a new cube |
| Right Mouse Click | Remove hovered cube |
## Notes
* Make sure `grass.png` is in the same directory as your script.
* The project uses OpenGL 2.1 via Panda3D for compatibility.
## ๐งพ License
This project is licensed under the [MIT License](LICENSE).
You are free to use, modify, and distribute this software as you like.