Skip to content

v0.3.0

Choose a tag to compare

@Ayfri Ayfri released this 17 Jun 17:13
· 31 commits to master since this release

πŸ“† 17.06.2021 🏷️ 0.3.0 πŸ’Ύ 0ffe69f πŸš€ 6 πŸ“„ 2 πŸ”₯ 1 πŸ”¨ 1

This release fixes a lot of issues with collisions methods/functions not being consistent, this is a breaking change, and you will have to change your code. It also adds other little features to existing classes and adds more documentation.

πŸš€ New Features

  • 6bb4899 feat: isPressed now supports multiple keys. (@Ayfri)
  • 215de4d feat: Add collidesWith and collisionWith methods in Sprite class. (@Ayfri)
  • 4b4a419 feat: Add constructor without parameters and constructor with text parameter for Text class. (@Ayfri)
  • a09e058 feat: Add optional color property into TextOptions. (@Ayfri)
  • 0ffe69f feat: Add setPositionFromWindow method to Sprite class. (@Ayfri)
  • 93d7f8c feat: Add updateBySeconds value in FPSCounter, add documentation. (@Ayfri)

πŸ“„ Documentation

  • db17d50 docs: Add documentation for update & start method of FPSCounter. (@Ayfri)
  • 761efd5 docs: Add documentation to complex fields in Text class. (@Ayfri)

πŸ”₯ Performances

πŸ”¨ Refactors

  • 1a33c71 BREAKING CHANGE Change a lot the collisions methods/functions to have a more consistent code.