1.3.0
版本发布时间: 2022-08-29 05:03:35
flame-engine/flame最新发布版本:v1.22.0(2024-11-25 18:46:44)
flame
- v1.3.0
- REFACTOR: Use new "super"-constructors in ShapeComponents (#1752). (b69e8d85)
- REFACTOR: Game is now a class, not a mixin (#1751). (5225a4eb)
- PERF: Use TextElements within the TextComponent (#1802). (7b044430)
- PERF: Avoid unnecessary copy in AssetsCache.readBinaryFile (#1749). (7e79638d)
- FIX: ButtonComponent behavior when the engine is paused (#1726). (197e63d6)
- FIX: Correct flutter constraint (#1731). (c7383843)
-
FIX: World component can now be queried with
componentsAtPoint
(#1739). (f750d705) - FIX: Merge basic and advanced gesture detectors (#1718). (f08f8e12)
- FIX: Correct key events in GameWidget.controller (#1745). (01ed2ec9)
- FIX: Camera incorrect follow with zoom and world boundaries. (c1756177)
- FIX: Add missing paint arguments on shapes (#1727). (e59f3428)
- FIX: Delay camera update (#1811). (a5598a8f)
- FIX: Overlays can now be properly added during onLoad (#1759). (9f35b154)
- FIX: SpriteAnimationWidget can now be update animation safely (#1738). (eb070195)
- FIX: JoystickComponent drags using the delta Viewport (#1831). (54e40de6)
- FIX: Specify size for the SpriteWidget (#1760). (82f75fcb)
- FEAT: New colours to pallete.dart (#1783). (85cd60e1)
-
FEAT: add
children
argument toSpriteComponent.fromImage
(#1793). (80a63362) - FEAT: Added Decorator class and HasDecorator mixin (#1781). (8d00847c)
- FEAT: Added TextFormatter classes (#1720). (c44272be)
- FEAT: Move to Flutter 3.0.0 and Dart 2.17.0 (#1713). (2a41d0d6)
- FEAT: Added Rotate3DDecorator (#1805). (f05194c8)
- FEAT: Added Shadow3DDecorator (#1812). (0a41b2da)
- FEAT: Add tertiary tap detector mixin (#1815). (e9e7b0d5)
-
FEAT: Add
Ray2
class to be used in raytracing/casting (#1788). (26196c01) - FEAT: Added RouterComponent (#1755). (24092bd7)
- FEAT: Structured text and text styles (#1830). (bfdc3a29)
- FEAT: Drag events that dispatch using componentsAtPoint (#1715). (10669c12)
- FEAT: Added routes that can return a value (#1848). (f1b276e0)
- FEAT: PositionComponent now has a built-in Decorator (#1846). (8dd52c33)
-
FEAT: add
HasAncestor
mixin (#1711). (987a44f4) - FEAT: Added ability to control overlays via the RouterComponent (#1840). (e2de70c9)
- FEAT: Add vector projection and inversion (#1787). (d197870f)
- DOCS: Klondike tutorial, part 4 (#1740). (02d0b71b)
- BREAKING REFACTOR: Matcher closeToVector() now accepts Vector2 as an argument (#1761). (c5083501)
- BREAKING PERF: Game.images/assets are now same as Flame.images/assets by default (#1775). (0ccb0e2e)
- BREAKING FEAT: Raycasting and raytracing (#1785). (ed452dd1)