A modern 2D game engine with advanced UI and graphics
Project description
LunaEngine 🚀
A modern, optimized 2D game engine built with Python and Pygame featuring advanced UI systems, procedural lighting, and embedded asset management.
📋 Features
| Feature | Description | Status |
|---|---|---|
| Advanced UI | Roblox Studio-like UI components | ✅ Functional |
| OpenGL Rendering | Hardware-accelerated graphics | ✅ Functional |
| Performance Tools | FPS monitoring, hardware detection | ✅ Functional |
| Themes | The engine have pre-built themes | ✅ Functional |
| Lighting System | Dynamic lights and shadows | 🔄 WIP |
| Particle Effects | Particle system | 🔄 WIP |
| Image Embedding | Convert assets to Python code | ⚠️ Buggy |
| Modular Architecture | Easy to extend and customize |
Code
🚀 Quick Start
Installation
# Install dependencies
pip install -r requirements.txt
# Run a basic example
python examples/basic_game.py
Requirements
Core Dependencies (required):
pygame>=2.5.0
numpy>=1.21.0
PyOpenGL>=3.1.0
PyOpenGL-accelerate>=3.1.0
Development Tools (optional):
black>=22.0.0
flake8>=4.0.0
pytest>=7.0.0
setuptools>=65.0.0
wheel>=0.37.0
twine>=4.0.0
Build
# Make build
python -m build
# Check files
twine check dist/*
# Upload testpypi
twine upload --config-file .pypirc --repository testpypi dist/*
# Upload PyPi
twine upload --config-file .pypirc --repository pypi dist/*
OpenGL
- Require OpenGL 3.3+
LunaEngine("Game Title", screen_width, screen_height, use_opengl=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lunaengine-0.1.5.tar.gz
(100.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lunaengine-0.1.5-py3-none-any.whl
(110.1 kB
view details)
File details
Details for the file lunaengine-0.1.5.tar.gz.
File metadata
- Download URL: lunaengine-0.1.5.tar.gz
- Upload date:
- Size: 100.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dc7806e9b3e56910bd96d6787112bbc9c13cc1aa7c4ec0d86f34253fd21fd7f
|
|
| MD5 |
95a801edad0c78105101d033a8cdfe91
|
|
| BLAKE2b-256 |
419c98573040555a45493cc0956597f6cf3c466ec0170a5bb6c2bd9c3ddb6eb0
|
File details
Details for the file lunaengine-0.1.5-py3-none-any.whl.
File metadata
- Download URL: lunaengine-0.1.5-py3-none-any.whl
- Upload date:
- Size: 110.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c4416dff91d7366937a355d822187505a0851d57770eeeff450645253c4d34b
|
|
| MD5 |
1a48810db8f5464d97f604e1eae8a28b
|
|
| BLAKE2b-256 |
65c8564973e994d6469f585083869e079775080c6a4b0592d83664d9745c7fce
|