Pygame Zero Helper enhance Pygame Zero with additional capabilities
Project description
pgzhelper
Pygame Zero Helper was originally created to enhance Pygame Zero with additional capabilities that were available in Scratch (eg. move_forward, point_towards, distance_to), but it has since evolved to include a large number of collision detection functions that are useful in games.
The capabilities provided by pgzhelp can be roughly divided into...
- Actor enhancements
- Additional capabilities for a Pygame Zero Actor
- Examples:
- Movements: move_forward, point_towards
- Animation: images, animate, fps
- Image: scale, flip_x, flip_y
- Collision detection
- Detect collision between points, lines, circles, rect (AABB), rect (OBB)
- Examples:
- Collide.circle_line() : Check if a circle is colliding with a line
- Collide.obb_points() : Check if an OBB rect is colliding with any of the given points
- Utility
- Small utility functions
- Examples:
- For Pygame Zero: toggle_fullscreen, hide_mouse
- Movement and directions: distance_to, direction_to
Wiki
Please see the wiki on github for more details.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pgzhelper_rw-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285b886eea9b2565bbcfa90d792ebddc66aa96da652fefe34587c0fff0617a8e |
|
MD5 | c5fc5e1bcdd2ce012032ce9ffa792e8b |
|
BLAKE2b-256 | 3f7b2d9d6ee8586d3558ddb6c16cd057c43ffc13e6b21b491919989ccbcc7be4 |