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

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

pgzhelper_rw-1.0.10-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file pgzhelper_rw-1.0.10-py3-none-any.whl.

File metadata

  • Download URL: pgzhelper_rw-1.0.10-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for pgzhelper_rw-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2b05118c41d7db5730547b621cd5ee385b61fa6e63297c207868a80a52e51de6
MD5 27399f9171ff173a2a29ed75f0a883ad
BLAKE2b-256 45f2e32c95c107a0bd8ae0e27dcc47a3412b4d04adeaa15041b25747c51cd992

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