π 09.07.2021 π·οΈ 0.4.0 πΎ C3E2180 π 5 π 6 β»οΈ 1 π¬ 6 π₯ 1
This update fixes a lot of poblems and add minor utils.
It adds a lot of tests also so everything should be working as intended.
π New Features
F0CB18Dfeat: Addreadyevent forFPSCounter. (@Ayfri)17BF4C7feat: Addreadyreadonly property forFPSCounter. (@Ayfri)C411353feat: AddRectangle.appRectanglemethod. (@Ayfri)EA58FCBfeat: AddtoJSONmethod to vectors. (@Ayfri)D759ABDfeat: AddupdatesBySecondsoptional property inFPSCounterOptions. (@Ayfri)
π Bug fixes
4AFFB23fix: Add missing exports for utils maths functions. (@Ayfri)62F2FC8fix: Fixbackgroundnot updated for containers. (@Ayfri)14ED5A3fix: Fixclampfunction not working properly. (@Ayfri)A40B8DAfix: FixColor.toHexStringnot working when one value is 0. (@Ayfri)E73F10Cfix: Fixreadyevent emitted before changing ready property in FPSCounter. (@Ayfri)8084721fix: FixRectangle.fromSpritenot working for sprites with anchor. (@Ayfri)
β»οΈ Refactors
π¬ Tests
C9A2449test: Add tests for color, math functions & FPSCounter. (@Ayfri)BFEF8B6test: Add tests for Vectors, random functions and improve some tests names. (@Ayfri)CE22E44test: Add Text tests. (@Ayfri)50A5447test: Move tests into a tests folder. (@Ayfri)0869C0Etest: Remove unused index.html file. (@Ayfri)9BA8334test: Use floss & mocha for testing, use unit-tests. (@Ayfri)