11 Commits

Author SHA1 Message Date
7c2f400076 feat!: Add CameraComponent to FlameGame (#2740)
This PR adds the `CameraComponent` and a `World` by default to the
FlameGame.
2023-09-18 21:06:37 +02:00
fb3c744e37 ci: Migrate to Melos 3 and Flutter 3.7.1 (#2330)
This PR migrates us to the prerelease version of Melos (3.0.0-dev.0) and our pipelines to Flutter 3.7.1

It's a golden opportunity for us to test the upcoming version of melos and give them any feedback that we might have. :)

The migration instructions can be read here:
https://melos.invertase.dev/guides/migrations
2023-02-08 22:49:05 +01:00
8e8bb5943f test: Convert tests to use testWithGame / testWithFlameGame (#2106) 2022-10-23 16:57:22 +02:00
c5083501d5 refactor!: Matcher closeToVector() now accepts Vector2 as an argument (#1761)
This PR changes the signature of the closeToVector() helper function:

    Old: closeToVector(num x, num y, {double epsilon = 1e-15})
    New: closeToVector(Vector2 vector, [double epsilon = 1e-15])
2022-06-29 17:38:53 +00:00
beac901313 feat: Bump to Flutter 2.10.0 (#1617) 2022-05-13 12:50:08 +02:00
316a0b3bb0 feat: flame tests can now generate golden tests (#1501)
* feat: flame tests can now generate golden tests

* feat: PR suggestions
2022-03-30 10:16:58 -03:00
db7842df93 chore(publish): Publish flame_test 1.1.0 (#1299)
Publish new version of flame_test (1.1.0)
2022-01-07 11:09:08 +00:00
a0cf56ee0c chore: Ensure unique names for all flame sub-packages (#1214)
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
2021-12-14 13:22:12 -03:00
1b81e056e6 Improved testing API (#1001) 2021-11-08 03:15:09 +00:00
02dadb2433 Adding Flame test use case methods (#963)
* Adding Flame test use case methods

* Update packages/flame_test/lib/src/flame_test.dart

* Update packages/flame_test/lib/src/flame_test.dart

* Update packages/flame_test/CHANGELOG.md

* Update packages/flame_test/example/lib/game.dart
2021-09-20 17:14:11 -03:00
7b51539bae Add example for flame_test (#958)
* Add example for flame_test

* Fix analyze warnings

* Fix tests
2021-09-16 20:57:04 +02:00