PackageTrack
Sign in Get early access

flame

A minimalist Flutter game engine, provides a nice set of somewhat independent modules you can choose from.

1.38.0 113K downloads/mo #1075 most downloaded on pub.dev flame-engine/flame

What this package is like to depend on

Last release 1 months ago

19 Jul 2026

Ships fairly regularly

a new release about every 5 weeks

Most releases are documented

notes for 99 of 120 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

147 releases · first in 2017

7 releases in the last 12 months

see the full history below

Release timeline

147 releases · Oct 2017 to Jul 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 147
  1. 1.38.0 19 Jul 2026
    Release notes Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Make GestureDetectorBuilder and detector/callback registering more resilient (#3900). (84b77a02)
    • FIX: Workaround for the TextBoxComponent entering an endless loop (#3939). (0b42aa00)
    • FIX: HasWorldReference.onRemove() should call super.onRemove() (#3920). (412702c7)
    • FIX: Fix flaky Transform2D random round-trip test tolerance (#3917). (f2fb4079)
    • FIX: Guard against double-dispose of TextBoxComponent cached image (#3909). (271288fb)
    • FIX: Fix raycasting "pass-through" collision inaccuracies with better modelling (#3906). (6337980d)
    • FIX: Fix collision prospect checking to be fully reliable (#3905). (d5a21a72)
    • FIX: Prevent drag updates from reaching removed components (#3901). (3d58c9ac)
    • FEAT: Add displace extension to Rect (#3943). (d8e4db8b)
    • FEAT: OpacityEffect support on text components (#3940). (749c73a4)
    • FEAT: Expose brighten and darken helpers on palette (#3936). (953430e1)
    • FEAT: Adding bleed option to SpriteBatch (#3871). (2c4a6d5c)
    • FEAT: Add regular polygon constructors to PolygonComponent and PolygonHitbox (#3891). (0d91f0f8)
    • FEAT: Implement TertiaryTapCallbacks on new event system (#3899). (933395e2)
    • FEAT: Implement LongPressCallbacks on new event system (#3896). (8ee838c4)
    • FEAT: Implement ScrollCallbacks on new event system (#3892). (d0010032)
    • BREAKING FIX: Add HoverCallbacks.onHoverCancel for press-while-hovering (#3912). (ab354fb3)
    • BREAKING FEAT: Update scale event with custom recognizer (#3782). (050984b7)
    Open source →
    Release notes
    • REFACTOR: Make GestureDetectorBuilder and detector/callback registering more resilient (#3900). (84b77a02)
    • FIX: Workaround for the TextBoxComponent entering an endless loop (#3939). (0b42aa00)
    • FIX: HasWorldReference.onRemove() should call super.onRemove() (#3920). (412702c7)
    • FIX: Fix flaky Transform2D random round-trip test tolerance (#3917). (f2fb4079)
    • FIX: Guard against double-dispose of TextBoxComponent cached image (#3909). (271288fb)
    • FIX: Fix raycasting "pass-through" collision inaccuracies with better modelling (#3906). (6337980d)
    • FIX: Fix collision prospect checking to be fully reliable (#3905). (d5a21a72)
    • FIX: Prevent drag updates from reaching removed components (#3901). (3d58c9ac)
    • FEAT: Add displace extension to Rect (#3943). (d8e4db8b)
    • FEAT: OpacityEffect support on text components (#3940). (749c73a4)
    • FEAT: Expose brighten and darken helpers on palette (#3936). (953430e1)
    • FEAT: Adding bleed option to SpriteBatch (#3871). (2c4a6d5c)
    • FEAT: Add regular polygon constructors to PolygonComponent and PolygonHitbox (#3891). (0d91f0f8)
    • FEAT: Implement TertiaryTapCallbacks on new event system (#3899). (933395e2)
    • FEAT: Implement LongPressCallbacks on new event system (#3896). (8ee838c4)
    • FEAT: Implement ScrollCallbacks on new event system (#3892). (d0010032)
    • BREAKING FIX: Add HoverCallbacks.onHoverCancel for press-while-hovering (#3912). (ab354fb3)
    • BREAKING FEAT: Update scale event with custom recognizer (#3782). (050984b7)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Make GestureDetectorBuilder and detector/callback registering more resilient (#3900). (84b77a02)
    • FIX: Workaround for the TextBoxComponent entering an endless loop (#3939). (0b42aa00)
    • FIX: HasWorldReference.onRemove() should call super.onRemove() (#3920). (412702c7)
    • FIX: Fix flaky Transform2D random round-trip test tolerance (#3917). (f2fb4079)
    • FIX: Guard against double-dispose of TextBoxComponent cached image (#3909). (271288fb)
    • FIX: Fix raycasting "pass-through" collision inaccuracies with better modelling (#3906). (6337980d)
    • FIX: Fix collision prospect checking to be fully reliable (#3905). (d5a21a72)
    • FIX: Prevent drag updates from reaching removed components (#3901). (3d58c9ac)
    • FEAT: Add displace extension to Rect (#3943). (d8e4db8b)
    • FEAT: OpacityEffect support on text components (#3940). (749c73a4)
    • FEAT: Expose brighten and darken helpers on palette (#3936). (953430e1)
    • FEAT: Adding bleed option to SpriteBatch (#3871). (2c4a6d5c)
    • FEAT: Add regular polygon constructors to PolygonComponent and PolygonHitbox (#3891). (0d91f0f8)
    • FEAT: Implement TertiaryTapCallbacks on new event system (#3899). (933395e2)
    • FEAT: Implement LongPressCallbacks on new event system (#3896). (8ee838c4)
    • FEAT: Implement ScrollCallbacks on new event system (#3892). (d0010032)
    • BREAKING FIX: Add HoverCallbacks.onHoverCancel for press-while-hovering (#3912). (ab354fb3)
    • BREAKING FEAT: Update scale event with custom recognizer (#3782). (050984b7)
    Open source →
  2. 1.37.0 10 Apr 2026
    Release notes
    • FIX: Use proper hash combining in CollisionProspect to fix flaky test (#3864). (bff137e5)
    • FIX: Remove async from flame test helpers (#3860). (4e63e93e)
    • FEAT: Add OverlayManager.setActive() (#3875). (86495694)
    • FEAT: Adding size to the sprite width and sprite animation widget (#3870). (987e0c54)
    • FEAT: Add HueEffect and HueDecorator (#3852). (f393f12b)
    • FEAT: Decouple Block from isometric_tile_map_component, add helper methods (#3859). (6d052afd)
    • FEAT: Add HasAutoBatchedChildren mixin (#3850). (a2b7f938)
    Open source →
    Release notes
    • FEAT: Add bleed option to SpriteBatch to prevent seam artifacts in tilemaps (#3871).
    • FIX: Use proper hash combining in CollisionProspect to fix flaky test (#3864). (bff137e5)
    • FIX: Remove async from flame test helpers (#3860). (4e63e93e)
    • FEAT: Add OverlayManager.setActive() (#3875). (86495694)
    • FEAT: Adding size to the sprite width and sprite animation widget (#3870). (987e0c54)
    • FEAT: Add HueEffect and HueDecorator (#3852). (f393f12b)
    • FEAT: Decouple Block from isometric_tile_map_component, add helper methods (#3859). (6d052afd)
    • FEAT: Add HasAutoBatchedChildren mixin (#3850). (a2b7f938)
    Open source →
  3. 1.36.0 06 Mar 2026
    Release notes
    • FIX: Ray direction normalization drift issues (#3841). (b8e2bab5)
    • FIX: Initialize center offset in CircleComponent ctor (#3842). (a0d2a5f3)
    • FIX: Resolve fontPackage in IconComponent (_rasterizeIcon) (#3838). (cdb2a0dd)
    • FIX: Hitboxes now correctly account for parent scale and rotation (#3834). (57adcd60)
    • FIX: Make buildContext available during onLoad and onMount (#3833). (60bfcb30)
    • FIX: Add CJK wrapping for TextBoxComponent (#3830). (7f41c261)
    • FIX: Prevent removed children from being re-added when parent is moved (#3824). (8e77bc2d)
    • FIX: Make removeAll(children) work in onRemove (#3823). (ff760230)
    • FIX: End active collisions in ShapeHitbox.onRemove to fix inconsistent isColliding (#3821). (bc81e7fd)
    • FIX: Use scaledRadius for CircleHitbox collision detection (#3808). (3498c1e5)
    • FIX: Bump Flutter min version to 3.41.0 (#3807). (0d505304)
    • FEAT: Add clampDouble to Vector2Extension and its tests (#3840). (6c6ccf31)
    • FEAT: Add transformMatrix setter to Transform2D (#3836). (957ff2e0)
    • FEAT: Support package argument in asset loading methods and widgets (#3835). (3f6f95b0)
    • FEAT: Propagate Flutter hot reload through the component tree (#3828). (c44643f1)
    • FEAT: Add an IconComponent that renders IconData (#3820). (97931a59)
    • FEAT: Add dispose() method to FlameGame (#3825). (aa5a27b7)
    • FEAT: Add object pooling support with ComponentPool (#3816). (46802fab)
    • FEAT: Add opposite method to Anchor (#3817). (1ffd59f0)
    • FEAT: HitTestBehavior for GameWidget (#3815). (b888d4e2)
    • DOCS: Document FlameGame<W extends World> generic type parameter (#3822). (00a66123)
    Open source →
  4. 1.35.1 12 Feb 2026
    Release notes
    • FIX: Cancel taps that start inside the component and end outside (#3805). (ebcdb81c)

    2026-02-01

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • flame_behaviors - v1.3.2
    • flame_behavior_tree - v0.1.4+1
    • flame_test - v2.2.1
    • flame_oxygen - v0.2.3+19
    • flame_isolate - v0.6.2+19
    • flame_texturepacker - v5.0.4
    • flame_sprite_fusion - v0.2.2+2
    • flame_steering_behaviors - v0.2.1+2
    • flame_fire_atlas - v1.8.14
    • flame_audio - v2.11.13
    • flame_spine - v0.3.0+2
    • flame_bloc - v1.12.20
    • flame_kenney_xml - v0.1.1+19
    • flame_lottie - v0.4.2+19
    • flame_markdown - v0.2.4+12
    • flame_console - v0.1.2+15
    • flame_rive - v1.10.22
    • flame_forge2d - v0.19.2+3
    • flame_noise - v0.3.2+19
    • flame_riverpod - v5.5.1
    • flame_svg - v1.11.19
    • flame_network_assets - v0.3.3+19
    • flame_3d - v0.1.1+5

    Open source →
    Release notes
    • FIX: Cancel taps that start inside the component and end outside (#3805). (ebcdb81c)
    Open source →
  5. 1.35.0 01 Feb 2026
    Release notes
    • FIX: Loading page should always be possible to add to route (#3800). (a2f5df11)
    • FIX: Reimplement setLayoutSize to only notify once (#3796). (97f8bebe)
    • FEAT: Use a Free List Strategy on BatchItem indexes within SpriteBatch and return index from .add() (#3650). (8d77c84e)
    • FEAT: Add TextBoxComponent.resetAnimation (#3787). (33fb10c0)
    • FEAT: Implement padding component inflateChild (#3785). (9ac53a69)
    Open source →
  6. 1.34.0 23 Nov 2025
    Release notes
    • FEAT: Add scaling gesture for components (#3770). (f413eddb)
    • FEAT: Linear layout component text box component (#3779). (476680d7)
    • FEAT: TextBoxComponent updateBounds on set boxConfig (#3777). (eefb2f9e)
    • FEAT: Add the CombinedEffect that bundles many effects together in one (#3776). (77869f57)
    • DOCS: Fix documentation typos (#3769). (db74da15)
    Open source →
  7. 1.33.0 22 Oct 2025
    Release notes
    • REFACTOR: Re-organize internal event imports (#3742). (7523e014)
    • PERF: addAll shouldn't create unnecessary growing lists (#3737). (d1fa9d0d)
    • FIX: Store json maps directly in AssetsCache (#3746). (8a9f493f)
    • FIX: Unique ComponentKey toString (#3739). (9a4a8f20)
    • FIX: Depreciated AssetManifest.json switched to AssetManifest API (#3734). (a2bd9827)
    • FEAT: Dummy commit. (8f7437d3)
    • FEAT: Added fromCache method to AssetsCache (#3740). (33a7123f)
    • FEAT: Add a "raw" field to access the underlying Flutter event in the new event system (#3731). (36eb3929)
    • DOCS: Layout components (#3752). (0aa145bb)
    • DOCS: Deprecate TapDetector in favour of TapCallbacks (#2886). (b173697b)
    • BREAKING FEAT: Implements ExpandedComponent (#3662). (212ed354)
    • BREAKING FEAT: Support secondary taps (right click) on new callbacks system (#3741). (46bd3856)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Re-organize internal event imports (#3742). (7523e014)
    • PERF: addAll shouldn't create unnecessary growing lists (#3737). (d1fa9d0d)
    • FIX: Store json maps directly in AssetsCache (#3746). (8a9f493f)
    • FIX: Unique ComponentKey toString (#3739). (9a4a8f20)
    • FIX: Depreciated AssetManifest.json switched to AssetManifest API (#3734). (a2bd9827)
    • FEAT: Dummy commit. (8f7437d3)
    • FEAT: Added fromCache method to AssetsCache (#3740). (33a7123f)
    • FEAT: Add a "raw" field to access the underlying Flutter event in the new event system (#3731). (36eb3929)
    • DOCS: Layout components (#3752). (0aa145bb)
    • DOCS: Deprecate TapDetector in favour of TapCallbacks (#2886). (b173697b)
    • BREAKING FEAT: Implements ExpandedComponent (#3662). (212ed354)
    • BREAKING FEAT: Support secondary taps (right click) on new callbacks system (#3741). (46bd3856)
    Open source →
  8. 1.32.0 26 Aug 2025
    Release notes
    • REFACTOR: Move MutableRSTransform out of flame_tiled package and into flame package (#3695). (7d644dd8)
    • FEAT: Add renderLine helper to canvas extensions (#3697). (7ede916f)
    Open source →
  9. 1.31.0 23 Aug 2025
    Release notes
    • FIX: Resume engine on mount if paused by backgrounding (#3631) (#3637). (b556dc35)
    • FIX: Export ComponentRenderContext (#3669). (086096ca)
    • FIX: The ParallaxComponent should respect the virtualSize (#3666). (9f29c785)
    • FIX: Attach layout listeners to new children (#3648). (4821ec2c)
    • FEAT: Add support for model parsing and rendering in flame_3d, including skeletal animations (#3675). (cc58aef5)
    • FEAT: Add Random extensions (#3672). (50e5f296)
    • FEAT: Padding component (#3661). (6c953a28)
    • FEAT: Add canPop to RouterComponent (#3659). (6bd3b48f)
    • FEAT: Add children and priority to SpriteBatchComponent (#3649). (97b9ba83)
    • BREAKING REFACTOR: Remove shrinkwrap (#3660). (e8860f62)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • FIX: Resume engine on mount if paused by backgrounding (#3631) (#3637). (b556dc35)
    • FIX: Export ComponentRenderContext (#3669). (086096ca)
    • FIX: The ParallaxComponent should respect the virtualSize (#3666). (9f29c785)
    • FIX: Attach layout listeners to new children (#3648). (4821ec2c)
    • FEAT: Add support for model parsing and rendering in flame_3d, including skeletal animations (#3675). (cc58aef5)
    • FEAT: Add Random extensions (#3672). (50e5f296)
    • FEAT: Padding component (#3661). (6c953a28)
    • FEAT: Add canPop to RouterComponent (#3659). (6bd3b48f)
    • FEAT: Add children and priority to SpriteBatchComponent (#3649). (97b9ba83)
    • BREAKING REFACTOR: Remove shrinkwrap (#3660). (e8860f62)
    Open source →
  10. 1.30.1 13 Jul 2025
    Release notes
    • FIX: Hitboxes with vertically flipped ancestor should not reflect angle for vertices (#3642). (7e8d3a98)
    • FIX: Remove unnecessary breaks (#3638). (ea29929c)
    • FEAT: Adding priority to layout components (#3639). (2eff267d)
    Open source →
  11. 1.30.0 30 Jun 2025
    Release notes
    • FIX: angleTo and lookAt should consider parental transformations (#3629). (e6f3d105)
    • FIX: angleTo, absoluteAngle and the angle setter now returns normalized angles between [-pi, pi] (#3629). (e6f3d105)
    • FIX: Delay should work with SpeedEffectControllers (#3618). (bfbb49f5)
    • FIX: Pass in intended parent to remove (#3626). (7a05f74d)
    • FIX: Call super.onDispose last and check mounted before setState (#3623). (3d2716c1)
    • FIX: Angled line intersections should work with 32-bit vectors (#3617). (e32bff45)
    • FIX: PostProcessComponent should size dynamically (#3611). (baecb861)
    • FEAT: Add target argument to SpawnComponent (#3635). (3747e1e8)
    • FEAT: Add spawnCount to SpawnComponent (#3634). (f377d7e7)
    • FEAT: Adding RasterSpriteComponent.fromImage constructor (#3627). (74a84ba7)
    • FEAT: Implement measure to fix ghost lines and graphical artifacts in Sprites (#3590). (6fd36bc1)
    • BREAKING FEAT: Pass WidgetTester for testGolden prepare function (#3624). (10509326)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • FIX: angleTo and lookAt should consider parental transformations (#3629). (e6f3d105)
    • FIX: angleTo, absoluteAngle and the angle setter now returns normalized angles between [-pi, pi] (#3629). (e6f3d105)
    • FIX: Delay should work with SpeedEffectControllers (#3618). (bfbb49f5)
    • FIX: Pass in intended parent to remove (#3626). (7a05f74d)
    • FIX: Call super.onDispose last and check mounted before setState (#3623). (3d2716c1)
    • FIX: Angled line intersections should work with 32-bit vectors (#3617). (e32bff45)
    • FIX: PostProcessComponent should size dynamically (#3611). (baecb861)
    • FEAT: Add target argument to SpawnComponent (#3635). (3747e1e8)
    • FEAT: Add spawnCount to SpawnComponent (#3634). (f377d7e7)
    • FEAT: Adding RasterSpriteComponent.fromImage constructor (#3627). (74a84ba7)
    • FEAT: Implement measure to fix ghost lines and graphical artifacts in Sprites (#3590). (6fd36bc1)
    • BREAKING FEAT: Pass WidgetTester for testGolden prepare function (#3624). (10509326)
    Open source →
  12. 1.29.0 23 May 2025
    Release notes
    • FIX: Only expose ReadOnlyOrderedset from component.children (#3606). (79351d19)
    • FIX: Dispose picture is postprocess (#3604). (3b24cdac)
    • FIX: Materialize post process list before removing items (#3591). (e858cc1f)
    • DOCS: Update structure and add RowComponent + ColumnComponent docs (#3599). (d04843a4)
    • BREAKING FEAT: Children should retain parent after parent is remove from tree (#3602). (008829af)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • FIX: Only expose ReadOnlyOrderedset from component.children (#3606). (79351d19)
    • FIX: Dispose picture is postprocess (#3604). (3b24cdac)
    • FIX: Materialize post process list before removing items (#3591). (e858cc1f)
    • DOCS: Update structure and add RowComponent + ColumnComponent docs (#3599). (d04843a4)
    • BREAKING FEAT: Children should retain parent after parent is remove from tree (#3602). (008829af)
    Open source →
  13. 1.28.1 23 Apr 2025
    Release notes
    • REFACTOR: Replace dart:io usage with defaultTargetPlatform (#3567). (77925eb8)
    • FIX: Add fragment shader extension from flutter_shaders (#3578). (27115729)
    • FIX: Use virtualSize when calling onParentResize on children of Viewport (#3577). (245fb3f5)
    • FEAT: Add method to toggle overlays (#3581). (ad7c37e1)
    Open source →
  14. 1.28.0 18 Apr 2025
    Release notes
    • FIX: Priority change should be reflected directly (#3564). (ab2fd639)
    • FIX: Deprecate HasGameRef in favor of HasGameReference (#3559). (a882261b)
    • FIX: The SpriteButton label should be nullable (#3557). (80a598cd)
    • FIX: Update ordered_set, remove ComponentSet (#3554). (728e13f8)
    • FEAT: Post Process API (#3404). (c3316ae4)
    • FEAT: Add helper methods on LineSegment (translate, inflate, deflate, spread) (#3561). (6d388870)
    • FEAT: Support for disabled state for SpriteButton (#3560). (eaa2b442)
    • FEAT: Add a Render Context API (#3409). (532f0191)
    • FEAT: Adding tickCount to TimerComponent (#3552). (dcd694e8)
    • FEAT: Ability to reset SpriteAnimation on removal (#3553). (59ae5831)
    • BREAKING FIX: Use 32bit Vector2 in Flame to be compatible with shaders and forge2d (#3515). (19dcecf5)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • FIX: Priority change should be reflected directly (#3564). (ab2fd639)
    • FIX: Deprecate HasGameRef in favor of HasGameReference (#3559). (a882261b)
    • FIX: The SpriteButton label should be nullable (#3557). (80a598cd)
    • FIX: Update ordered_set, remove ComponentSet (#3554). (728e13f8)
    • FEAT: Post Process API (#3404). (c3316ae4)
    • FEAT: Add helper methods on LineSegment (translate, inflate, deflate, spread) (#3561). (6d388870)
    • FEAT: Support for disabled state for SpriteButton (#3560). (eaa2b442)
    • FEAT: Add a Render Context API (#3409). (532f0191)
    • FEAT: Adding tickCount to TimerComponent (#3552). (dcd694e8)
    • FEAT: Ability to reset SpriteAnimation on removal (#3553). (59ae5831)
    • BREAKING FIX: Use 32bit Vector2 in Flame to be compatible with shaders and forge2d (#3515). (19dcecf5)
    Open source →
  15. 1.27.0 02 Apr 2025
    Release notes
    Open source →
  16. 1.26.1 22 Mar 2025
    Release notes
    • FIX: Fix priority rebalancing causing concurrent mutation of component ordered_set (#3530). (c2afe11f)
    • FIX: Expose event dispatcher classes (#3532). (db8e0b20)
    Open source →
  17. 1.26.0 13 Mar 2025
    Release notes
    • FIX: RouterComponent should be on top (#3524). (aa52a2a5)
    • FEAT: Support custom attributes syntax to allow for multiple styles in the text rendering pipeline (#3519). (fbc58053)
    • FEAT: Layout shrinkwrap (#3513). (b3fbdd9d)
    • FEAT: Layout Components (#3507). (678cf057)
    • FEAT: Add RotateAroundEffect (#3499). (0688f410)
    • DOCS: Fix missing reference on documentation for InlineTextNode (#3520). (e3aa78b2)
    • DOCS: Make onRemove() behavior more clear in API doc (#3502). (f387ad76)
    Open source →
  18. 1.25.0 13 Feb 2025
    Release notes
    • FEAT: Add a setter for TextBoxComponent.boxConfig and add a convenience method to skip per-char buildup (#3490). (d1777b7a)
    Open source →
  19. 1.24.0 05 Feb 2025
    Release notes
    • PERF: Switch from forEach to regular for-loops for about 30% improvement in raw update performance (#3472).
    • FIX: SpawnComponent.periodRange should change range each iteration (#3464).
    • FIX: Don't use a future when assets for SpriteButton is already loaded (#3456).
    • FIX: Darkness increases with higher values (#3448).
    • FEAT: NineTileBoxComponent with HasPaint to enable effects (#3459).
    • FEAT: Devtools overlay navigation (#3449).
    • FEAT: Add direction and length getters and constructor to LineSegment (#3446).
    • FEAT: Add multiFactory to SpawnComponent (#3440).
    Open source →
  20. 1.23.0 03 Jan 2025
    Release notes
    • REFACTOR: Fix lint issues from latest flutter release (#3390). (978ad31b)
    • FIX: Take into consideration when child is added to parent that is removed in the same tick (#3428). (9a5c54be)
    • FIX: Add missing export of GroupTextElement to text.dart (#3424). (c9c0f691)
    • FIX: Add missing export of GroupElement to text.dart (#3423). (c0c4bb02)
    • FIX: Fix brighten and darken alpha issue (#3414). (de8e3bce)
    • FIX: Set button size in onMount if not set (#3413). (916aa5ce)
    • FIX: Fix bug preventing removeAll(children) from be called before mount (#3408). (726cb8b6)
    • FEAT: Add support for strike-through text for flame_markdown (#3426). (1f9b0ea9)
    • FEAT: Warning and docs about fullscreen methods outside the mobile platforms (#3419). (994e098b)
    • FEAT: Add baseColor to Shadow3DDecorator (#3375). (b5d7ee07)
    Open source →
  21. 1.22.0 25 Nov 2024
    Release notes
    • FIX: Remove extra implements SizeProviders (#3358). (47ba0d87)
    • FEAT: Add WorldRoute to enable swapping worlds from the RouterComponent (#3372). (497f128f)
    • FEAT(overlays): Added the 'priority' parameter for overlays (#3349). (e591ebf8)
    Open source →
  22. 1.21.0 16 Oct 2024
    Release notes
    • FIX: Widgets flickering (#3343). (ff170dc5)
    • FIX: Ray should not be able to escape CircleHitbox (#3341). (7311d034)
    • FIX: Fix SpriteBatch to comply with new drawAtlas requirement (#3338). (a17fe4cd)
    • FIX: Set SpriteButtonComponent sprites in onMount (#3327). (f36533e7)
    • FIX: Export TapConfig to make visible (#3323). (8e00115c)
    • FIX: Clarify SpriteGroupComponent.updateSprite assertion (#3317). (d976ee8c)
    • FEAT: Adding spawnWhenLoaded flag on SpawnComponent (#3334). (51a7e26b)
    • FEAT: Add a getter for images cache keys (#3324). (7746f2f8)
    Open source →
  23. 1.20.0 07 Oct 2024
    Release notes
    • FIX: SpriteButtonComponent to initialize sprites in onLoad (#3302). (1204216c)
    • FIX: ViewportAwareBounds component and lifecycle issues (#3276). (026bf41f)
    • FEAT: Add ComponentTreeRoot.lifecycleEventsProcessed future (#3308). (ebc47418)
    • FEAT: Adding paint attribute to SpriteWidget and SpriteAnimationWidget (#3298). (a5338d0c)
    • FEAT: Adding tickOnLoad to TimerComponent (#3285). (0113aa37)
    • DOCS: Include information about the Flame DevTools extension in example readme (#3288). (76a9abaf)

    2024-08-27

    Changes


    Packages with breaking changes:

    Packages with other changes:


    Open source →
    Release notes
    • FIX: SpriteButtonComponent to initialize sprites in onLoad (#3302). (1204216c)
    • FIX: ViewportAwareBounds component and lifecycle issues (#3276). (026bf41f)
    • FEAT: Add ComponentTreeRoot.lifecycleEventsProcessed future (#3308). (ebc47418)
    • FEAT: Adding paint attribute to SpriteWidget and SpriteAnimationWidget (#3298). (a5338d0c)
    • FEAT: Adding tickOnLoad to TimerComponent (#3285). (0113aa37)
    • DOCS: Include information about the Flame DevTools extension in example readme (#3288). (76a9abaf)
    Open source →
  24. 1.19.0 27 Aug 2024
    Release notes
    • BREAKING FIX: Use 32bit Vector2 in Flame to be compatible with shaders and forge2d (#3515). (19dcecf5)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Use a temp vector for delta calculations of FollowBehavior (#3230). (524793d4)
    • FIX: Add assertion when trying to set "current" that doesn't exist (#3258). (267d6801)
    • FIX: Update version of lints to comply with new pub requirements (#3223). (1b0bee72)
    • FIX: Replace CurvedParticle inheritance with Particle in ScaledParticle (#3221). (8cd054d0)
    • FIX: Fix text rendering issue where spaces are missing (#3192). (28fd2a0f)
    • FIX: Add nativeAngle to constructors where it makes sense (#3197). (e8704934)
    • FIX: Wire in background and foreground colors in TextPaint (#3191). (983cfab6)
    • FIX: Disallow mutatation of SpriteGroupComponent.sprites (#3185). (7c40034d)
    • FIX: Disallow mutatation of SpriteAnimationGroupComponent.animations (#3183). (52773407)
    • FEAT: Adding scale and angle to devtools attributes (#3267). (b2a5e658)
    • FEAT: Adding x,y,width and height inputs to position components on Dev Tools (#3263). (003ec3a1)
    • FEAT: Adding component snapshot to Dev tools (#3261). (1a574917)
    • FEAT: Fixing tests on flutter 3.24.0 (#3259). (bf9a2481)
    • FEAT: Loading builder for Route (#3113). (1e62b342)
    • FEAT: Take in super.curve in ScalingParticle (#3220). (0fbc73cc)
    • FEAT: Add pause and resume to HasTimeScale mixin (#3216). (9a86e7b5)
    • FEAT: Add missing background and foreground properties to InlineTextStyle (#3187). (34dde50f)
    • FEAT: Support inline code blocks on markdown rich text (#3186). (67e069c0)
    • DOCS: Remove PositionType from the docs (#3198). (b0ff5c41)
    • DOCS: Add dartdocs to inline text node classes (#3189). (84c1ee87)
    • BREAKING REFACTOR: Make query() result an Iterable (#3209). (c094caa7)
    Open source →
  25. 1.18.0 27 May 2024
    Release notes
    • FEAT: Implement closeToVector4 and closeToQuaternion by extracing a generic CloseToVector base (#3480). (57e58514)
    • FEAT: Add closeToMatrix4 test matcher (#3478). (8db2476e)
    • DOCS: Remove AI assist badges (#3477). (51d7fbc0)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Modernize switch; use switch-expressions and no break; (#3133). (b283b82f)
    • FIX: Add key parameters to the rest of the components (#3170). (2477ea0f)
    • FIX: Invoke setToStart on child effect controller of wrapping effect controllers (#3168). (217c95f0)
    • FIX: Fix cascading and fallback propagation of text styles (#3129). (7b706d5f)
    • FEAT: Add onReleased action to AdvancedButtonComponent which will be called within onTapUp (#3152). (2269732e)
    • FEAT: Support text align on new text rendering pipeline (#3147). (194d5536)
    • FEAT: Add missing parameters to InlineTextStyle (#3146). (ce9392ab)
    • FEAT: Expand flame_lint to respect required pub.dev checks (#3139). (6e80bf5e)
    • FEAT: Add accessor to determine a TextElement size (#3130). (8a63a07a)
    • FEAT: Add ability to convert between TextPaint and InlineTextStyle (#3128). (6b63a57a)
    • FEAT: Add completed future for effects (#3123). (5e967deb)
    • FEAT: Add custom long tap delay (#3110). (a95d7df6)
    • DOCS: Update the dartdocs for FixedResolutionViewport (#3132). (db4b6fd6)
    • BREAKING FIX: Update IsometricTileMapComponent to have better defined position and size (#3142). (9a7bdc74)
    Open source →
  26. 1.17.0 29 Mar 2024
    Release notes
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Change the ClipComponent factory Constructor to redirect Constructor (#3089). (cc035fb4)
    • FIX: Call render properly from nested FlameGames (#3106). (cb1e3701)
    • FIX: CircleHitbox should properly detect when ray is outside (#3100). (8cd9e123)
    • FIX: Clamp opacity set by the ColorEffect to 1.0 (#3069). (9282cc38)
    • FIX: FutureOr return type of ComponentViewportMargin.onLoad (#3059). (72678c67)
    • FIX: Size for SpriteComponent.fromImage should be nullable (#3054). (2ed71a3c)
    • FIX: Check for removing state while adding a child (#3050). (3a24a51d)
    • FEAT: Add onFinished callback to ScrollTextBoxComponent (#3105). (233cc94c)
    • FEAT: Add copyWith method on the TextBoxConfig (#3099). (b946ba70)
    • FEAT: Component tree for the devtools extension tab (#3094). (bf5d68e9)
    • FEAT: Add PositionComponent.toString (#3095). (b1f01986)
    • FEAT: Add SpriteBatch.replace to allow the replacement of the batch information (#3079). (bf3c282d)
    • FEAT: Initial functionality of flame_devtools (#3061). (c92910c6)
    • FEAT: Add HasPerformanceTracker mixin on Game (#3043). (6270353a)
    • BREAKING REFACTOR: Use HasTimeScale for Route (#3064). (30fde805)
    • BREAKING FIX: Removed unused parameters from SpriteWidget (#3074). (f49d24c0)
    Open source →
  27. 1.16.0 17 Feb 2024
    Release notes
    • REFACTOR: Fix unrelated types reported by DCM (#3023). (1d020a52)
    • FIX: Vertices in PolygonComponent should subtract vertices positioning (#3040). (4f053ed7)
    • BREAKING FIX: Migrate from RawKeyEvent to KeyEvent (#3002). (330862c9)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Fix unrelated types reported by DCM (#3023). (1d020a52)
    • FIX: Vertices in PolygonComponent should subtract vertices positioning (#3040). (4f053ed7)
    • BREAKING FIX: Migrate from RawKeyEvent to KeyEvent (#3002). (330862c9)
    Open source →
  28. 1.15.0 07 Feb 2024
    Release notes
    • REFACTOR: Minimize Vector2 creation in IsometricTileMapComponent (#3018). (5d3be313)
    • FIX: Set margins of JoystickComponent properly (#3019). (e27818d8)
    • FIX: Properly update sprites in SpriteButtonComponent (#3013). (23cf8b9d)
    • FIX: Lifecycle completers to be called for FlameGame (#3007). (3804f524)
    • FIX: CameraComponent no longer throws Concurrent modification on stop (#2997). (6a1059b0)
    • FIX: Updated PolygonComponent.containsPoint to account for concave polygons (#2979). (a6fe62a2)
    • FIX: Add missing generic to ComponentViewportMargin (#2983). (1d9fe613)
    • FEAT: Add support for base64 encoded images to be manually added to Images cache. (#3008). (1e56293c)
    • FEAT: Make Component.key public (#2988). (7fbd5af9)
    • FEAT: Add a hitboxFilter argument to raycast() (#2968). (d7c53e23)
    Open source →
  29. 1.14.0 04 Jan 2024
    Release notes
    • FIX: Set hitbox debugColor to yellow (#2958). (6858eae0)
    • FIX: Consider displaced hitboxes in GestureHitboxes mixin (#2957). (1085518f)
    • FIX: PolygonComponent.containsLocalPoint to use anchor (#2953). (7969321e)
    • FEAT: Notifier for changing current sprite/animation in group components (#2956). (75cf2390)
    • BREAKING REFACTOR: Remove the Projector interface that is no longer used for coordinate transformations (#2955). (0979dc97)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • FIX: Set hitbox debugColor to yellow (#2958). (6858eae0)
    • FIX: Consider displaced hitboxes in GestureHitboxes mixin (#2957). (1085518f)
    • FIX: PolygonComponent.containsLocalPoint to use anchor (#2953). (7969321e)
    • FEAT: Notifier for changing current sprite/animation in group components (#2956). (75cf2390)
    • BREAKING REFACTOR: Remove the Projector interface that is no longer used for coordinate transformations (#2955). (0979dc97)
    Open source →
  30. 1.13.1 21 Dec 2023
    Release notes
    • FIX: The visibleGameSize should be based on viewport.virtualSize (#2945). (bd130b71)
    • FEAT: Adding ability for a SpawnComponent to not auto start (#2947). (37c7a075)
    Open source →
  31. 1.13.0 19 Dec 2023
    Release notes
    • FEAT: Prevent cache thrashing in class Svg by adding cache parameters/properties. (#3956). (cc47ed41)

    2026-07-19

    Changes


    Packages with breaking changes:

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • flame_behavior_tree - v0.1.5+5
    • flame_gamepads - v0.1.2
    • flame_isolate - v0.6.3+23
    • flame_texturepacker - v5.1.2
    • flame_sprite_fusion - v0.2.4+2
    • flame_fire_atlas - v1.8.18
    • flame_audio - v2.12.2
    • flame_spine - v0.3.1+6
    • flame_kenney_xml - v0.1.3+2
    • flame_lottie - v0.4.3+23
    • flame_markdown - v0.2.5+16
    • flame_console - v0.1.4
    • flame_rive - v1.11.2
    • flame_forge2d - v0.19.3+7
    • flame_noise - v0.3.3+23
    • flame_riverpod - v5.5.5
    • flame_svg - v1.12.2
    • flame_typled - v0.1.2
    • flame_network_assets - v0.3.4+23

    Open source →
    Release notes
    • FIX: Logic error in MemoryCache.setValue() (#2931). (8cee80c3)
    • FIX: Export ScalingParticle (#2928). (3730cb1d)
    • FIX: Misalignment of the hittest area of PolygonHitbox (#2930). (dbdb1379)
    • FIX: Allow setting bounds while BoundedPositionBehavior's target is null (#2926). (bab9be6e)
    • FEAT: Ability to use selfPositioning in SpawnComponent (#2927). (b526aa14)
    • FEAT: Add margin and spacing properties to SpriteSheet (#2925). (67f7c126)
    • FEAT: Add children to SpriteAnimationComponent.fromFrameData (#2914). (caf2b909)
    • DOCS: Remove references to Tappable and Draggable (#2912). (d12e4544)
    Open source →
  32. 1.12.0 08 Dec 2023
    Release notes
    • FIX: Bump Flutter min version to 3.41.0 (#3807). (0d505304)
    • FEAT: Support package argument in asset loading methods and widgets (#3835). (3f6f95b0)
    Open source →
    Release notes
    • FIX: SpriteAnimationWidget was resetting the ticker even when the playing didn't changed (#2891). (9aed8b4d)
    • FEAT: Scrollable TextBoxComponent (#2901). (8c3cb725)
    • FEAT: Add collision completed listener (#2896). (957db3c1)
    • FEAT: Adding autoResetTicker option to SpriteAnimationGroupComponent (#2899). (001c870d)
    • FEAT: Add clearSnapshot function (#2897). (d4decd21)
    Open source →
  33. 1.11.0 30 Nov 2023
    Release notes
    Open source →
    Release notes

    Note: This release has breaking changes.

    • FIX: Minor issues due Flutter 3.16 (#2856). (d51cd584)
    • FIX: Properly resize ScreenHitbox when needed (#2826). (24fed757)
    • FIX: Setting world on FlameGame camera setter (#2831). (3a8e2464)
    • FIX: Allow null passthrough parent (#2821). (c4d2f86e)
    • FIX: Do not scale debug texts with zoom (#2818). (c2f3f040)
    • FIX(flame): Export FixedResolutionViewport and make withFixedResolution a redirect constructor (#2817). (3420d0e6)
    • FEAT: Using viewport scale on debug mode text paint (#2883). (07ef46ca)
    • FEAT: Make Viewfinder and Viewport comply with CoordinateTransform interface (#2872). (685e1d95)
    • FEAT: Allow sequence effect to be extended (#2864). (ee11aae9)
    • FEAT: Adding children argument to all constructors in the shape components (#2862). (082743d3)
    • FEAT: Optimization in sprite batch (#2861). (208d7897)
    • FEAT: Add TimeTrackComponent and ChildCounterComponent (#2846). (6269551a)
    • FEAT: MoveAlongPathEffect should maintain initial angle of the component (#2835). (e6e78c0d)
    • FEAT: Add a method to adapt the camera bounds to the world (#2769). (87b69df6)
    • FEAT: Scaling particle feature (#2830). (9faae8a2)
    • BREAKING REFACTOR: Replace Offset with opacityFrom and opacityTo in ColorEffect (#2876). (0fd2662d)
    • BREAKING FIX: Add DisplacementEvent to fix delta coordinate transformations for drag events (#2871). (63994ebc)

    Migration instructions

    To specify start and end opacities for ColorEffect use the optional named parameters opacityFrom and opacityTo. So offset.dx should be set as opacityFrom and offset.dy should be set as opacityTo.

    • If you are using DragUpdateEvent events, the devicePosition, canvasPosition, localPosition, and delta are deprecated as they are unclear.
    • Use xStartPosition to get the position at the start of the drag event ("from").
    • Use xEndPosition to get the position at the end of the drag event ("to").
    • If you want the delta, use localDelta. it now already considers the camera zoom. No need to manually account for that.
    • Now you keep receiving drag events for the same component even if the drag event leaves the component (breaking).
    Open source →
  34. 1.10.1 03 Nov 2023
    Release notes
    • FIX: Properly resize ScreenHitbox when needed (#2826). (24fed757)
    • FIX: Setting world on FlameGame camera setter (#2831). (3a8e2464)
    • FIX: Allow null passthrough parent (#2821). (c4d2f86e)
    • FIX: Do not scale debug texts with zoom (#2818). (c2f3f040)
    • FIX(flame): Export FixedResolutionViewport and make withFixedResolution a redirect constructor (#2817). (3420d0e6)
    • FEAT: Scaling particle feature (#2830). (9faae8a2)
    Open source →
  35. 1.10.0 12 Oct 2023
    Release notes
    • BREAKING FIX: Migrate from RawKeyEvent to KeyEvent (#3002). (330862c9)
    Open source →
    Release notes
    • REFACTOR: Remove unnecessary 'async' keyword across the codebase [DCM] (#2803). (2dfe0e5a)
    • REFACTOR: Avoid nested conditional expressions whenever possible [DCM] (#2784). (7b6a5712)
    • REFACTOR: Mark semantically final variables as final (or const) proper [DCM] (#2783). (71f7b475)
    • FIX: Remove deprecations for 1.10.0 (#2809). (5b67b8f1)
    • FIX: Un-register component keys down the component tree (#2792). (0f679b3f)
    • FIX: AlignComponent set child (remove compare) (#2774). (20aaf656)
    • FIX: Hardcode initCurrentGame lifecycle state as resumed (#2775). (0cd5037c)
    • FIX: Fix TextBoxComponent alignment bug (#2781). (0fb53efb)
    • FIX(flame): The component.removeFromParent method should use parent.remove internally (#2779). (bdb1c79a)
    • FIX: Take unmounted adds into consideration (#2770). (be28a440)
    • FEAT: Add IgnoreEvents mixin to ignore events for the whole subtree (#2811). (313411c3)
    • FEAT: Add advanced button component (#2742). (97fff0ed)
    • FEAT: Introduce the FixedResolutionViewport (#2796). (4c762f94)
    • FEAT: AssetsBundle can be customized in Images and AssetsCache. (#2807). (a23f80e9)
    • FEAT: Backdrop (static backgrounds) component for CameraComponent (#2787). (ab329f71)
    • FEAT: Align component refactoring (#2767). (bde34efe)
    • DOCS: Remove last broad cSpell bypass regex and fix all violations (#2802). (9b16b178)
    Open source →
  36. 1.9.1 22 Sep 2023
    Release notes
    • FIX: Add necessary generics on mixins on FlameGame (#2763). (b1f5ff26)
    • FIX: Correctly refreshes the widget after new mouse detector (#2765). (64330022)
    • FIX: Allow moving to a new parent in the same tick (#2762). (313650ea)

    2023-09-21

    Changes


    Packages with breaking changes:

    Packages with other changes:


    Open source →
    Release notes
    • FIX: Add necessary generics on mixins on FlameGame (#2763). (b1f5ff26)
    • FIX: Correctly refreshes the widget after new mouse detector (#2765). (64330022)
    • FIX: Allow moving to a new parent in the same tick (#2762). (313650ea)
    Open source →
  37. 1.9.0 21 Sep 2023
    Release notes

    2024-02-07

    Changes


    Packages with breaking changes:

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • flame_oxygen - v0.1.9+8
    • flame_tiled - v1.18.4
    • flame_fire_atlas - v1.4.8
    • flame_audio - v2.1.8
    • flame_spine - v0.1.1+10
    • flame_bloc - v1.10.10
    • flame_rive - v1.9.11
    • flame_lottie - v0.3.0+8
    • flame_markdown - v0.1.1+8
    • flame_forge2d - v0.16.0+5
    • flame_svg - v1.8.10
    • flame_network_assets - v0.2.0+13

    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Enable DCM linting (#2667). (27a8fd61)
    • REFACTOR: Fix lint issues across the codebase - Part 2 (#2677). (10e4109c)
    • FIX: Prevent onRemove/onDetach being called for initial Gesture Detector addition (#2653). (d1721464)
    • FIX: Use root game for gestures (#2756). (f5d0cb38)
    • FIX: Add possibility to remove a child and add it to the same parent (#2755). (285d31ab)
    • FIX: Adding scale parameter to RectangleComponent constructors (#2730). (173908d9)
    • FIX: Set CameraComponent.priority to max (#2732). (820ece1c)
    • FIX: Change to FilterQuality.medium instead of high (#2733). (fc19890c)
    • FIX: Avoid creating new Vector2 in globalToLocal and localToGlobal (#2727). (9fb3bf8d)
    • FIX: Ambiguation is not needed in render box anymore (#2711). (b3d78f58)
    • FIX: HasGameReference should default to FlameGame (#2710). (93dcb3a1)
    • FIX: Make debugCoordinatesPrecision into a variable instead of a getter (#2713). (9918c051)
    • FIX: Absolute angle takes into account BodyComponent ancestors too (#2678). (75aee767)
    • FEAT: SpawnComponent (#2709). (83f5ea45)
    • FEAT: Add globalToLocal and localToGlobal methods to viewport, viewfinder and camera (#2720). (00185a3b)
    • FEAT: Add HoverCallbacks (#2706). (d460b846)
    • FEAT: Add onDispose to game.dart called from game_widget.dart (#2659). (2f44e483)
    • FEAT(flame): Add helper methods to create frame data on SpriteSheet (#2754). (47722199)
    • FEAT: Implement Snapshot mixin on PositionComponent (#2695). (c1ee24a2)
    • FEAT: Add TextElementComponent (#2694). (10fb65f6)
    • FEAT: Component visibility (HasVisibility mixin) (#2681). (76405daf)
    • FEAT: Add HasWorldReference mixin (#2746). (9105411d)
    • FEAT: Add pause and isPaused to SpriteAnimationTicker (#2660). (37271f5c)
    • DOCS: Improve documentation around SpriteFontTextFormatter (#2661). (8401c569)
    • DOCS: Improved spellchecking (#2722). (2f973abe)
    • DOCS: Enable CSpell on tests (#2723). (e051298c)
    • DOCS: Improve comments and documentation for text-rendering Nodes (#2662). (96978e24)
    • DOCS: Fix examples for v1.9.0 (#2757). (152fbb61)
    • BREAKING REFACTOR: Rename (Text) Elements, Nodes and Styles for clarity, add docs (#2700). (4b420b79)
    • BREAKING REFACTOR: Extract TextRendererFactory (#2680). (eeb6749f)
    • BREAKING REFACTOR: Make TextElement more usable on its own (#2679). (1a64443c)
    • BREAKING REFACTOR: Simplify text rendering pipeline (#2663). (34f69b95)
    • BREAKING REFACTOR: Kill TextRenderer, Long Live TextRenderer (#2683). (a1cb9a06)
    • BREAKING FIX: Update should be called before render in first tick (#2714). (51932c09)
    • BREAKING FEAT: Move Forge2DGame to use CameraComponent (#2728). (7a3d5126)
    • BREAKING FEAT: Pause game when backgrounded (#2642). (521e56b6)
    • BREAKING FEAT: Add CameraComponent to FlameGame (#2740). (7c2f4000)

    Migration instructions

    In this release the old camera system was renamed to oldCamera and replaced by a default World and a CameraComponent which is now named camera.

    To migrate from the old system:

    1. Instead of adding the components directly to your game with add, add them to the world, this will make the CameraComponent responsible for rendering them instead of the game directly.

      world.add(yourComponent);
      
    2. (Optional) If you want to add a HUD component, instead of using PositionType, add the component as a child of the viewport.

      cameraComponent.viewport.add(yourHudComponent);
      
    3. (Optional) If you want to have a specificly set up CameraComponent in your game from the start you can pass in a camera to the constructor.

      class MyGame extends FlameGame {
        MyGame() 
            : super(
                camera: CameraComponent.withFixedResolution(
                  width: 800,
                  height: 600,
                ),
              );
      
      
    4. (Optional) A lot of the time it is no longer necessary to extend FlameGame, you can instead build your game or level by extending the World and pass it in to the FlameGame.

      runApp(
        GameWidget(game: FlameGame(world: MyWorld()),
      );
      
      class MyWorld extends World with TapCallbacks {
        @override
        Future<void> onLoad() async {
          // Load your components
        }
      
        @override
        void onTapDown(TapDownEvent event) {
          print(event.localPosition); // Position of the tap in the world
        }
      }
      
    Open source →
  38. 1.8.2 08 Aug 2023
    Release notes
    Open source →
    Release notes

    Note: This release has breaking changes.

    • PERF: Improve performance of raycasts (#2617). (8e0a7879)
    • FIX: Reset _completeCompleter in ticker (#2636). (a35d3a10)
    • FIX: Viewport should recieve events before the world (#2630). (e852064e)
    • FIX: Use ComponentKeys to keep track of dispatchers (#2629). (ff59aa15)
    • FIX: FlameGame onRemove fix to prevent memory leak (#2602). (dac2ebbf)
    • FIX: Only use pre-set ReadonlySizeProvider for sizing in HudMarginComponent (#2611). (832c0510)
    • FIX: TextBoxConfig dismissDelay to not be ignored (#2607). (1567b389)
    • FEAT: Adding key argument to shape components (#2632). (c542d3c3)
    • FEAT: Add optional world input to CameraComponent.canSee (#2616). (1cad0b23)
    • FEAT: Add a Circle.fromPoints utility method (#2603). (a83f2815)
    • FEAT: Add a midpoint getter to LineSegment (#2605). (1f9f3509)
    • FEAT: Add Rectangle.fromLTWH and Rect.toFlameRectangle utility methods (#2604). (76271cee)
    • DOCS: Add more guidance to collision detection algorithm choices (#2624). (781e8983)
    • BREAKING PERF: Pool CollisionProspects and remove some list creations from the collision detection (#2625). (e430b6cd)
    • BREAKING FEAT: Make world nullable in CameraComponent (#2615). (14f51635)
    Open source →
  39. 1.8.1 02 Jul 2023
    Release notes
    Open source →
    Release notes

    Note: This release has breaking changes.

    • FIX: Adds a check to confirm the component is not loaded (#2579). (985400f2)
    • FIX: Animation ticker readability improvements (#2578). (667a1698)
    • FIX: Remove mustCallSuper from onComponentTypeCheck (#2561). (bcae760c)
    • FIX: Update sdk constraints to >=3.0.0 (#2554). (2f71e06e)
    • FIX: Reduce the Vector2 creations in Anchor (#2550). (5a9434b0)
    • FIX: Fix disappearing text on TextBoxComponent for larger pixelRatios (#2540). (6e1d5466)
    • FEAT: Option to prevent propagating collision events from ShapeHitbox to _hitboxParent (#2594). (a58d7436)
    • FEAT: Adding filterQuality arguments to Parallax load methods (#2596). (ff3d9107)
    • FEAT: Option to use toImageSync in ImageComposition class (#2593). (66d5f97d)
    • FEAT: ComponentKey API (#2566). (b3efb612)
    • FEAT(flame): Set a default negative priority on the world for general use (#2572). (390e9700)
    • FEAT: Add useful methods to Rectangle class (#2562). (4710530b)
    • BREAKING FIX: Convert PositionEvent.canvasPosition to local coordinates (#2598). (87139c85)
    Open source →
  40. 1.8.0 28 May 2023
    Release notes
    • BREAKING FIX: Bump tiled to 0.11.0 and add ColorData extension (#3473).
    Open source →
    Release notes

    Note: This release has breaking changes.

    • FIX: Update sdk constraints to >=3.0.0 (#2554). (2f71e06e)
    • FIX: Reduce the Vector2 creations in Anchor (#2550). (5a9434b0)
    • FIX: Fix disappearing text on TextBoxComponent for larger pixelRatios (#2540). (6e1d5466)
    • FIX: Avoid the creation of Vector2 objects in Parallax update (#2536). (3849f07d)
    • FIX: Solve warnings from 3.10.0 analyzer (#2532). (b41622db)
    • FIX: Move errorBuilder and loadingBuilder to constructors (#2526). (55ec0bc3)
    • FEAT: Add onComplete callback to AnimationWidget (#2515). (0b68be8a)
    • FEAT: Add stepEngine to Game (#2516). (1ed2c5a2)
    • FEAT: Customise grid of NineTileBox (#2495). (a25b0a03)
    • FEAT: Accept CollisionType in hitbox constructor (#2509). (89926227)
    • DOCS: Update content types of sphinx code snippets (#2519). (306ad320)
    • BREAKING REFACTOR: Move CameraComponent and events out of experimental (#2505). (87b8a067)
    • BREAKING FEAT: Add SpriteAnimationTicker (#2457). (a50c80cf)

    Migration instructions

    In the future (maybe as early as v1.9.0) this camera will be removed, please use the CameraComponent instead.

    This is the simplest way of using the CameraComponent:

    1. Add variables for a CameraComponent and a World to your game class

      final world = World();
      late final CameraComponent cameraComponent;
      
    2. In your onLoad method, initialize the cameraComponent and add the world to it.

      @override
      void onLoad() {
        cameraComponent = CameraComponent(world: world);
        addAll([cameraComponent, world]);
      }
      
    3. Instead of adding the root components directly to your game with add, add them to the world.

      world.add(yourComponent);
      
    4. (Optional) If you want to add a HUD component, instead of using PositionType, add the component as a child of the viewport.

      cameraComponent.viewport.add(yourHudComponent);
      
    Open source →
  41. 1.7.3 15 Apr 2023
    Release notes
    • REFACTOR: Make atlas status to be more readable (#2502). (643793d0)
    • REFACTOR: Add new lint rules (#2477). (dbda37b8)
    • FIX: Reverse invalid polygon definitions (#2503). (c4c516eb)
    • FIX: Fill in mount implementation in HasTappables (#2496). (d51a612f)
    • FIX: Modify size only if changed while auto-resizing (#2498). (aa8d49da)
    • FIX: RecycleQueue cannot extends and implements Iterable at the same time (#2497). (3e5be3d6)
    • FIX: Remove memory leak when creating the image from PictureRecorder (#2493). (a66f2bc0)
    • FEAT: Bump ordered_set version (#2500). (81303ea9)
    • FEAT: Deprecate Component.changeParent (#2478). (bd3e7886)
    Open source →
  42. 1.7.2 07 Apr 2023
    Release notes
    • FIX: A mistake in auto-resizing disabling logic (#2471). (e7ebf8e5)
    • FIX: It should be possible to re-add ColorEffect (#2469). (6fa9e9d5)
    • FEAT: Add isDragged in DragCallbacks mixin (#2472). (de630a1c)

    2023-04-05

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • flame_isolate - v0.3.0+1
    • flame_tiled - v1.10.1
    • flame_audio - v1.4.2
    • flame_svg - v1.7.3
    • flame_test - v1.10.1
    • flame_flare - v1.5.4
    • flame_oxygen - v0.1.8+2
    • flame_bloc - v1.8.4
    • flame_fire_atlas - v1.3.5
    • flame_forge2d - v0.13.0+1
    • flame_rive - v1.7.1
    • flame_noise - v0.1.1+1
    • flame_network_assets - v0.2.0+1
    • flame_lottie - v0.2.0+2

    Open source →
    Release notes
    • FIX: A mistake in auto-resizing disabling logic (#2471). (e7ebf8e5)
    • FIX: It should be possible to re-add ColorEffect (#2469). (6fa9e9d5)
    • FEAT: Add isDragged in DragCallbacks mixin (#2472). (de630a1c)
    Open source →
  43. 1.7.1 05 Apr 2023
    Release notes
    Open source →
    Release notes
    • FIX: Stop auto-resizing on external size change in sprite based components (#2467). (df236af4)
    Open source →
  44. 1.7.0 02 Apr 2023
    Release notes
    • FEAT: Adding getters and methods for easier manipulation of selections (#3350). (291af57d)

    2024-10-16

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • flame_audio - v2.10.5
    • flame_forge2d - v0.18.2+2
    • flame_oxygen - v0.2.3+2
    • flame_rive - v1.10.5
    • flame_texturepacker - v4.1.2
    • flame_behavior_tree - v0.1.3+2
    • flame_spine - v0.2.2+2
    • flame_riverpod - v5.4.5
    • flame_kenney_xml - v0.1.1+2
    • flame_bloc - v1.12.3
    • flame_noise - v0.3.2+2
    • flame_lottie - v0.4.2+2
    • flame_network_assets - v0.3.3+2
    • flame_svg - v1.11.2
    • flame_sprite_fusion - v0.1.3+2
    • flame_markdown - v0.2.2+2
    • flame_isolate - v0.6.2+2

    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Remove "items" variable from core Broadphase class. (#2284). (1819c575)
    • REFACTOR: Added ComponentTreeRoot (#2300). (619b9b15)
    • REFACTOR: Simplify how images.dart decodes images (#2293). (b4925423)
    • REFACTOR: Use variable name on toString in component_test.dart (#2377). (f5c0e5e9)
    • REFACTOR: Remove unused variable "tapTimes" from multi_touch_tap_detector_test.dart (#2379). (cd2b2a10)
    • REFACTOR: Component rebalancing is now performed via a global queue (#2352). (1ef51879)
    • REFACTOR: Component adoption now handled via ComponentTreeRoot (#2332). (5ceb5dda)
    • FIX: Auto-resize SpriteComponent on sprite change (#2430). (158460d7)
    • FIX: Update MoveAlongPathEffect (#2422). (295cd724)
    • FIX: Removed component to be deleted from _broadphaseCheckCache (#2282). (236a74ce)
    • FIX: TextBoxComponent rendering for new line (#2413). (9008998e)
    • FIX: Buttons in ButtonComponents should not be final (#2410). (55f66add)
    • FIX: Set size of viewports in onLoad (#2452). (d1ac01f5)
    • FIX: Incorrect JoystickComponent position in landscape mode #2387 (#2389). (f125593a)
    • FIX: RouterComponent replace methods to correctly handle previous/nextRoute (#2296). (2b1f2266)
    • FIX: Use the hitboxParent instead of the parent in the componentTypeCheck (#2335). (7920e2ba)
    • FIX: Materialize list in Component.removeWhere (#2458). (13cce4ae)
    • FIX: TextBoxComponent's boxConfig timePerChar generates "Optimized Out" error #2143 (#2328). (5874f600)
    • FIX: Camera no longer "sticks" to boundary with BoundedPositionBehavior (#2307). (914dc6a7)
    • FEAT: Add reusable vector to the Vector2 extension (#2429). (03d45df5)
    • FEAT: Change HasCollisionDetection to be on Component (#2404). (637c258b)
    • FEAT: Added AlignComponent layout component (#2350). (4f5e56f0)
    • FEAT: Add autoResize for SpriteAnimationComponent and SpriteAnimationGroupComponent (#2453). (dbeba238)
    • FEAT: Adding ImageExtension.resize (#2418). (a3f1601d)
    • FEAT: Add position and anchor params for Sprite and SpriteAnimation Particles (#2370). (181e0b59)
    • FEAT: Add autoResize for SpriteGroupComponent (#2442). (1576bd83)
    • FEAT: Introduce flame_noise, deprecate NoiseEffectController (#2393). (b2fdf06a)
    • FEAT: Added HardwareKeyboardDetector (#2257). (95b1fc0f)
    • FEAT: Allow people to opt-out on repaint boundary (#2341). (b6aeec24)
    • FEAT: Add HasTimeScale mixin (#2431). (d2a8fe01)
    • FEAT: Add DoubleTapCallbacks that receives double-tap events. (#2327). (b5f79d1c)
    • FEAT: Add ability to opt-out flip (#2316). (34c3b6bd)
    • FEAT: Make limit field mutable in the Timer class (#2358). (4e0a8c46)
    • DOCS: Rename caveace asset to cave_ace in our examples (#2304). (e2399f91)
    • DOCS: Update cspell github action and configuration (#2325). (e0a4c07f)
    • DOCS: Fix actual typos that made into our dictionary (#2305). (343b8452)
    • DOCS: Add Flame logo for pub.dev (#2338). (65091f34)
    • DOCS: Refactor documentation for GameWidget (#2344). (655824fc)
    • DOCS: Update funding links (#2420). (8294a2a1)
    • DOCS: Fix old doc code (#2322). (90321658)
    • BREAKING REFACTOR: Use ComponentTreeRoot for component removal (#2317). (75446185)
    • BREAKING FEAT: HasDraggableComponents mixin is no longer needed (#2312). (3faf1149)
    • BREAKING FEAT: The HasTappableComponents mixin is no longer needed (#2450). (b5bdf4ec)

    Migration instructions

    If you have components that rely on receiving onGameResize calls before they load, then you can retrieve the game's size in onLoad manually via findGame()!.size.

    The HasDraggableComponents mixin is now empty & deprecated. If your game used this mixin overriding its methods onDragStart, onDragUpdate, etc -- then they will no longer work. If you want to receive drag events at the top level of the game, then simply add a DragCallbacks component to the top level of the game.

    The HasTappableComponents mixin is now empty & deprecated. If your game used this mixin overriding its methods onTapDown, onTapUp, etc -- then they will no longer work. If you want to receive tap events at the top level of the game, then simply add a TapCallbacks component to the top level of the game.

    Open source →
  45. 1.6.0 14 Jan 2023
    Release notes
    • FEAT: Adding getter for the atlas image on flame fire atlas (#3326). (ae230ffa)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • PERF: Avoid Vector2 creation in Sprite.render (#2261). (736733d9)
    • FIX: Only use initialized game for tests and remove setMount from onGameResize (#2246). (2a0f1d4b)
    • FIX: Re-use paint object in ImageParticle (#2210). (7a945d96)
    • FIX: Depend on test: any for flame_test (#2207). (acfd418d)
    • FEAT: Add a canSee method to the CameraComponent (#2270). (2347c8f5)
    • FEAT: Add moveBy to CameraComponent (#2269). (51e54ebe)
    • FEAT: Added computed property CameraComponent.visibleWorldRect (#2267). (f4b0e73f)
    • DOCS: Update example to not create Rect objects (#2254). (a306338b)
    • DOCS: Teh -> the (#2225). (ff7f36d0)
    • BREAKING REFACTOR: The method onLoad() now returns FutureOr<void> (#2228). (d898b539)
    • BREAKING FEAT: Adds new route methods pushReplacement, pushReplacementNamed, and pushReplacementOverlay (#2249). (a2772b4e)
    Open source →
  46. 1.5.0 27 Nov 2022
    Release notes
    • FEAT: Expose additional flame_jenny Command classes (#3641). (8ef2587d)

    2025-06-30

    Changes


    Packages with breaking changes:

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • flame_behavior_tree - v0.1.3+13
    • flame_oxygen - v0.2.3+13
    • flame_isolate - v0.6.2+13
    • flame_fire_atlas - v1.8.8
    • flame_audio - v2.11.7
    • flame_spine - v0.2.2+13
    • flame_bloc - v1.12.14
    • flame_kenney_xml - v0.1.1+13
    • flame_lottie - v0.4.2+13
    • flame_markdown - v0.2.4+6
    • flame_console - v0.1.2+9
    • flame_rive - v1.10.16
    • flame_forge2d - v0.19.0+3
    • flame_noise - v0.3.2+13
    • flame_riverpod - v5.4.16
    • flame_network_assets - v0.3.3+13
    • flame_3d - v0.1.0-dev.13

    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: OpacityEffect now uses opacity instead of alpha internally (#2064). (b3b67301)
    • REFACTOR: Game render box cleanup (#1691). (60a5830d)
    • FIX: Event mixins missing @mustCallSuper (#2036). (c26d5da3)
    • FIX: SpeedController advance() should execute after its effect's onStart() (#2173). (7a1e2e8b)
    • FIX: Refresh vertices on size change of RectangleComponent (#2167). (4020d68b)
    • FIX: Fix coordinate system calculation in FixedAspectRationViewport (#2175). (c9c9881c)
    • FIX: SpriteButtonComponent missing @mustCallSuper added (#2001). (45a9d79b)
    • FIX: Focus handling with a scope on the GameWidget (#1725). (d1cd8517)
    • FIX: RemoveEffect should work within SequenceEffect (#2110). (03e1f33d)
    • FIX: #1966 unit test for Particles (#2097). (59bd7ebb)
    • FIX: OpacityEffect custom paint override (#2056). (fe9d4d9b)
    • FIX: #1998 (#2013). (f63711dc)
    • FIX: solid circles and polygons intersection (#2067). (62c5c2e1)
    • FIX: #2017 (#2039). (7f546b0f)
    • FIX: Exception when having multiple calls to dispose() function of a Svg instance (#2085). (a287904e)
    • FIX: Add missing hitbox parameters (#2070). (8aacb555)
    • FIX: Change Vector2.zero() to Vector2(0, -1) in Vector2Extensions.fromRadians() (#2016). (801c683c)
    • FEAT: Add children to World constructor (#2093). (3af416dc)
    • FEAT: Add paint layers to HasPaint and associated component renders (#2073). (9e6bf4fb)
    • FEAT: Add SizeProvider to clip_component and custom_paint_component. (#2100). (bb710646)
    • FEAT: Added HasGameReference mixin (#1828). (12ce270b)
    • FEAT: Added toString method to all the drags events message handlers (#2014). (a34f1df7)
    • FEAT: Add maintainState property to Route (#2161). (576ceaac)
    • FEAT: add onCancelled to ButtonComponent and HudButtonComponent (#2193). (e7f08906)
    • FEAT: onComponentTypeCheck support for ShapeHitbox (#1981). (f840210b)
    • FEAT: Added glow effect using maskFilter (#2129). (bcecd3c1)
    • FEAT: Add support for styles propagating through the text node tree (#1915). (b5780d42)
    • FEAT: Added SpriteFont class (#1992). (a0d7eada)
    • FEAT: Added CameraComponent.withFixedResolution() constructor (#2176). (e289f118)
    • FEAT: Add optional maxDistance to raycast (#2012). (6b78b10f)
    • FEAT: clampLength for Vector2 extension (#2190). (51a896b2)
    • FEAT: Adding onChildrenChanged (#1976). (3d043b86)
    • FEAT: Adding ComponentNotifier API (#1889). (bd7f51f5)
    • FEAT: removed future + isRemoved field for Component (#2080). (9f322785)
    • BREAKING FIX: Correct coordinate system for a circular viewport (#2174). (93dc4325)
    • BREAKING FIX: PolygonComponent no longer modifies _vertices (#2061). (8cd4793a)
    • BREAKING FEAT: Add OpacityProvider (#2062). (0255cc32)
    Open source →
  47. 1.4.0 01 Oct 2022
    Release notes
    • FEAT(flame_behaviors): Add ScreenCollisionBehavior (#3910). (48894135)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: move broadphase-related functionality into separate subdirectory (#1943). (f23acd41)

    • REFACTOR: used simpler and more implicit widgets in GameWidget (#1862). (44d17c64)

    • PERF: SpriteAnimationWidget will re-render only when needed (#1876). (bb678301)

    • FIX: Hitbox children of a CompositeHitbox to return correct parent (#1922). (d518705e)

    • FIX: OpacityEffect rounding error calculation (#1933). (4cfcfa64)

    • FIX: Expose hitboxParent from Hitbox (#1928). (3ba93351)

    • FIX: Raycast from CircleHitbox's center (#1918). (57ca47c8)

    • FEAT: quad tree broadphase support (#1894). (e33d5410)

    • FEAT: Make _ButtonState public for SpriteButtonComponent (#1941). (e80412c5)

    • FEAT: Add possibility for solid hitboxes (#1919). (205ac561)

    • FEAT: Adding callbacks for EffectController (#1926) (#1931). (8dcdf155)

    • FEAT: Added DebugTextFormatter (#1921). (426827d1)

    • FEAT: Add lookAt method for PositionComponent (#1891). (720c3566)

    • FEAT: add applyLifespanToChildren to Particle generate (#1911). (884d5190)

    • FEAT: Add broadphase generics to CollisionDetection (#1908). (f7714122)

    • FEAT: Adding ClipComponent (#1769). (f34d86db)

    • FEAT: Add support for isometric staggered maps (#1895). (96be8408)

    • FEAT: Experimental integer viewport (#1866). (63822de3)

    • FEAT: RecycledQueue now supports modification during iteration (#1884). (01b59493)

    • FEAT: Allow children of ComposedParticle to have varied lifespan (#1879). (6db519ec)

    • FEAT: Add removeWhere to Component (#1878). (abd28f28)

    • FEAT: Added RecycledQueue class (#1864). (9457e38e)

    • FEAT: Possibility to ignore hitboxes for ray casting (#1863). (b22bc643)

    • DOCS: Added Style Guide and Test Writing Guide (#1897). (999caca1)

    • BREAKING FIX: Make all ComponentSet modifications internal (#1877). (f26a066d) Migration instructions: For most methods Component has the corresponding methods directly on it already. For example, instead of using component.children.addAll you should do component.addAll.

    • BREAKING CHORE: Remove functions/classes that were scheduled for removal in v1.3.0 (#1867). (00ab347c) For each deleted function/method/class, the deprecation comment already specifies what functionality should be used instead.

    Open source →
  48. 1.3.0 19 Aug 2022
    Release notes
    Open source →
    Release notes

    Note: This release has breaking changes.

    • 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 colors to palette.dart (#1783). (85cd60e1)
    • FEAT: add children argument to SpriteComponent.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)
    Open source →
  49. 1.2.1 08 Jul 2022
    Release notes
    • FIX: Update version of lints to comply with new pub requirements (#3223). (1b0bee72)
    • DOCS: Add AI assist badge to readme(s) (#3226). (380d6aa9)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Game is now a class, not a mixin (#1751). (5225a4eb)
    • REFACTOR: Use new "super"-constructors in ShapeComponents (#1752). (b69e8d85)
    • PERF: Avoid unnecessary copy in AssetsCache.readBinaryFile (#1749). (7e79638d)
    • FIX: Specify size for the SpriteWidget (#1760). (82f75fcb)
    • FIX: SpriteAnimationWidget can now be update animation safely (#1738). (eb070195)
    • FIX: Overlays can now be properly added during onLoad (#1759). (9f35b154)
    • FIX: Camera incorrect follow with zoom and world boundaries. (c1756177)
    • FIX: Correct key events in GameWidget.controller (#1745). (01ed2ec9)
    • FIX: World component can now be queried with componentsAtPoint (#1739). (f750d705)
    • FIX: Correct flutter constraint (#1731). (c7383843)
    • FIX: ButtonComponent behavior when the engine is paused (#1726). (197e63d6)
    • FIX: Add missing paint arguments on shapes (#1727). (e59f3428)
    • FIX: Merge basic and advanced gesture detectors (#1718). (f08f8e12)
    • FEAT: New colors to palette.dart (#1783). (85cd60e1)
    • FEAT: Added TextFormatter classes (#1720). (c44272be)
    • FEAT: Drag events that dispatch using componentsAtPoint (#1715). (10669c12)
    • FEAT: add HasAncestor mixin (#1711). (987a44f4)
    • FEAT: Move to Flutter 3.0.0 and Dart 2.17.0 (#1713). (2a41d0d6)
    • DOCS: Klondike tutorial, part 4 (#1740). (02d0b71b)
    • BREAKING PERF: Game.images/assets are now same as Flame.images/assets by default (#1775). (0ccb0e2e)
    Open source →
  50. 1.2.0 07 Jun 2022
    Release notes
    • FEAT: Expand flame_lint to respect required pub.dev checks (#3139). (6e80bf5e)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • 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 missing mustCallSuper (#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 and ViewportMargin 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 in SpriteAnimation (#1564). (71999b19)

    • FEAT: Optional key for Images.load (#1624). (067c34b5)

    • FEAT: Bump to Flutter 2.10.0 (#1617). (beac9013)

    • FEAT: Add isFirstFrame and onStart event to SpriteAnimation (#1492). (701d0706)

    • FEAT: Add FpsComponent and FpsTextComponent (#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 FEAT: Adding GameWidget.controlled (#1650). (7ef6a51e)

    • BREAKING FEAT: remove onTimingsCallback for Flutter 3.0 (#1626). (0761a79d)

    • BREAKING FIX: Game.mouseCursor and Game.overlays can now be safely set during onLoad (#1498). (821d01c3) Migration instructions: The mouseCursor property is now a plain property with a setter, not a ChangeNotifier. Consequently, instead of writing game.mouseCursor.value = ..., one needs to write game.mouseCursor = ... now.

    • BREAKING FEAT: Added anchor for the Viewport (#1611). (c3bb14b7) Migration instructions: The coordinate system of the Viewport now always has the origin in the top-left corner of its bounding box (previously it was in the center) -- similar to the local coordinate system of a PositionComponent.

    • BREAKING FEAT: Add ability to render without loading on image related widgets (#1674). (40a061bc) Migration instructions: It only breaks SpriteButton when you are using future as a sprite or pressedSprite parameter. You should use SpriteButton.future if previously you are using future as a parameter.

    • BREAKING FEAT: Size effects will now work only on components implementing SizeProvider (#1571). (1bfed571) Migration instructions: It only breaks SpriteButton when you are using future as a sprite or pressedSprite parameter. You should use SpriteButton.future if previously you are using future as a parameter.

    Open source →
  51. 1.1.1 12 Apr 2022
    Release notes
    • REFACTOR: Remove unnecessary 'async' keyword across the codebase [DCM] (#2803). (2dfe0e5a)
    • REFACTOR: Avoid nested conditional expressions whenever possible [DCM] (#2784). (7b6a5712)
    • DOCS: Remove last broad cSpell bypass regex and fix all violations (#2802). (9b16b178)

    2023-09-22

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • flame_isolate - v0.5.0+1
    • flame_tiled - v1.14.1
    • flame_audio - v2.1.1
    • flame_spine - v0.1.1+3
    • flame_svg - v1.8.3
    • flame_test - v1.13.1
    • flame_oxygen - v0.1.9+1
    • flame_bloc - v1.10.3
    • flame_fire_atlas - v1.4.1
    • flame_markdown - v0.1.1+1
    • flame_forge2d - v0.15.0+1
    • flame_rive - v1.9.3
    • flame_noise - v0.1.1+6
    • flame_network_assets - v0.2.0+6
    • flame_lottie - v0.3.0+1

    Open source →
    Release notes
    • REFACTOR: Added classes MoveByEffect and MoveToEffect (#1524). (2171a119)
    • FIX: Invalidate polygon cache on resize (#1529). (11bf75d0)
    • FIX: Bug with anchor parameter in Sprite.render() (#1508). (325df46e)
    • FIX: Make CollisionProspect's a, b have unordered equality (#1519). (5b2471c8)
    • FEAT: able to clear all overlays (#1536). (7b15c9a1)
    • FEAT: Automatic Isometric Grid scaling (#1468). (cae8c0ce)
    • FEAT: Added children parameter to Component constructor (#1525). (f0b31fcf)
    • FEAT: Camera's Viewfinder can now be affected by rotation effects (#1527). (f46cae04)
    • FEAT: Scale (zoom) effects can now be applied to Viewfinder in CameraComponent (#1514). (403b6e60)
    • FEAT: adding HasGameRef.mockGameRef (#1520). (4f389f8b)
    • FEAT: flame tests can now generate golden tests (#1501). (316a0b3b)
    Open source →
  52. 1.1.0 27 Mar 2022
    Release notes
    • REFACTOR: Enable new DCM rule: avoid-cascade-after-if-null (#2676). (158fc34c)
    • REFACTOR: Remove unused variable on dialogue_view_test.dart (#2673). (b77802a5)
    • REFACTOR: Enable DCM linting (#2667). (27a8fd61)
    • FIX: Change DialogueView to a mixin class (#2652). (f3d4158b)
    • FEAT(flame_jenny): Allow removal of functions and commands (#2717). (a097cc01)
    • FEAT(flame_jenny): Allow removal of variables (#2716). (eaa8c091)
    • FEAT(flame_jenny): Allow removal of characters (#2715). (3421f4f9)
    • FEAT(flame_jenny): Public access to variables to allow load/save (#2689). (1485f842)
    • DOCS: Enable CSpell on tests (#2723). (e051298c)
    • DOCS: Improved spellchecking (#2722). (2f973abe)

    2023-08-08

    Changes


    Packages with breaking changes:

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • flame_isolate - v0.4.0+2
    • flame_audio - v2.0.5
    • flame_spine - v0.1.1+1
    • flame_svg - v1.8.1
    • flame_test - v1.12.1
    • flame_oxygen - v0.1.8+5
    • flame_bloc - v1.10.1
    • flame_fire_atlas - v1.3.8
    • flame_forge2d - v0.14.1+1
    • flame_noise - v0.1.1+4
    • flame_network_assets - v0.2.0+4
    • flame_lottie - v0.2.1+1

    Open source →
    Release notes
    • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
    Open source →
  53. 1.1.0-releasecandidate.6 22 Mar 2022 pre-release
    Release notes
    • FIX: Only end collisions where there was a collision (#1471). (e1e87fc4)
    • FIX: debugMode should be inherited from parent when mounted (#1469). (e894d201)
    • FEAT: Added method that returned descendants (#1461). (a41f5376)
    • FEAT: Possibility to mark gesture events as handled (#1465). (4c3960c3)
    • FEAT: adding loaded future to the component (#1466). (6434829b)
    • FEAT: Deprecating Rect methods (#1455). (4ddd90aa)
    • FEAT: Added .anchor property to CameraComponent.Viewfinder (#1458). (d51dc5e1)
    • DOCS: Rect extension docs is out of date (#1451). (7e505722)
    Open source →
  54. 1.1.0-releasecandidate.5 13 Mar 2022 pre-release
    Release notes
    • FIX: @mustCallSuper missing on components (#1443). (e01b4b1a)
    • FEAT: Add setter to priority (#1444). (34284686)
    Open source →
  55. 1.1.0-releasecandidate.4 11 Mar 2022 pre-release
    Release notes
    • FIX: Setting images.prefix to empty string (#1437). (694102bd)
    Open source →
  56. 1.1.0-releasecandidate.3 10 Mar 2022 pre-release
    Release notes
    • REFACTOR: Parent change and component removal logic (#1385). (8b9fa352)
    • FIX: viewfinders behavior under zoom (#1432). (f3cf85b6)
    • FIX: change strokeWidth in Component (#1431). (0e174fe8)
    • FEAT: allowing changing of the images prefix and allowing empty prefixes (#1433). (de4d9416)
    Open source →
  57. 1.1.0-releasecandidate.2 08 Mar 2022 pre-release
    Release notes
    • REFACTOR: Loadable mixin no longer declares onMount and onRemove (#1243). (b1f6a34c)
    • REFACTOR: Organize tests in the game/ folder (#1403). (102a27cc)
    • REFACTOR: Clean up of top-level tests (#1386). (e50003ed)
    • REFACTOR: Resize logic in GameRenderBox (#1308). (17c45c28)
    • REFACTOR: Simplify GameWidgetState.loaderFuture (#1232). (eb30c2e5)
    • REFACTOR: Component.ancestors() is now an iterator (#1242). (ce48d77a)
    • REFACTOR: Add a few more rules to flame_lint, including use_key_in_widget_constructors (#1248). (bac6c8a4)
    • REFACTOR: Removed parameter Component.updateTree({callOwnUpdate}) (#1224). (ed227e7c)
    • REFACTOR: Remove Loadable, optional onLoads (#1333). (05f7a4c3)
    • REFACTOR: Loadable no longer declares onGameResize (#1329). (20776e86)
    • REFACTOR: Use canvas.drawImageNine in NineTileBox (#1314). (d77e5efe)
    • PERF: Allow components to have null children (#1231). (66ad4b08)
    • FIX: flame svg perfomance (#1373). (bce24173)
    • FIX: Fix collision detection comments and typo (#1422). (dfeafdd6)
    • FIX: ParallaxComponent should have static positionType (#1350). (cfa6bd12)
    • FIX: Add missing priority argument for JoystickComponent (#1227). (23b1dd8b)
    • FIX: Step time in SpriteAnimation must be positive (#1387). (08e8eac1)
    • FIX: HudMarginComponent positioning on zoom (#1250). (4f0fb2de)
    • FIX: Call onCollisionEnd on removal of Collidable (#1247). (5ddcc6f7)
    • FIX: Both places should have strictMode = false (#1272). (72161ad8)
    • FIX: remove vector_math dependency (#1361). (56b33da2)
    • FIX: Deprecate pause and resume in GameLoop (#1240). (dc37053f)
    • FIX: Deprecate Images.decodeImageFromPixels (#1318). (1a80130c)
    • FIX: Properly dispose images when cache is cleared (#1312). (825fb0cc)
    • FIX: Fix SpriteAnimationWidget lifecycle (#1212). (86394dd3)
    • FIX: redrawing bug in TextBoxComponent (#1279). (8bef4805)
    • FIX: Add missing paint argument to SpriteComponent.fromImage (#1294). (254a60c8)
    • FIX: black frame when activating overlays (#1093). (85caf463)
    • FIX: prepareComponent should never run again on a prepared component (#1237). (7d3eeb73)
    • FIX: Allow most basic and advanced gesture detectors together (#1208). (5828b6f3)
    • FEAT: Added SpeedEffectController (#1260). (20f521f5)
    • FEAT: Added SineEffectController (#1262). (c888703d)
    • FEAT: Added ZigzagEffectController (#1261). (59adc5f3)
    • FEAT: Add onReleased callback for HudButtonComponent (#1296). (87ee34ca)
    • FEAT: Turn off strictMode for children (#1271). (6936e1d9)
    • FEAT: onCollisionStart for Collidable and HitboxShape (#1251). (9b95686b)
    • FEAT: adding has mounted to component (#1418). (f8f9e045)
    • FEAT: Added NoiseEffectController (#1356). (fad9d1d5)
    • FEAT: exporting cache classes (#1368). (3e058973)
    • FEAT: Update scale events to contain pan info (#1327). (70b96b07)
    • FEAT: Components are now always added in the correct order (#1337). (c753fc46)
    • FEAT: Added transform to Rect (#1360). (1818be41)
    • FEAT: Camera as a component (#1355). (c61a1c18)
    • FEAT: Effect.onComplete callback as an alternative to onFinish() (#1201). (932a8111)
    • FEAT: Add RandomEffectController (#1203). (cdb2650b)
    • FEAT: Component.childrenFactory can be used to set up a global ComponentSet factory (#1193). (223ab758)
    • DOCS: Added documentation for GameLoop class (#1234). (b1d4e587)
    • DOCS: Fix various dartdoc warnings (#1353). (9f096053)
    • BREAKING REFACTOR: Separate ComponentSet from the Component (#1266). (e2655b88)
    • BREAKING FIX: Remove pointerId from Draggable callbacks (#1313). (27adda17)
    • BREAKING FEAT: Use a broadphase to make collision detection more efficient (#1252). (29dd09ca)
    • BREAKING FEAT: Added SequenceEffect (#1218). (7c6ae6de)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Loadable mixin no longer declares onMount and onRemove (#1243). (b1f6a34c)
    • REFACTOR: Organize tests in the game/ folder (#1403). (102a27cc)
    • REFACTOR: Clean up of top-level tests (#1386). (e50003ed)
    • REFACTOR: Resize logic in GameRenderBox (#1308). (17c45c28)
    • REFACTOR: Simplify GameWidgetState.loaderFuture (#1232). (eb30c2e5)
    • REFACTOR: Component.ancestors() is now an iterator (#1242). (ce48d77a)
    • REFACTOR: Add a few more rules to flame_lint, including use_key_in_widget_constructors (#1248). (bac6c8a4)
    • REFACTOR: Removed parameter Component.updateTree({callOwnUpdate}) (#1224). (ed227e7c)
    • REFACTOR: Remove Loadable, optional onLoads (#1333). (05f7a4c3)
    • REFACTOR: Loadable no longer declares onGameResize (#1329). (20776e86)
    • REFACTOR: Use canvas.drawImageNine in NineTileBox (#1314). (d77e5efe)
    • PERF: Allow components to have null children (#1231). (66ad4b08)
    • FIX: flame svg perfomance (#1373). (bce24173)
    • FIX: Fix collision detection comments and typo (#1422). (dfeafdd6)
    • FIX: ParallaxComponent should have static positionType (#1350). (cfa6bd12)
    • FIX: Add missing priority argument for JoystickComponent (#1227). (23b1dd8b)
    • FIX: Step time in SpriteAnimation must be positive (#1387). (08e8eac1)
    • FIX: HudMarginComponent positioning on zoom (#1250). (4f0fb2de)
    • FIX: Call onCollisionEnd on removal of Collidable (#1247). (5ddcc6f7)
    • FIX: Both places should have strictMode = false (#1272). (72161ad8)
    • FIX: remove vector_math dependency (#1361). (56b33da2)
    • FIX: Deprecate pause and resume in GameLoop (#1240). (dc37053f)
    • FIX: Deprecate Images.decodeImageFromPixels (#1318). (1a80130c)
    • FIX: Properly dispose images when cache is cleared (#1312). (825fb0cc)
    • FIX: Fix SpriteAnimationWidget lifecycle (#1212). (86394dd3)
    • FIX: redrawing bug in TextBoxComponent (#1279). (8bef4805)
    • FIX: Add missing paint argument to SpriteComponent.fromImage (#1294). (254a60c8)
    • FIX: black frame when activating overlays (#1093). (85caf463)
    • FIX: prepareComponent should never run again on a prepared component (#1237). (7d3eeb73)
    • FIX: Allow most basic and advanced gesture detectors together (#1208). (5828b6f3)
    • FEAT: Added SpeedEffectController (#1260). (20f521f5)
    • FEAT: Added SineEffectController (#1262). (c888703d)
    • FEAT: Added ZigzagEffectController (#1261). (59adc5f3)
    • FEAT: Add onReleased callback for HudButtonComponent (#1296). (87ee34ca)
    • FEAT: Turn off strictMode for children (#1271). (6936e1d9)
    • FEAT: onCollisionStart for Collidable and HitboxShape (#1251). (9b95686b)
    • FEAT: adding has mounted to component (#1418). (f8f9e045)
    • FEAT: Added NoiseEffectController (#1356). (fad9d1d5)
    • FEAT: exporting cache classes (#1368). (3e058973)
    • FEAT: Update scale events to contain pan info (#1327). (70b96b07)
    • FEAT: Components are now always added in the correct order (#1337). (c753fc46)
    • FEAT: Added transform to Rect (#1360). (1818be41)
    • FEAT: Camera as a component (#1355). (c61a1c18)
    • FEAT: Effect.onComplete callback as an alternative to onFinish() (#1201). (932a8111)
    • FEAT: Add RandomEffectController (#1203). (cdb2650b)
    • FEAT: Component.childrenFactory can be used to set up a global ComponentSet factory (#1193). (223ab758)
    • DOCS: Added documentation for GameLoop class (#1234). (b1d4e587)
    • DOCS: Fix various dartdoc warnings (#1353). (9f096053)
    • BREAKING REFACTOR: Separate ComponentSet from the Component (#1266). (e2655b88)
    • BREAKING FIX: Remove pointerId from Draggable callbacks (#1313). (27adda17)
    • BREAKING FEAT: Use a broadphase to make collision detection more efficient (#1252). (29dd09ca)
    • BREAKING FEAT: Added SequenceEffect (#1218). (7c6ae6de)
    Open source →
  58. 1.1.0-releasecandidate.1 28 Feb 2022 pre-release
    Release notes
    • FIX: flame svg perfomance (#1373). (bce24173)
    • FIX: preventing svg rendering from affecting other renderings (#1339). (6e66baa1)
    • FEAT: adding default constructor on SvgComponent (#1334). (00619f80)
    • DOCS: Fix various dartdoc warnings (#1353). (9f096053)
    • BREAKING FEAT: Use a broadphase to make collision detection more efficient (#1252). (29dd09ca)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • REFACTOR: Clean up of top-level tests (#1386). (e50003ed)
    • REFACTOR: Remove Loadable, optional onLoads (#1333). (05f7a4c3)
    • REFACTOR: Loadable no longer declares onGameResize (#1329). (20776e86)
    • REFACTOR: Organize tests in the game/ folder (#1403). (102a27cc)
    • REFACTOR: Use canvas.drawImageNine in NineTileBox (#1314). (d77e5efe)
    • REFACTOR: Resize logic in GameRenderBox (#1308). (17c45c28)
    • REFACTOR: Loadable mixin no longer declares onMount and onRemove (#1243). (b1f6a34c)
    • REFACTOR: Removed parameter Component.updateTree({callOwnUpdate}) (#1224). (ed227e7c)
    • REFACTOR: Add a few more rules to flame_lint, including use_key_in_widget_constructors (#1248). (bac6c8a4)
    • REFACTOR: Component.ancestors() is now an iterator (#1242). (ce48d77a)
    • REFACTOR: Simplify GameWidgetState.loaderFuture (#1232). (eb30c2e5)
    • PERF: Allow components to have null children (#1231). (66ad4b08)
    • FIX: prepareComponent should never run again on a prepared component (#1237). (7d3eeb73)
    • FIX: flame svg perfomance (#1373). (bce24173)
    • FIX: Deprecate pause and resume in GameLoop (#1240). (dc37053f)
    • FIX: Deprecate Images.decodeImageFromPixels (#1318). (1a80130c)
    • FIX: Properly dispose images when cache is cleared (#1312). (825fb0cc)
    • FIX: Add missing paint argument to SpriteComponent.fromImage (#1294). (254a60c8)
    • FIX: Add missing priority argument for JoystickComponent (#1227). (23b1dd8b)
    • FIX: remove vector_math dependency (#1361). (56b33da2)
    • FIX: redrawing bug in TextBoxComponent (#1279). (8bef4805)
    • FIX: Fix SpriteAnimationWidget lifecycle (#1212). (86394dd3)
    • FIX: black frame when activating overlays (#1093). (85caf463)
    • FIX: Call onCollisionEnd on removal of Collidable (#1247). (5ddcc6f7)
    • FIX: HudMarginComponent positioning on zoom (#1250). (4f0fb2de)
    • FIX: Both places should have strictMode = false (#1272). (72161ad8)
    • FIX: ParallaxComponent should have static positionType (#1350). (cfa6bd12)
    • FIX: Allow most basic and advanced gesture detectors together (#1208). (5828b6f3)
    • FIX: Step time in SpriteAnimation must be positive (#1387). (08e8eac1)
    • FEAT: Update scale events to contain pan info (#1327). (70b96b07)
    • FEAT: Add RandomEffectController (#1203). (cdb2650b)
    • FEAT: Components are now always added in the correct order (#1337). (c753fc46)
    • FEAT: Effect.onComplete callback as an alternative to onFinish() (#1201). (932a8111)
    • FEAT: exporting cache classes (#1368). (3e058973)
    • FEAT: Added NoiseEffectController (#1356). (fad9d1d5)
    • FEAT: Added SineEffectController (#1262). (c888703d)
    • FEAT: Added SpeedEffectController (#1260). (20f521f5)
    • FEAT: Added ZigzagEffectController (#1261). (59adc5f3)
    • FEAT: Turn off strictMode for children (#1271). (6936e1d9)
    • FEAT: onCollisionStart for Collidable and HitboxShape (#1251). (9b95686b)
    • FEAT: Component.childrenFactory can be used to set up a global ComponentSet factory (#1193). (223ab758)
    • FEAT: Added transform to Rect (#1360). (1818be41)
    • FEAT: Add onReleased callback for HudButtonComponent (#1296). (87ee34ca)
    • DOCS: Fix various dartdoc warnings (#1353). (9f096053)
    • DOCS: Added documentation for GameLoop class (#1234). (b1d4e587)
    • BREAKING REFACTOR: Separate ComponentSet from the Component (#1266). (e2655b88)
    • BREAKING FIX: Remove pointerId from Draggable callbacks (#1313). (27adda17)
    • BREAKING FEAT: Added SequenceEffect (#1218). (7c6ae6de)

    CHANGELOG

    Open source →
  59. 1.0.0 08 Dec 2021
    Release notes
    Open source →
  60. 1.0.0-releasecandidate.18 25 Nov 2021 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive