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 hashes)

Uploaded Source

Built Distribution

pphysics-1.1.1-py3-none-any.whl (8.9 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