v1.2.1
版本发布时间: 2022-07-10 03:43:28
flame-engine/flame最新发布版本:v1.22.0(2024-11-25 18:46:44)
- REFACTOR: Organize Component class (#1608). (069294f4)
- REFACTOR: Remove unecessary copy operation on Camera (#1708). (94cc115a)
- REFACTOR: Update and guarantee consistency on mocktail dev dependency version across repo (#1701). (f4a98878)
- REFACTOR: Add onComplete as optional parameter (#1686). (4ca65f8a)
- REFACTOR: Added MultiDragListener - common API between HasDraggables and MultiTouchDragDetector (#1668). (801dbba1)
- REFACTOR: Simplify Component.firstChild, .lastChild, and .findParent (#1673). (84f2f57e)
- REFACTOR: Replace some usages of fold<> with .sum (#1670). (dd05ecb6)
- REFACTOR: Deprecate ComponentSet.createDefault() (#1676). (f37e3a20)
- REFACTOR: Simplify HudButtonComponent (#1647). (30d84b7c)
- REFACTOR: Component's lifecycle futures moved into LifecycleManager (#1613). (39201c40)
- REFACTOR: TextRenderer and TextPaint moved to separate files (#1628). (5e1f5966)
- REFACTOR: Move to package imports (#1625). (843ddc36)
- REFACTOR: Improve tests (#1609). (f33b3986)
- FIX: Fix tile flips when using canvas.drawAtlas (#1610). (b4ad498f)
-
FIX: Expose
CompositeHitbox
(#1589). (78775798) - FIX: Anchor equality operator is now more reliable (#1560). (0d6581ef)
- FIX: Deprecate Anchor.translate() (#1672). (80c648fc)
- FIX: Avoid leaks when using PictureRecorders (#1643). (d67065e5)
- FIX: Remove nonVirtual method shouldRemove (#1707). (1efd067e)
- FIX: Fix flame package example app (#1709). (bd2ef967)
- FIX: Subscription for events when game changes in GameWidget (#1659). (04f0d5d1)
-
FIX: performance improvements on
SpriteBatch
APIs (#1637). (4b19a1b2) - FIX: Removed warnings using flutter v3 (#1640). (69214827)
- FIX: ParallaxComponent.update mustCallSuper (#1635). (9474ce74)
- FIX: Isometric tile map component uses scale when getting block from position (#1569). (0c430786)
-
FIX: Dispose
TextBoxComponent
image cache properly (#1579). (c0e3257a) -
FIX:
ParentIsA
missingmustCallSuper
(#1604). (72129019) - FIX: Component can now be removed in any lifecycle stage (#1601). (c0a14156)
- FIX: Export NotifyingVector2 (#1633). (aeaf9999)
- FIX: RectangleHitbox should shrink to bounds (#1596). (60df3b9f)
- FIX: Components in uninitialized state can now be safely removed (#1551). (ba617790)
- FIX: Bug in "tty" TextBoxComponent (#1619). (6cc3e827)
- FIX: Component.loaded future sometimes failed to complete (#1593). (89ee9b98)
- FIX: correctly calculating frame length (#1578). (efda45e7)
- FIX: Optimize AcceleratedParticle and MovingParticle (#1568). (5591c109)
-
FEAT: Method
componentsAtPoint
now reports the "stacktrace" of points (#1615). (e2398966) - FEAT: Allow changing parent from null parent (#1662). (53268b5f)
-
FEAT: Callbacks in
HudButtonComponent
constructor andViewportMargin
mixin to avoid code duplication (#1685). (f55b2e0d) - FEAT: Add more lint rules (#1703). (49252f8e)
- FEAT: Keep stacktrace when rethrowing an error from GameWidget (#1675). (dd28183b)
- FEAT: Aligned text in the TextBoxComponent (#1620). (c64aedae)
-
FEAT: Included
completed
completer inSpriteAnimation
(#1564). (71999b19) - FEAT: Optional key for Images.load (#1624). (067c34b5)
- FEAT: Bump to Flutter 2.10.0 (#1617). (beac9013)
-
FEAT: Add
isFirstFrame
andonStart
event toSpriteAnimation
(#1492). (701d0706) -
FEAT: Add
FpsComponent
andFpsTextComponent
(#1595). (4c68c2b0) - FEAT: Added FollowBehavior and ability for the new Camera to follow a component (#1561). (b583388c)
- FEAT: Added componentsAtPoint() iterable (#1518). (b99e3512)
- FEAT: Added AnchorToEffect and AnchorByEffect (#1556). (eff72794)
- FEAT: Added utility function solveCubic() (#1696). (31784ca0)
- FEAT: add FutureOr support on SpriteButton (#1645). (2e82dc95)
- FEAT: MoveAlongPathEffect can now be applied to any PositionProvider (#1555). (a0ff2d18)
- FEAT: adding KeyboardListenerComponent (#1594). (c887c361)
- FEAT: new flame bloc API (#1538). (f98970a9)
- FEAT: Added the onLongTapDown event (#1587). (ed302d89)
- FEAT: Add ability to add/remove multiple overlays at once (#1657). (0ac84c00)
-
FEAT: Helpers for whether a
PositionComponent
is flipped. (#1700). (cf67147e) - FEAT: World bounds for a CameraComponent (#1605). (abb497ab)
-
FEAT: Implement tap events based on
componentsAtPoint
(#1661). (2711ba60) -
FEAT: add
ParentIsA
to force parent child relations (#1566). (2cdf3868) - FEAT: Adding classes for raw geometric shapes (#1528). (666a2b19)
- FEAT: Add solveQuadratic() utility function (#1665). (d8bbfc06)
- FEAT: allow external packages to await for game to be loaded (#1699). (a15eda0b)
- FEAT: Children as argument to FlameGame (#1680). (db336c03)
- FEAT: Add range constructor on SpriteAnimationData (#1572). (e42b4958)
- FEAT: Add helper function for creating golden tests (#1623). (d0faaada)
- FEAT: Added ability to render spritesheet-based fonts (#1634). (3f287898)
-
BREAKING FIX:
FixedResolutionViewport
noClip -> clip (#1612). (02be4acd) - BREAKING FIX: Game.mouseCursor and Game.overlays can now be safely set during onLoad (#1498). (821d01c3)
- BREAKING FEAT: Added anchor for the Viewport (#1611). (c3bb14b7)
-
BREAKING FEAT: remove
onTimingsCallback
for Flutter 3.0 (#1626). (0761a79d) - BREAKING FEAT: Add ability to render without loading on image related widgets (#1674). (40a061bc)
- BREAKING FEAT: Adding GameWidget.controlled (#1650). (7ef6a51e)
- BREAKING FEAT: Size effects will now work only on components implementing SizeProvider (#1571). (1bfed571)