Pgeng

Latest version: v1.8.3

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

Scan your dependencies

Page 1 of 5

1.8.3

- Added documentation in the code
- Optimized some move functions in `vfx`
- Added support for the colour black in `circle_lighting` and in `Spark._lighting`
- Fixed formatting in the sparks example
- Updated LICENCE for the year 2023

1.8.2

- Fixed a bug when checking length of `Entity.scale`

1.8.1

An update?!

---
- Added byte support to `write_to_file`
- Added more error checking to `Entity`

1.8

Removing things? Yes.

I decided to remove `string_number`, it was a not optimized function that didn't add anything to pgeng.\
If you want to do what `string_number` used to do, use
py
from re import findall
def string_number(string):
return [float(i.replace(',', '.')) for i in findall(r'-?\d+[.,]?\d*', string)]


---
- Added `clamp`
- Removed `string_number`
- Removed `int_mode` from nearest
- Added `__all__` variable from vfx and collision packages
- Changed some error messages a little bit
- "vfx/vfx_core.py" is renamed back to "vfx/core.py"

1.7.1

- Renamed "vfx/core", because `help(pgeng.core)` would show `help(pgeng.vfx.core)`
- Very minor fixes and optimizations

1.7

- Added `int_location`, `round_location` and `ceil_location`
- Added `left`, `right`, `top` and `bottom` properties to `Tile`
- `Screen.__init__` now checks the types of passed attributes
- `Screen.vsync` default is now platform dependent
- `Polygon` and `Circle` collide functions now use `int_location`
- Optimized `Animations`
- Documentation and other small fixes

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.