Skip to main content

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

  1. 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

  1. Import the library
  2. Display and update the variables by this method
    .display_variables(*your pygame.display.setmode()*, globals()) 
    

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

pygame_monitor-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

pygame_monitor-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for pygame_monitor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5a02c65bba46a87c46f8d577e516eab033b5d3bba9a27f861969ca616dad260
MD5 0048c58fb17bbcee183d4f43bb74d2df
BLAKE2b-256 dd013cba0f66fb5557a86117bd713c0440e7017133519f6d8ce7a74b34d05d42

See more details on using hashes here.

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

Hashes for pygame_monitor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f94e5d79443071509f53c40ada4774f363f3a30c06ae960f520033591f2598bd
MD5 95200ef3602e01c527977b66b7955aa3
BLAKE2b-256 b79e0005dc505aa5d50f818f5e3b79e97b84fafef457dc1f0b087ecf5e61e167

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