Pgeng

Latest version: v1.8.3

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

Scan your dependencies

Page 3 of 5

1.5.4

- `Font.get_size()` now returns a pygame.math.Vector2
- Made `FileNotFoundError`'s necessary functions and variables invisible
- Fixed `Animations.current_image` error message

1.5.3

- Removed error checking from `Circle`
- Fixed error messages for `load_image`, `Animations.load_animation` and `Sounds.play_music`

1.5.2

- Changed size variables to pygame.math.Vector2s
- Changed colour variables to tuples
- Changed import message

1.5.1

- `TextButton.collide` now returns a dictionary
- `Entity.movement` now uses pygame.Vector2's x and y variables
- Fixed passing a ramp number to `Tile` that wasn't between 0 and 4
- Cleaned up all the unnecessary comments

1.5

- Added `outline` function to pgeng.colour
- Updated Polygon to have an `_create_mask` function instead of a mask property
- Added `rotation_as_zero` to pgeng.Polygon
- Changed (nearly) every location/scroll value to a `pygame.math.Vector2` object
- Added `__repr__` function to every class
- Added `__len__` function to Flame and Polygon
- Added Polygon/Circle property to Particle and Spark
- Added scroll to `Font.render`
- Changed Entity funtions that used math to use pygame.math.Vector2 functions
- Changed ShockWave's `update` funtion to 2 seperate functions
- Changed `Spark.angle` to degrees
- Documentation fixes
- Updated examples

1.4

- Added classes for Polygons and Circles with collision
- Added `angle_towards` to Spark
- Updated `Spark.gravity`
- Added customizable lengths to Spark with `set_spark_attributes`
- Added `center` function to Screen
- Added `width` variable to Particle
- Changed ShockWave `location` variable to `center`
- Changed font error messages
- Documentation fixes
- Updated examples and added one for collisions: [collisions.py](https://github.com/Qamynn/pgeng/blob/main/examples/collisions.py)

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.