Releases: flame-engine/flame
Releases · flame-engine/flame
v1.36.0
1.36.0
- FIX: Ray direction normalization drift issues (#3841). (b8e2bab5)
- FIX: Initialize center offset in
CircleComponentctor (#3842). (a0d2a5f3) - FIX: Resolve
fontPackageinIconComponent(_rasterizeIcon) (#3838). (cdb2a0dd) - FIX: Hitboxes now correctly account for parent scale and rotation (#3834). (57adcd60)
- FIX: Make
buildContextavailable duringonLoadandonMount(#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 inonRemove(#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
clampDoubletoVector2Extensionand its tests (#3840). (6c6ccf31) - FEAT: Add
transformMatrixsetter toTransform2D(#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 toFlameGame(#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 generic type parameter (#3822). (00a66123)
v1.35.1
v1.35.0
1.35.0
- 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). ([8d77c84](8d77c84e0c05d0b5b6ca57187b d0ee39e94c752f))
- FEAT: Add TextBoxComponent.resetAnimation (#3787). (33fb10c0)
- FEAT: Implement padding component inflateChild (#3785). (9ac53a69)
v1.34.0
1.34.0
- 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
CombinedEffectthat bundles many effects together in one (#3776). (77869f57) - DOCS: Fix documentation typos (#3769). (db74da15)
v1.33.0
1.33.0
Note: This release has breaking changes.
- REFACTOR: Re-organize internal event imports (#3742). (7523e014)
- PERF:
addAllshouldn't create unnecessary growing lists (#3737). (d1fa9d0d) - FIX: Store json maps directly in AssetsCache (#3746). (8a9f493f)
- FIX: Unique
ComponentKeytoString (#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)
v1.32.0
v1.31.0
1.31.0
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
ParallaxComponentshould respect thevirtualSize(#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)
v1.30.1
v1.30.0
1.30.0
Note: This release has breaking changes.
- FIX:
angleToandlookAtshould consider parental transformations (#3629). (e6f3d105) - FIX:
angleTo,absoluteAngleand theanglesetter 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.onDisposelast and checkmountedbeforesetState(#3623). (3d2716c1) - FIX: Angled line intersections should work with 32-bit vectors (#3617). (e32bff45)
- FIX: PostProcessComponent should size dynamically (#3611). (baecb861)
- FEAT: Add
targetargument toSpawnComponent(#3635). (3747e1e8) - FEAT: Add
spawnCounttoSpawnComponent(#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
WidgetTesterfortestGoldenprepare function (#3624). (10509326)
v1.29.0
1.29.0
Note: This release has breaking changes.
- FIX: Only expose
ReadOnlyOrderedsetfromcomponent.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
parentafter parent is remove from tree (#3602). (008829af)