Skip to main content

Spritesheet handling library for Panda3D

p3dss

Description:

p3dss is a spritesheet handling library, initially started as part of my WIP game a2s3. While its main focus is to provide a single object to handle all sprites and animations on spritesheet image, it also has some side abilities, such as batch texture cutting.

Development Status:

Work in progress. While I generally try to make each update stable, there may be changes requiring code adjustments. If you will consider to use this library - refer to the particular version in your project's dependencies.

Dependencies:

This project depends solely on panda3d and nothing else.

Limitations:

  1. I've only tested this with .png images, but theoretically every texture format supported by panda3d itself, should work. For as long as its static image and not something already animated (gif, etc).

  2. Because this library's spritesheet handling mechanism is based on setting offsets, rather than cutting image in memory, following limitations apply:

  • Spritesheet has to divide to provided sprite size without remainder. If it doesnt cut to perfect sprites, you will get strange results while using some of these (e.g blurry parts, parts of other sprite visible on previous and such)
  • Some functionality may require your spritesheet to fit such amount of sprites into its rows and columns, that will be the power of 2. Depending on case, it may be possible to circuimvent it with Config.rpc magic (see example code for further info).

Usage:

License:

This software has been licensed under MIT. For license of media used in example snippets, see media_info.txt

Metadata

Release files for p3dss 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for p3dss 0.5.0
File Size Uploaded Provenance Actions
p3dss-0.5.0.tar.gz 9.3 kB Without provenance Details for p3dss-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for p3dss 0.5.0
File Interpreter ABI Platform Actions
p3dss-0.5.0-py3-none-any.whl Python 3 none any Details for p3dss-0.5.0-py3-none-any.whl

Total release size: 19.1 kB

Release files / p3dss-0.5.0.tar.gz

Download URL p3dss-0.5.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8b7bf95d38697641ba12f13688c753e6632fc5b97fa44f2b8cc965c36b9ceb0c
BLAKE2b-256 checksum
How to use checksums
b9da85427710c103affa52df94b118f8ecdc3cd7910a128040e51a4c4d10df02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

Release files / p3dss-0.5.0-py3-none-any.whl

Download URL p3dss-0.5.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b0755ff5b9583c35bad5b73c566f0ea92c52b9f8f4b56d819867ad9aa5f5c93
BLAKE2b-256 checksum
How to use checksums
ab5627e9d2efcaec84f5320f8e8035c85d34dce70d22995b461a61beab448ea6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

Security for p3dss 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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