Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

pygame-renderkit

High-performance sprite batching and particle rendering utilities for pygame.

Features

  • SpriteBatch: GPU-friendly batch renderer with automatic layer sorting
  • ParticleSystem: Optimized particle effects with up to 5000 particles
  • SpatialHash: O(1) collision queries using grid-based spatial partitioning

Installation

pip install pygame-renderkit

Quick Start

import pygame
from renderkit import SpriteBatch, ParticleSystem

pygame.init()
screen = pygame.display.set_mode((800, 600))
clock = pygame.time.Clock()

batch = SpriteBatch()
particles = ParticleSystem()

running = True
while running:
    dt = clock.tick(60) / 1000.0
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False
        if event.type == pygame.MOUSEBUTTONDOWN:
            particles.emit(*event.pos, count=50)
    particles.update(dt)
    screen.fill((20, 20, 30))
    particles.draw(screen)
    batch.draw(screen)
    pygame.display.flip()

pygame.quit()

License

MIT License

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygame_renderkit-1.2.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

pygame_renderkit-1.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pygame_renderkit-1.2.0.tar.gz.

File metadata

  • Download URL: pygame_renderkit-1.2.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for pygame_renderkit-1.2.0.tar.gz
Algorithm Hash digest
SHA256 2bea5d7ee5dd2eef24485a804bc0badc240157b14a67e5f3c6e3765eb6675a69
MD5 2159afa43a753fea6577d1cfcedec980
BLAKE2b-256 92b64748449078ce86e6f7d88fbb56965078d39bc41e852c6b34776373904f65

See more details on using hashes here.

File details

Details for the file pygame_renderkit-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pygame_renderkit-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3dfb0db9f896161286b54dcd498f487caa79d5cee1499654e84991dff73ac2e6
MD5 88fd83e2478825d7f07f68f7bf23fe7e
BLAKE2b-256 4c8dd740c2ea9776c89c059449e28d532c505823e02b9ad8265c320fc17bdc36

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page