Skip to main content

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. This engine have features like OpenGL and OpenAL!

PyGame Renderer is no longer supported, only OpenGL!

📋 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
Filters We home a huge amount of filters for your game(Blur, Neon, ...) ✅ Functional
Lighting System Dynamic lights and shadows 🔄 WIP
Particle Effects Particle system 🔄 WIP
Image Embedding Convert assets to Python code ⚠️ Useless
Modular Architecture Easy to extend and customize :)

Code Statistics

See this file

TestPyPi

PyPi

Changelog

🚀 Quick Start

Installation

# First of all, install python 3.9+ (Not tested on older versions)
# Then you can install either from pypy or testpypi
pip install lunaengine
pip install -i https://test.pypi.org/simple/ lunaengine

Ignore

# Install dependencies
pip install -r requirements.txt

# Run a basic example
python examples/ui_comprehensive_demo.py

Requirements

Core Dependencies (required):

pygame>=2.5.0
numpy>=1.21.0
PyOpenGL>=3.1.0
PyOpenGL-accelerate>=3.1.0
PyOpenAL

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+
  • OpenGL come activated by default

Network

ToDo

Star History Chart

Project details


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.2.3.tar.gz (212.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lunaengine-0.2.3-py3-none-any.whl (224.7 kB view details)

Uploaded Python 3

File details

Details for the file lunaengine-0.2.3.tar.gz.

File metadata

  • Download URL: lunaengine-0.2.3.tar.gz
  • Upload date:
  • Size: 212.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for lunaengine-0.2.3.tar.gz
Algorithm Hash digest
SHA256 418a70e17924762ec180b1ecc99e5c2e26816983203f30eefbeeac454bbe1a41
MD5 b896093c3c515097f3b710c1e7708c00
BLAKE2b-256 ed76111d8a1c62bf75980f5c45ec6126726bdffcdd75bf6f6a3a400db1f845fa

See more details on using hashes here.

File details

Details for the file lunaengine-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: lunaengine-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 224.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for lunaengine-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 65e836678bd407f65ed39c0c35359f7a078e407298f219c32b8ecd50c40edafb
MD5 e184b21e9df60021eaa8ace80f3a9766
BLAKE2b-256 eab815e0a589277dd71ea036c29d1af60f49a6cea54ec00207bef96b86dc8b54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page