A real-time variable tracking overlay for Pygame.
Project description
Pygame Variable Monitor
A lightweight, real-time debugging overlay for Pygame. This library allows you to track local variables and display them directly on your game window without messy print statements. You can see your variables at left of your pygame window.
Features
- Real-time Tracking: Watch variables change as your game logic runs.
- Easy Integration: Add a single line to your game loop.
- Automatic Formatting: Handles strings, integers, and floats automatically.
Installation
- Clone this repository to your project folder:
pip install git+https://github.com/jigeobjeogin-eng/PygameMonitor.git Manual Option: Simply copy monitor.py into your project directory and ensure you have pygame installed
Execution
- Import the library
- Display and update the variables by this method
.display_variables(*your pygame.display.setmode()*, globals())
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
pygame_monitor-0.1.0.tar.gz
(2.5 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
File details
Details for the file pygame_monitor-0.1.0.tar.gz.
File metadata
- Download URL: pygame_monitor-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5a02c65bba46a87c46f8d577e516eab033b5d3bba9a27f861969ca616dad260
|
|
| MD5 |
0048c58fb17bbcee183d4f43bb74d2df
|
|
| BLAKE2b-256 |
dd013cba0f66fb5557a86117bd713c0440e7017133519f6d8ce7a74b34d05d42
|
File details
Details for the file pygame_monitor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pygame_monitor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f94e5d79443071509f53c40ada4774f363f3a30c06ae960f520033591f2598bd
|
|
| MD5 |
95200ef3602e01c527977b66b7955aa3
|
|
| BLAKE2b-256 |
b79e0005dc505aa5d50f818f5e3b79e97b84fafef457dc1f0b087ecf5e61e167
|