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
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_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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bea5d7ee5dd2eef24485a804bc0badc240157b14a67e5f3c6e3765eb6675a69
|
|
| MD5 |
2159afa43a753fea6577d1cfcedec980
|
|
| BLAKE2b-256 |
92b64748449078ce86e6f7d88fbb56965078d39bc41e852c6b34776373904f65
|
File details
Details for the file pygame_renderkit-1.2.0-py3-none-any.whl.
File metadata
- Download URL: pygame_renderkit-1.2.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dfb0db9f896161286b54dcd498f487caa79d5cee1499654e84991dff73ac2e6
|
|
| MD5 |
88fd83e2478825d7f07f68f7bf23fe7e
|
|
| BLAKE2b-256 |
4c8dd740c2ea9776c89c059449e28d532c505823e02b9ad8265c320fc17bdc36
|