Helps you to scale,rotate and display text on the pygame window
Project description
pygamehelper
Developed by Asher Thomas Abraham
Uses of pygame helper
helps you to show text on the pygame window easily.
helps you to scale images on the pygame window easily
helps you to rotate images in the pygame window easily
how to scale images with pygame helper
#example
YOUR_IMAGE_NAME = scale_image(pygame.image.load("YOUR_IMAGE_PATH"), TYPE_THE_NUMBER_HERE_TO_SCALE)
how to rotate images with pygame helper
#example
blit_rotate_center(win, self.img, (self.x, self.y), self.angle)
how to show text with pygame helper
#example
blit_text_center(WIN, MAIN_FONT, "THE_TEXT")
Credits
Developed by Asher Thomas
Special thanks to Tim Ruscica
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygamehelper-0.0.1.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file pygamehelper-0.0.1.tar.gz
.
File metadata
- Download URL: pygamehelper-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65204c00cfe9349812e72cfebd544e3ddf0852c41bf2585f1317d0253d54b6f7 |
|
MD5 | 8a1f76252f58af48e120c084fce5a633 |
|
BLAKE2b-256 | 139d8078c04fa841156eed7bfe019ba2fe3758e5625c54339f139e676b3f1f8b |
File details
Details for the file pygamehelper-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pygamehelper-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c69b149f59bf3af3b6349842cdc9589af32b3211d705fc416a2e792a95a0b36d |
|
MD5 | 6831b0bc06c7715f067b1dde33ed376d |
|
BLAKE2b-256 | d1d7ee02be7194e973d3f2ee5d5259ea59e442ca8e6a6fe971a7a2d3b9909ef4 |