The Lightweight Python Game Engine
Aspis Engine is a modern, cross-platform 2D game engine built for rapid prototyping and flexibility. Powered by Python 3, PySide6, and Pygame, it offers a familiar and powerful environment for developers to create 2D games without the overhead of massive commercial engines.
Want the standalone executable?
Open aspis site to download the latest version of Aspis Engine (Windows x64).
- Scene Composition: Drag-and-drop hierarchy management.
- Inspector: Real-time property editing for all components.
- Asset Browser: Built-in file management for scripts, sprites, and scenes.
- Gizmos: Visual aids for colliders and transforms.
- Native Python: Write game logic in standard Python files (
.py). - Hot-Reloading: Edit scripts while the editor runs (limited support).
- API: Simple, intuitive API for
start(),update(dt), and component access.
- Flexible Design: Compose complex behaviors by attaching simple, single-purpose components.
- Performance: Logic is decoupled from data, allowing for optimized processing.
- Pymunk Integration: Robust 2D rigid body physics.
- Collision Detection: Box and Circle colliders with continuous collision detection (CCD).
- Dynamics: Gravity, friction, restitution (bounciness), and drag.
- Sprite Renderer: High-performance 2D sprite rendering with tinting and layering.
- Text Rendering: Dynamic text support with caching optimization.
- Camera System: Zoomable, movable 2D cameras with smooth tracking.
If you prefer to run from source or contribute to the engine:
-
Clone the repository.
-
Install dependencies:
pip install -r requirements.txt
-
Run the Editor:
python editor/app.py
-
Run a Scene Directly:
python run_demo.py
Or run a custom scene:
python run_demo.py scenes/animation_demo.scene.json
- Demos: Check the
scenes/folder for demo scenes (knight_demo.scene.jsonandanimation_demo.scene.json). - Source Code: The codebase is modular and documented, serving as the primary reference for advanced users.
Open Source (GPL-3.0). Powered by Python, PySide6, and Pygame.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.
