Pygdp

Latest version: v0.5.1

Safety actively analyzes 623567 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.5.0alpha

There's a new update that has been released, folks!

What's New?
**[Full changelog here](https://github.com/OmarShadowSpike/PyGDP/commits/master)**
<details>
<summary><b>Object</b></summary>
Big object improvements

* `_Rect` removed
* `look_at` makes the object look at a position
* `image` gets the image of the object
* `image_rect` gets the rect of the object's image
</details>
<details>
<summary><b>Keyboard</b></summary>
Keyboard class is finally useful

* `get_name` gets the name of a keycode
* `get_keycode` gets the keycode of a key
* `get_pressed` returns True if the key passed in is pressed (None if any keys are pressed)
* `get_hold` returns True if the key passed in is being held (None if any keys are being pressed)
* `KEY_UP` removed
* `KEY_DOWN` removed
</details>

<details>
<summary><b>Event</b></summary>
Added new events and better event listening

* `function` removed module
* `_listen` built-in listen function for checking events
* `listen` changed for user to override
</details>

<details>
<summary><b>Game</b></summary>
Big game improvements

* `exit` exits the game
* `current_event` the current pygame event
* `auto_clear_collide` is no more (Auto clears the collide list from now on)
* `mouse` removed the mouse attribute from game
</details>

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.