Commit Graph

456 Commits

Author SHA1 Message Date
DevKage
b5a1513c41 Migrate PanDetector handlers to DragCallbacks 2026-03-11 18:48:43 +05:30
DevKage
c0170cd1d8 Improve auto-batching and rendering safety
- Fix render-context cleanup in `Component.renderChild` to use the child's original context length
- Accumulators key by `Image` (instead of identity hash)
- Allow `ShapeHitbox` children to render hitbox debug visuals when needed
- Add stricter eligibility checks (decorator constraints, and excluding non-srcOver blend modes)
- Minor test string updates and removal of an unused import in the example.
2026-03-07 23:46:46 +05:30
DevKage
343b411235 Use colored text for batching status 2026-03-07 18:54:48 +05:30
DevKage
55f81b9645 Update rogue shooter to use auto batching 2026-03-07 18:31:26 +05:30
github-actions[bot]
174425d32f chore(release): Publish packages (#3846)
Prepared all packages to be released to pub.dev

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 19:08:53 +01:00
DevKage
b8e2bab58f fix: Ray direction normalization drift issues (#3841)
`raytrace()` reuses the same `RaycastResult` objects across bounces, so
the reflected direction from one bounce becomes the incident direction
for the next. `Vector2.reflect()` is not bit-exact, so each bounce
introduces a tiny floating-point rounding error. After enough bounces
the direction's length drifts just past the `1e-6` tolerance that `Ray2`
enforces, causing a `direction must be normalized` assertion crash.

Two fixes:

- **`CircleHitbox`** and **`PolygonRayIntersection`** (used by
`RectangleHitbox` / `PolygonHitbox`): call `normalize()` on the
reflected direction before passing it to `Ray2`, so drift is corrected
on every bounce.
- **`raytrace_example`**: the initial ray direction was set via a
cascade on the `Vector2` getter (`ray.direction..setValues(...)`), which
bypasses the `direction=` setter and leaves the cached inverse values
stale. Fixed to assign through the setter.

Regression tests are included that inject a direction whose length² is
already above the threshold (by writing directly to the underlying
`Vector2`, bypassing the setter), then assert that `raycast()` does not
throw.

---------

Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2026-03-05 12:18:27 +00:00
Lukas Klingsbo
97931a5936 feat: Add an IconComponent that renders IconData (#3820)
This adds a `ComponentComponent` that renders `IconData`.
It doesn't render it through the text pipeline, so we can easily add
color effects to the icons.

[Screencast from 2026-03-01
16-44-22.webm](https://github.com/user-attachments/assets/f5233d20-ec6c-45ed-9552-f23031ea47fb)
2026-03-01 21:14:30 +01:00
DevKage
46802fab47 feat: Add object pooling support with ComponentPool (#3816)
This PR introduces object pooling functionality to Flame through the new
`ComponentPool` class. Object pooling is a performance optimization
technique that reduces garbage collection pressure by reusing component
instances instead of creating and destroying them repeatedly.

ComponentPool is a generic pool that works with any `Component`. Manages
reusable components with configurable sizing, automatic lifecycle
handling, and LIFO reuse order. Components are automatically returned to
the pool when removed from the game tree via `removeFromParent()`.
2026-03-01 15:56:47 +01:00
Lukas Klingsbo
3498c1e565 fix: Use scaledRadius for CircleHitbox collision detection (#3808)
The circle hitboxes didn't take the scaled radius into account properly,
this PR solves #3508
2026-02-13 15:54:18 +01:00
Lukas Klingsbo
0d50530485 fix: Bump Flutter min version to 3.41.0 (#3807)
Bump the Flutter and dartdoc version so that we can develop with the new
Flutter version.
This aggressive bump is due to Flutter bumping dartdoc to 9.0.0.
2026-02-12 21:42:47 +01:00
github-actions[bot]
a90178096d chore(release): Publish packages (#3806)
Prepared all packages to be released to pub.dev

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-11 15:59:36 +00:00
github-actions[bot]
84fb109d2d chore(release): Publish Flame v1.35.0 (#3801)
Prepared all packages to be released to pub.dev

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-01 16:27:40 +01:00
Liv Tan Ong
9ac53a69e4 feat: Implement padding component inflateChild (#3785)
- Exposes `inflateChild` as a field of `SingleLayoutComponent`
- Implements `inflateChild` for `PaddingComponent`
- Refactors `ExpandedComponent`
2025-12-09 22:45:17 +01:00
github-actions[bot]
79a5c20c3e chore(release): Publish packages (#3781)
Prepared all packages to be released to pub.dev

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-23 11:25:40 +01:00
stilnat
f413eddbf1 feat: Add scaling gesture for components (#3770)
Currently, scaling is only working on device scale. This PR allows
scaling gesture to be applied on components, very much like dragging
works with drag callbacks. I added a ScaleDispatcher component which
works very similarly to MultiDragDispatcher, basically sending the
callbacks of ScaleGestureRecognizer to the components.

There was some tricky parts though. The goal was to preserve multi drag
functionality while adding scale functionality but I run into this issue
:
When running concurrently ScaleGestureRecognizer and
ImmediateMultiDragGestureRecognizer, since drag in a simpler gesture it
is usually recognized before scale, and therefore, drag wins the gesture
arena and one pointer (finger) gets reserved for dragging. Scale gets
recognized a bit later, but with a single pointer, and data such as
scale or rotation are meaningless with a single pointer.

More generally, multi dragging and scaling are two very similar gestures
and it will inevitably lead to some ambiguities.

There was multiple solutions to this, all with their own drawbacks : 
1. Not allowing multi dragging and scaling at the same time, with a
mechanic to switch between the two. Simple to implement
but quite limiting.
2. Introducing a delay with DelayedMultiDragGestureRecognizer, the
simplest solution, works well since scaling then gets recognized before
dragging, removing the ambiguity. The default delay is unacceptably long
though but I did not experiment with shorter delay.
3. Using the data from the dragging pointer, to reconstruct rotation and
scaling data, as if the dragging pointer was part of the scaling
gesture.

We decided to go with the third solution as it preserves the ability to
do multi drag instantaneously while allowing scaling at the same time.
One issue inherent to this solution is also linked to the ambiguity
between some multi drag gestures and scaling, preventing some multi drag
gestures to be performed properly (basically all multi drag gestures
similar to scaling).

One possibility would be to use the data from the single pointer scaling
and send that to MultiDragDispatcher, basically what solution 3 does but
the other way around. this would allow for drag and scaling to work at
the same time.

Another issue exists that might be fixable though : it doesn't behave
great when three fingers are involved, basically when I lift one of the
two first fingers, the third one is used in the scale and rotation
computations leading to unwanted "jumps".
The issue is that pointers are not really tracked, so eventually the
third finger position can be used as if it was the second one.

## Future things to do after this PR

- fix the 3 finger issues described above
- add a simple switch mechanism to activate/deactivate scale gesture
recognizing at run time to allow for full real multi drag to work OR
investigate "use the data from the single pointer scaling" solution.

---------

Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
2025-11-22 23:57:53 +00:00
Liv Tan Ong
476680d7b6 feat: Linear layout component text box component (#3779)
Modifies LinearLayoutComponent such that when oriented vertically and
set to CrossAxisAlignment.stretch, whenever it encounters a child that
is a TextBoxComponent, sets its `boxConfig.maxWidth` to the appropriate
width.

Currently dependent on https://github.com/flame-engine/flame/pull/3777,
so that has to be merged first before this.


This is only a minor breaking change. If you were using a
TextBoxComponent inside LinearLayoutComponent, chances are you had to do
weird things to make it work as you expect. You'd simply have to remove
the workaround code you wrote for it.

---------

Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-11-22 18:25:22 +01:00
Liv Tan Ong
eefb2f9e96 feat: TextBoxComponent updateBounds on set boxConfig (#3777)
Currently, when `boxConfig.maxWidth` is changed, TextBoxComponent does
not reflow its text. This PR fixes this.

Note that this PR includes a non-standard control in its example. This
is intentional because the point of this PR is to support the change to
an existing instantiated component. Using a standard Dashbook control
obviates the point of this PR. Once
https://github.com/bluefireteam/dashbook/issues/128 is done, this will
be migrated.

---------

Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-11-22 10:16:21 +01:00
Lukas Klingsbo
77869f573d feat: Add the CombinedEffect that bundles many effects together in one (#3776)
This adds a new effect, the `CombinedEffect`, which makes it easier to
bundle effects together.
2025-11-21 23:46:46 +01:00
github-actions[bot]
7ab0c94208 chore(release): Publish packages (#3761)
Prepared all packages to be released to pub.dev

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-03 22:30:24 +00:00
Anthony Taormina
17bc40c361 feat!: Support Spine 4.3 (#3760)
As-is, the existing `flame_spine` supports Spine 4.2. `spine_flutter` in
4.3.0 now supports Spine 4.3, and this is backwards incompatible and
breaking. If you need Spine 4.2, you should not upgrade to `flame_spine`
0.3.0, but this is for anyone who is ready to make the Spine 4.3 jump.
We recommend pinning to 0.2.2 for `spine_flutter` 4.2.36 if you are
staying on Spine 4.2.

The top-level API has many breaking changes, and this changelog has a
good summary of what needs to be done:
https://pub.dev/packages/spine_flutter/changelog

The Dart code changes are relatively straightforward, but any Spine
models need to be re-exported through the 4.3 Spine Editor (and you
SHOULD make sure that all models still do everything that is expected!
There might be random bones that don't look right any more, random
animations, and certain models just don't work.)


Dart API changes: https://pub.dev/packages/spine_flutter/changelog
Re-export at 4.2 Spine models from the 4.3 Spine Editor and confirm each
model works.
2025-11-03 17:47:59 +01:00
Lukas Klingsbo
3853567804 chore(release): Publish Flame v1.33.0 et. al (#3754)
```
The following 25 packages will be updated:

Package Name               Current Version   Updated Version   Update Reason
flame                      1.32.0            1.33.0            manual versioning
flame_test                 2.0.3             2.1.0             manual versioning
flame_audio                2.11.10           2.11.11           updated with patch changes
flame_behaviors            1.2.0             1.3.0             updated with minor changes
flame_console              0.1.2+12          0.1.2+13          updated with patch changes
flame_fire_atlas           1.8.11            1.8.12            updated with patch changes
flame_network_assets       0.3.3+16          0.3.3+17          updated with patch changes
flame_spine                0.2.2+16          0.2.2+17          updated with patch changes
flame_sprite_fusion        0.2.0+3           0.2.1             updated with minor changes
flame_steering_behaviors   0.2.0             0.2.1             updated with minor changes
flame_tiled                3.0.7             3.0.8             updated with patch changes
flame_behavior_tree        0.1.3+16          0.1.3+17          dependency was updated
flame_oxygen               0.2.3+16          0.2.3+17          dependency was updated
flame_isolate              0.6.2+16          0.6.2+17          dependency was updated
flame_texturepacker        5.0.1             5.0.2             dependency was updated
flame_bloc                 1.12.17           1.12.18           dependency was updated
flame_kenney_xml           0.1.1+16          0.1.1+17          dependency was updated
flame_lottie               0.4.2+16          0.4.2+17          dependency was updated
flame_markdown             0.2.4+9           0.2.4+10          dependency was updated
flame_rive                 1.10.19           1.10.20           dependency was updated
flame_forge2d              0.19.2            0.19.2+1          dependency was updated
flame_noise                0.3.2+16          0.3.2+17          dependency was updated
flame_riverpod             5.4.19            5.4.20            dependency was updated
flame_svg                  1.11.16           1.11.17           dependency was updated
flame_3d                   0.1.1+2           0.1.1+3           dependency was updated

```
2025-10-22 20:42:39 +02:00
Liv Tan Ong
212ed354d7 feat!: Implements ExpandedComponent (#3662)
Implements an `ExpandedComponent`, which takes up as much space as
possible along the main axis within a `LinearLayoutComponent`. With more
than one `ExpandedComponent`, this expansion is divided equally.


`PaddingComponent` now inherits from `SingleLayoutComponent`.

---------

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-10-20 10:42:07 +02:00
Luan Nico
8a73111f5f docs: Update input examples to use RectangleComponent where sensible (#3745)
Update input examples to use `RectangleComponent` where sensible.

Minor simplification as suggested by @spydon on
https://github.com/flame-engine/flame/pull/3741
2025-10-06 12:49:18 -04:00
Luan Nico
46bd385675 feat!: Support secondary taps (right click) on new callbacks system (#3741)
Support secondary taps (right click) on new callbacks system.

In order to follow through with our [event system
migration](https://docs.google.com/document/d/1nBUup9QCPioVwWL1zs79z1hWF882tAYfNywFMdye2Qc),
we need to make sure the new system is equipped to support all use
cases; also changes the existing TapCallbacks to be primary-only.

I noticed that we don't support "secondary taps" (i.e. right clicks), so
I am adding this. I honestly really dislike the fact that this is
considered a completely different event from the left click, instead of
just a property on the click event. But I kept this structure to
replicate what Flutter does, so this is more familiar for users. I think
that is worth the slight verbosity of having yet another detector. Also,
it plays well this way with Flutter because that underlying events are a
bit different (for example, the secondary ones don't support `pointId`).

Note: this is a slight breaking change because the existing detector
works for BOTH left and right click, but there is NO WAY of
distinguishing them because the `buttons` property is not propagated in
the Flutter end (massive oversight I believe - might put a PR later).
Since this provides the secondary as a solution, it also removes
secondary clicks from triggering the primary. I think this is more
versatile than having tap detector=`(primary OR secondary)` and
secondary=`(secondary only)`.

I don't think this should affect basically any users because (1) desktop
only and (2) this acceptance of right clicks was probably a bug anyway
(for example, on the example it would rotate the square and also open
the context menu, which is jarring).

However I am happy to add an option or pursue a different approach, I
believe this is the best path forward, IMO.
2025-10-06 11:11:31 -04:00
Luan Nico
b173697bfb docs: Deprecate TapDetector in favour of TapCallbacks (#2886)
Deprecate `TapDetector` in favour of `TapCallbacks`
2025-10-02 20:21:05 +00:00
github-actions[bot]
26a7befe1b chore(release): Publish packages (#3718)
Prepared all packages to be released to pub.dev

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-08 20:14:03 +00:00
Lukas Klingsbo
93e88f0470 chore(release): Publish new versions of flame_forge2d and flame_3d (#3715)
- flame_forge2d@0.19.1
 - flame_3d@0.1.1+2
2025-09-07 19:17:17 +00:00
github-actions[bot]
bef91c0ac3 chore(release): Publish packages (#3703)
Prepared all packages to be released to pub.dev

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-26 07:34:37 +00:00
Lukas Klingsbo
a480e249c0 chore: Release Flame v1.31.0 (#3693)
```
Package Name           Current Version   Updated Version   Update Reason
flame                  1.30.1            1.31.0            manual versioning
flame_3d               0.1.0-dev.14      0.1.0             manual versioning
flame_lint             1.4.1             1.4.2             updated with patch changes
flame_texturepacker    4.4.1             5.0.0             updated with major changes
flame_behavior_tree    0.1.3+14          0.1.3+15          dependency was updated
flame_test             2.0.1             2.0.2             dependency was updated
flame_tiled            3.0.5             3.0.6             dependency was updated
flame_oxygen           0.2.3+14          0.2.3+15          dependency was updated
flame_isolate          0.6.2+14          0.6.2+15          dependency was updated
flame_sprite_fusion    0.2.0+1           0.2.0+2           dependency was updated
flame_fire_atlas       1.8.9             1.8.10            dependency was updated
flame_audio            2.11.8            2.11.9            dependency was updated
flame_spine            0.2.2+14          0.2.2+15          dependency was updated
flame_bloc             1.12.15           1.12.16           dependency was updated
flame_kenney_xml       0.1.1+14          0.1.1+15          dependency was updated
flame_lottie           0.4.2+14          0.4.2+15          dependency was updated
flame_markdown         0.2.4+7           0.2.4+8           dependency was updated
flame_console          0.1.2+10          0.1.2+11          dependency was updated
flame_rive             1.10.17           1.10.18           dependency was updated
flame_forge2d          0.19.0+4          0.19.0+5          dependency was updated
flame_noise            0.3.2+14          0.3.2+15          dependency was updated
flame_riverpod         5.4.17            5.4.18            dependency was updated
flame_svg              1.11.14           1.11.15           dependency was updated
flame_network_assets   0.3.3+14          0.3.3+15          dependency was updated
```
2025-08-23 10:43:01 -04:00
Lukas Klingsbo
4a8d17462d chore: Fix 3.35 analyze issues (#3686)
Fixes up the analyze issues reported by 3.35 and finishes off the bump
to 3.32.0 as min Flutter version.
2025-08-18 17:06:43 +02:00
Luan Nico
e7777d9914 chore: Expunge codebase of unholy abbreviations (idx) (#3677)
Expunge codebase of unholy abbreviations (idx). This prevents further
misery to be latched upon @spydon
2025-08-10 13:05:32 -04:00
Luan Nico
b79fee0ae2 chore: Update min Dart constraint to 3.8 (#3676)
Update min Dart constraint to 3.8, which will enable us to use the
fancier collection literals.

This requires bumping the min Flutter version as well:

<img width="1892" height="1122" alt="image"
src="https://github.com/user-attachments/assets/7c7b07fc-4d96-4987-824d-9a7133ecfb85"
/>
2025-08-10 12:42:31 -04:00
Luan Nico
58a4110761 feat: Use new random extensions to simplify the t-rex example game (#3674)
Use new random extensions to simplify the t-rex example game.
Also make the jump a bit more forgiving to better mimic the chrome
version.
2025-08-08 19:48:24 -04:00
Luan Nico
526104604f chore: Bring an end to .metadata conflicts (#3668)
Remove all `.metadata` files across the monorepo and add them to
.gitignore.
They just serve to cause conflicts whenever someone runs anything and
according to @wolfenrain "we don't need them".
2025-08-02 11:42:53 +00:00
Lukas Klingsbo
9f29c785a1 fix: The ParallaxComponent should respect the virtualSize (#3666)
Since the `FixedResolutionViewport` reports the canvas size as size we
have to use the `virtualSize` when fullscreening the `ParallaxComponent`
within such viewport.
2025-07-31 12:44:44 +00:00
Liv Tan Ong
6c953a2862 feat: Padding component (#3661)
Implements a padding component similar to the padding widget of Flutter.
2025-07-29 11:40:13 +02:00
Liv Tan Ong
e8860f622a refactor!: Remove shrinkwrap (#3660)
Removes the `shrinkWrap` property from `LayoutComponent` and its
subclasses, and make the `size` setter nullable. Setting the `size` to
null causes the `LayoutComponent` to behave as if it were
`shrinkWrap`ed.

---------

Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-07-28 10:12:09 +00:00
Lukas Klingsbo
a31ad34746 chore(release): Publish packages (#3643)
```
Package Name           Current Version   Updated Version   Update Reason
flame                  1.30.0            1.30.1            manual versioning
flame_lint             1.4.0             1.4.1             manual versioning
jenny                  1.4.0             1.5.0             manual versioning
flame_behavior_tree    0.1.3+13          0.1.3+14          dependency was updated
flame_test             2.0.0             2.0.1             dependency was updated
flame_tiled            3.0.4             3.0.5             dependency was updated
flame_oxygen           0.2.3+13          0.2.3+14          dependency was updated
flame_isolate          0.6.2+13          0.6.2+14          dependency was updated
flame_texturepacker    4.4.0             4.4.1             dependency was updated
flame_sprite_fusion    0.2.0             0.2.0+1           dependency was updated
flame_fire_atlas       1.8.8             1.8.9             dependency was updated
flame_audio            2.11.7            2.11.8            dependency was updated
flame_spine            0.2.2+13          0.2.2+14          dependency was updated
flame_bloc             1.12.14           1.12.15           dependency was updated
flame_kenney_xml       0.1.1+13          0.1.1+14          dependency was updated
flame_lottie           0.4.2+13          0.4.2+14          dependency was updated
flame_markdown         0.2.4+6           0.2.4+7           dependency was updated
flame_console          0.1.2+9           0.1.2+10          dependency was updated
flame_rive             1.10.16           1.10.17           dependency was updated
flame_forge2d          0.19.0+3          0.19.0+4          dependency was updated
flame_noise            0.3.2+13          0.3.2+14          dependency was updated
flame_riverpod         5.4.16            5.4.17            dependency was updated
flame_svg              1.11.13           1.11.14           dependency was updated
flame_network_assets   0.3.3+13          0.3.3+14          dependency was updated
flame_3d               0.1.0-dev.13      0.1.0-dev.14      dependency was updated
```
2025-07-13 09:43:25 -03:00
Lukas Klingsbo
6666f85c8f docs: Update docs about camera zooming (#3640)
The docs about camera zooming was outdated, this updates them.
2025-07-13 10:53:05 +00:00
Lukas Klingsbo
c8f364e7a1 chore(release): Publish Flame 1.30.0 et. al (#3636)
```
Package Name           Current Version   Updated Version   Update Reason
flame                  1.29.0            2.0.0             updated with major changes
flame_sprite_fusion    0.1.3+12          0.2.0             updated with major changes
flame_svg              1.11.12           1.11.13           updated with patch changes
flame_test             1.19.2            2.0.0             updated with major changes
flame_texturepacker    4.3.1             4.4.0             updated with minor changes
flame_tiled            3.0.3             3.0.4             updated with patch changes
flame_behavior_tree    0.1.3+12          0.1.3+13          dependency was updated
flame_oxygen           0.2.3+12          0.2.3+13          dependency was updated
flame_isolate          0.6.2+12          0.6.2+13          dependency was updated
flame_fire_atlas       1.8.7             1.8.8             dependency was updated
flame_audio            2.11.6            2.11.7            dependency was updated
flame_spine            0.2.2+12          0.2.2+13          dependency was updated
flame_bloc             1.12.13           1.12.14           dependency was updated
flame_kenney_xml       0.1.1+12          0.1.1+13          dependency was updated
flame_lottie           0.4.2+12          0.4.2+13          dependency was updated
flame_markdown         0.2.4+5           0.2.4+6           dependency was updated
flame_console          0.1.2+8           0.1.2+9           dependency was updated
flame_rive             1.10.15           1.10.16           dependency was updated
flame_forge2d          0.19.0+2          0.19.0+3          dependency was updated
flame_noise            0.3.2+12          0.3.2+13          dependency was updated
flame_riverpod         5.4.15            5.4.16            dependency was updated
flame_network_assets   0.3.3+12          0.3.3+13          dependency was updated
flame_3d               0.1.0-dev.12      0.1.0-dev.13      dependency was updated
```
2025-06-30 14:57:31 +02:00
Luan Nico
e6f3d10557 fix: angleTo and lookAt should consider parental transformations (#3629)
Fix `angleTo` and `lookAt` considering parental transformations, notably
the angle and flips of parents.

Closes: #3625

---------

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-06-27 15:39:41 +02:00
Lukas Klingsbo
baecb86186 fix: PostProcessComponent should size dynamically (#3611)
The `PostProcessComponent` now updates its size if the children list
changes.
This only applies if it doesn't have an explicit size.
2025-05-26 22:00:25 +02:00
Lukas Klingsbo
cb795ea3db chore(release): Publish packages (#3608)
```
Package Name           Current Version   Updated Version   Update Reason
flame                  1.28.1            1.29.0            manual versioning
flame_3d               0.1.0-dev.11      0.1.0-dev.12      updated with patch changes
flame_lint             1.3.0             1.4.0             updated with minor changes
jenny                  1.3.3             1.4.0             updated with minor changes
flame_behavior_tree    0.1.3+11          0.1.3+12          dependency was updated
flame_test             1.19.1            1.19.2            dependency was updated
flame_tiled            3.0.2             3.0.3             dependency was updated
flame_oxygen           0.2.3+11          0.2.3+12          dependency was updated
flame_isolate          0.6.2+11          0.6.2+12          dependency was updated
flame_texturepacker    4.3.0             4.3.1             dependency was updated
flame_sprite_fusion    0.1.3+11          0.1.3+12          dependency was updated
flame_fire_atlas       1.8.6             1.8.7             dependency was updated
flame_audio            2.11.5            2.11.6            dependency was updated
flame_spine            0.2.2+11          0.2.2+12          dependency was updated
flame_bloc             1.12.12           1.12.13           dependency was updated
flame_kenney_xml       0.1.1+11          0.1.1+12          dependency was updated
flame_lottie           0.4.2+11          0.4.2+12          dependency was updated
flame_markdown         0.2.4+4           0.2.4+5           dependency was updated
flame_console          0.1.2+7           0.1.2+8           dependency was updated
flame_rive             1.10.14           1.10.15           dependency was updated
flame_forge2d          0.19.0+1          0.19.0+2          dependency was updated
flame_noise            0.3.2+11          0.3.2+12          dependency was updated
flame_riverpod         5.4.14            5.4.15            dependency was updated
flame_svg              1.11.11           1.11.12           dependency was updated
flame_network_assets   0.3.3+11          0.3.3+12          dependency was updated
```
2025-05-23 14:55:49 +02:00
Liv Tan Ong
bd5a4ca68a feat(Jenny): Add onCommandFinish lifecycle method to DialogueView (#3600)
Add onCommandFinish lifecycle method to DialogueView

---------

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-05-09 16:58:08 +00:00
Lukas Klingsbo
7bc37b56ed docs: Remove SingleGameInstance mixin from crystal ball example (#3598)
Due to a race (I'm guessing) sometimes the crystal ball game will try to
access the game after it has been changed to another example, thus
making the examples app crash since the crystal ball game has the
`SingleGameInstance` mixin on the game.

Closes #3597
2025-05-07 13:04:57 +00:00
Lukas Klingsbo
388d4a5ae6 chore(release): Publish Flame v1.28.1 et. al (#3582)
```dart
Package Name           Current Version   Updated Version   Update Reason
flame                  1.28.0            1.28.1            manual versioning
flame_3d               0.1.0-dev.10      0.1.0-dev.11      updated with minor changes
flame_console          0.1.2+6           0.1.2+7           updated with patch changes
flame_texturepacker    4.2.0             4.3.0             updated with minor changes
flame_behavior_tree    0.1.3+10          0.1.3+11          dependency was updated
flame_test             1.19.0            1.19.1            dependency was updated
flame_tiled            3.0.1             3.0.2             dependency was updated
flame_oxygen           0.2.3+10          0.2.3+11          dependency was updated
flame_isolate          0.6.2+10          0.6.2+11          dependency was updated
flame_sprite_fusion    0.1.3+10          0.1.3+11          dependency was updated
flame_fire_atlas       1.8.5             1.8.6             dependency was updated
flame_audio            2.11.4            2.11.5            dependency was updated
flame_spine            0.2.2+10          0.2.2+11          dependency was updated
flame_bloc             1.12.11           1.12.12           dependency was updated
flame_kenney_xml       0.1.1+10          0.1.1+11          dependency was updated
flame_lottie           0.4.2+10          0.4.2+11          dependency was updated
flame_markdown         0.2.4+3           0.2.4+4           dependency was updated
flame_rive             1.10.13           1.10.14           dependency was updated
flame_forge2d          0.19.0            0.19.0+1          dependency was updated
flame_noise            0.3.2+10          0.3.2+11          dependency was updated
flame_riverpod         5.4.13            5.4.14            dependency was updated
flame_svg              1.11.10           1.11.11           dependency was updated
flame_network_assets   0.3.3+10          0.3.3+11          dependency was updated
```
2025-04-23 12:46:23 +02:00
Lukas Klingsbo
2711572952 fix: Add fragment shader extension from flutter_shaders (#3578)
This adds the fragment shader extension from flutter_shaders.
It allows for setting uniforms in a more convenient way.
2025-04-22 20:34:42 +02:00
Lukas Klingsbo
cc15414da5 chore(release): Publish Flame v1.28.0 et. al (#3565)
```
Package Name           Current Version   Updated Version   Update Reason
flame                  1.27.0            1.28.0            manual versioning
flame_test             1.18.3            1.19.0            manual versioning
flame_3d               0.1.0-dev.9       0.1.0-dev.10      updated with patch changes
flame_forge2d          0.18.3+1          0.19.0            updated with major changes
flame_svg              1.11.9            1.11.10           updated with patch changes
flame_texturepacker    4.1.9             4.2.0             updated with minor changes
flame_behavior_tree    0.1.3+9           0.1.3+10          dependency was updated
flame_tiled            3.0.0             3.0.1             dependency was updated
flame_oxygen           0.2.3+9           0.2.3+10          dependency was updated
flame_isolate          0.6.2+9           0.6.2+10          dependency was updated
flame_sprite_fusion    0.1.3+9           0.1.3+10          dependency was updated
flame_fire_atlas       1.8.4             1.8.5             dependency was updated
flame_audio            2.11.3            2.11.4            dependency was updated
flame_spine            0.2.2+9           0.2.2+10          dependency was updated
flame_bloc             1.12.10           1.12.11           dependency was updated
flame_kenney_xml       0.1.1+9           0.1.1+10          dependency was updated
flame_lottie           0.4.2+9           0.4.2+10          dependency was updated
flame_markdown         0.2.4+2           0.2.4+3           dependency was updated
flame_console          0.1.2+5           0.1.2+6           dependency was updated
flame_rive             1.10.12           1.10.13           dependency was updated
flame_noise            0.3.2+9           0.3.2+10          dependency was updated
flame_riverpod         5.4.12            5.4.13            dependency was updated
flame_network_assets   0.3.3+9           0.3.3+10          dependency was updated
```
2025-04-18 17:23:40 +02:00
Renan
c3316ae4a5 feat: Post Process API (#3404)
Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-04-18 14:19:43 +00:00
Lukas Klingsbo
a882261b63 fix: Deprecate HasGameRef in favor of HasGameReference (#3559)
This deprecates `HasGameRef` and suggests users to use
`HasGameReference` instead.
2025-04-14 18:45:17 +00:00