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.

📋 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

See this file TestPyPi PyPi

🚀 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


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.4.2.tar.gz (95.7 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.1.4.2-py3-none-any.whl (105.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lunaengine-0.1.4.2.tar.gz
Algorithm Hash digest
SHA256 d5d1fe189fb4280adb2d7d693e25b7e1d0a61d1839c1a48410caff139e992000
MD5 0bcd626b465d25772050dd7655bf9597
BLAKE2b-256 00cd6c07539ede19266b1a3c1d8a68904c66885dbbc95102da3d010b74bc4c74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lunaengine-0.1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 105.5 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.1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b0205770a3d475cb19918b73ea27d82f6d87afc9faeea23d47f540649ac93591
MD5 6dd414c482b9364c94c07ac1eaaaae02
BLAKE2b-256 9ec9484f1c9b913ac099b9765bd7eccfa08153bb6a895b091a28eb7eb14c77d8

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