feat: updated goldens

pull/205/head
alestiago 3 years ago
parent ced092eeb4
commit 36bce4ad99

@ -54,7 +54,11 @@ void main() {
'active1 sprite', 'active1 sprite',
setUp: (game, tester) async { setUp: (game, tester) async {
await game.images.loadAll(assets); await game.images.loadAll(assets);
await game.ensureAdd(FlutterSignPost()..progress());
final signPost = FlutterSignPost();
await game.ensureAdd(signPost);
signPost.progress();
game.camera.followVector2(Vector2.zero()); game.camera.followVector2(Vector2.zero());
}, },
verify: (game, tester) async { verify: (game, tester) async {
@ -69,11 +73,13 @@ void main() {
'active2 sprite', 'active2 sprite',
setUp: (game, tester) async { setUp: (game, tester) async {
await game.images.loadAll(assets); await game.images.loadAll(assets);
await game.ensureAdd(
FlutterSignPost() final signPost = FlutterSignPost();
..progress() await game.ensureAdd(signPost);
..progress(), signPost
); ..progress()
..progress();
game.camera.followVector2(Vector2.zero()); game.camera.followVector2(Vector2.zero());
}, },
verify: (game, tester) async { verify: (game, tester) async {
@ -88,12 +94,14 @@ void main() {
'active3 sprite', 'active3 sprite',
setUp: (game, tester) async { setUp: (game, tester) async {
await game.images.loadAll(assets); await game.images.loadAll(assets);
await game.ensureAdd(
FlutterSignPost() final signPost = FlutterSignPost();
..progress() await game.ensureAdd(signPost);
..progress() signPost
..progress(), ..progress()
); ..progress()
..progress();
game.camera.followVector2(Vector2.zero()); game.camera.followVector2(Vector2.zero());
}, },
verify: (game, tester) async { verify: (game, tester) async {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Loading…
Cancel
Save