Pedre Documentation¶
Welcome to the Pedre documentation! Pedre is a Python RPG framework built on Arcade with seamless Tiled map editor integration.
What is Pedre?¶
Pedre provides everything you need to build Zelda-like RPG games with:
- Tiled Map Integration - Load .tmx maps with automatic layer detection
- NPC Plugin - Animated NPCs with dialog trees and pathfinding
- Dialog Plugin - Multi-page conversations with character names
- Event-Driven Scripting - JSON-based cutscenes and interactive sequences
- Inventory Management - Item collection and categorization
- Portal Plugin - Map transitions with conditional triggers
- Save/Load Plugin - Automatic game state persistence
- Audio Management - Background music and sound effects
- Camera Plugin - Smooth camera following with optional bounds
- Particle Effects - Visual feedback plugin for interactions
Installation¶
Or with uv:
Quick Start¶
Configure your game settings with settings.py in your project root:
Documentation Overview¶
-
Getting Started
Build your first RPG game with step-by-step tutorials
-
API Reference
Framework architecture and Python API reference
-
Plugins
Detailed documentation for all plugin classes
-
Scripting
Create event-driven cutscenes and interactive sequences
-
Tiled Integration
Learn how to create maps in Tiled for your game
-
Configuration
Configure framework settings and customize behavior
-
Command-Line Interface
Use the Pedre CLI to manage and extend your projects
-
Extending Pedre
Add custom actions, events, conditions, and plugins
Resources¶
- GitHub Repository: msaizar/pedre
- PyPI Package: pypi.org/project/pedre
- Issue Tracker: GitHub Issues
- License: BSD 3-Clause
Credits¶
Built with:
- Python Arcade - 2D game framework
- Tiled Map Editor - Level design tool