Skip to main content

Package pphysics to use physics in pygame.

Project description

PPhysics

Python module for game's physics library.

Installation

Run pip install pphysics

For more details, see Installation.

Update version 1.1.1

  • Config metadata

Update version 1.1.0

  • Added image alias pygame.image

  • Added Color alias pygame.Color

  • Added cursors alias pygame.cursors

  • Added event alias pygame.event

  • Added font alias pygame.font

  • Added joystick alias pygame.joystick

  • Added key alias pygame.key

  • Added mixer alias pygame.mixer

  • Added mouse alias pygame.mouse

  • Added muisc alias pygame.mixer.muisc

  • Added PixelArray alias pygame.PixelArray

  • Added Rect alias pygame.Rect

  • Add scrap alias pygame.scrap

  • Added sndarray alias pygame.sndarray

  • Added sprite alias pygame.sprite

  • Added Surface alias pygame.Surface

  • Added surfarray alias pygame.surfarray

  • Added time alias pygame.time

  • Added transform alias pygame.transform

  • Added doc for get_objects_by_tag(), get_object_by_name(), get_objects() and remove_tag()

  • Fixed error at get_object_by_name(): No variables named 'object'. Did you mean: 'objects'?

  • Update Vector constructor 5: Vector() -> Vector with position (0, 0)

  • Update GameObject constructor: Allow setting property in constructor.

  • Update Object.doc

  • Change returned value of Object.Force(), Object.del_tag(), Object.add_tag(), Object.set_name() from None to self.

  • Change returned value of World.add() from None to self

  • Update World.add() to add many object in once

  • Support GameObject.position, GameObject.velocity to be assigned to a tuple, the returned type is automatically converted to Vector.

DOCUMENTARY

See documentary pages: PPhyics Documetation.

EXAMPLE

See Simple game's source code


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

pphysics-1.1.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

pphysics-1.1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file pphysics-1.1.1.tar.gz.

File metadata

  • Download URL: pphysics-1.1.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pphysics-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d29bd0f9c58298dbccb7257ad418c5020f4cad8b21613031451f73ac97cf8b19
MD5 35b81055ea2f06bdb3fa6c53d6bbc726
BLAKE2b-256 ec27e98902806d714bb6f21e42696565fe8a491542bff7d79b905f21db822bd7

See more details on using hashes here.

File details

Details for the file pphysics-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pphysics-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pphysics-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8494d8288fd915a3d6ac6e3466dcce6011cacaf4d0e47a598d55db4200d5cd6f
MD5 1ace8c04d56512299082dfd64249565d
BLAKE2b-256 3cc6e06f1312d92c71552636bc8472d4eb9b295b492acf8b12f826e54676d97a

See more details on using hashes here.

Supported by

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