Skip to main content

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


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

pgzhelper_rw-1.0.8-py3-none-any.whl (23.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page