Releases: flame-engine/flame
Releases · flame-engine/flame
v1.21.0
1.21.0
- 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)
v1.20.0
1.20.0
- FIX: SpriteButtonComponent to initialize sprites in onLoad (#3302). ([1204216](https://github.com/flame-engine/flame/commit/
- 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
v1.19.0
1.19.0
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
andresume
toHasTimeScale
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)
v1.18.0
1.18.0
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 toAdvancedButtonComponent
which will be called withinonTapUp
(#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)
v1.17.0
1.17.0
Note: This release has breaking changes.
- REFACTOR: Change the ClipComponent factory Constructor to redirect Constructor (#3089). (cc035fb4)
- FIX: Call
render
properly from nestedFlameGame
s (#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 theTextBoxConfig
(#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 onGame
(#3043). (6270353a) - BREAKING REFACTOR: Use HasTimeScale for Route (#3064). (30fde805)
- BREAKING FIX: Removed unused parameters from SpriteWidget (#3074). (f49d24c0)
v1.16.0
v1.15.0
1.15.0
- REFACTOR: Minimize
Vector2
creation inIsometricTileMapComponent
(#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)
v1.14.0
1.14.0
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)
v1.13.1
v1.13.0
1.13.0
- FIX: Logic error in MemoryCache.setValue() (#2931). (8cee80c3)
- FIX: Export
ScalingParticle
(#2928). (3730cb1d) - FIX: Misalignment of the hittest area of PolygonHitbox (#2930). (db db1379)
- FIX: Allow setting
bounds
whileBoundedPositionBehavior
's target is null (#2926). (bab9be6e) - FEAT: Ability to use
selfPositioning
inSpawnComponent
(#2927). (b526aa14) - FEAT: Add
margin
andspacing
properties toSpriteSheet
(#2925) . (67f7c126) - FEAT: Add
children
toSpriteAnimationComponent.fromFrameData
([#2914](#29 14)). (caf2b909) - DOCS: Remove references to Tappable and Draggable (#2912). (d12e454 4)