Skip to main content

Simple Image Atlas creator for Pygame framework

Project description

Pygame image`s Atlas Creator

This program makes it easy to create a Atlas using Sprite Sheets created by TexturePacker for Pygame.

Usage example: Create Atlas Object from JSON file generated by TexturePacker

from pg_atlas import PGAtlas
atlas = PGAtlas(path='example.json')

Then create pygame.Surface from atlas by calling create_image() method with the Frame`s name in JSON file.

image = atlas.create_image('example_frame.png')

You can also create a list of images by passing list of frame names to create_images() method.

images = atlas.create_images(['example_image_1.png', 'example_image_2.png'])

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

pg-atlas-0.0.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

pg_atlas-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pg-atlas-0.0.1.tar.gz.

File metadata

  • Download URL: pg-atlas-0.0.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for pg-atlas-0.0.1.tar.gz
Algorithm Hash digest
SHA256 44db43ef648eda6a7dbc566d3d36b91f4b14248ecfc10cec229ab9e084b451bd
MD5 28a6c7a85768d2f01b1c1c0b20fea583
BLAKE2b-256 c50d6b0bee7938e08725c099114e0006282860456e3a6d029290046dc7bca267

See more details on using hashes here.

File details

Details for the file pg_atlas-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pg_atlas-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for pg_atlas-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0014dc30236bf8d0cc3e606084950252cce7c018f867c8e1932dd0a8d46519b0
MD5 42190919f8fec7ab027d8d10e3da3377
BLAKE2b-256 7d64cf9fb382d5e5ae29387606306c4d11d41744697960d49c77f4744caa843e

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