Merge branch 'main' into refactor/provide-game-bloc-in-app

pull/370/head
Jorge Coca 3 years ago committed by GitHub
commit fb37c4ea00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,6 +11,6 @@ jobs:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1 uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with: with:
flutter_channel: stable flutter_channel: stable
flutter_version: 2.10.0 flutter_version: 2.10.5
coverage_excludes: "lib/gen/*.dart" coverage_excludes: "lib/gen/*.dart"
test_optimization: false test_optimization: false

@ -61,13 +61,13 @@ class ChromeDino extends BodyComponent
List<FixtureDef> _createFixtureDefs() { List<FixtureDef> _createFixtureDefs() {
const mouthAngle = -(halfSweepingAngle + 0.28); const mouthAngle = -(halfSweepingAngle + 0.28);
final size = Vector2(5.5, 6); final size = Vector2(6, 6);
final topEdge = PolygonShape() final topEdge = PolygonShape()
..setAsBox( ..setAsBox(
size.x / 2, size.x / 2,
0.1, 0.1,
initialPosition + Vector2(-4.2, -1.4), initialPosition + Vector2(-4, -1.4),
mouthAngle, mouthAngle,
); );
final topEdgeFixtureDef = FixtureDef(topEdge, density: 100); final topEdgeFixtureDef = FixtureDef(topEdge, density: 100);
@ -76,7 +76,7 @@ class ChromeDino extends BodyComponent
..setAsBox( ..setAsBox(
0.1, 0.1,
size.y / 2, size.y / 2,
initialPosition + Vector2(-1.3, 0.5), initialPosition + Vector2(-1, 0.5),
-halfSweepingAngle, -halfSweepingAngle,
); );
final backEdgeFixtureDef = FixtureDef(backEdge, density: 100); final backEdgeFixtureDef = FixtureDef(backEdge, density: 100);
@ -85,7 +85,7 @@ class ChromeDino extends BodyComponent
..setAsBox( ..setAsBox(
size.x / 2, size.x / 2,
0.1, 0.1,
initialPosition + Vector2(-3.5, 4.7), initialPosition + Vector2(-3.3, 4.7),
mouthAngle, mouthAngle,
); );
final bottomEdgeFixtureDef = FixtureDef( final bottomEdgeFixtureDef = FixtureDef(
@ -110,7 +110,7 @@ class ChromeDino extends BodyComponent
..setAsBox( ..setAsBox(
0.2, 0.2,
0.2, 0.2,
initialPosition + Vector2(-3.5, 1.5), initialPosition + Vector2(-3, 1.5),
0, 0,
); );
final insideSensorFixtureDef = FixtureDef( final insideSensorFixtureDef = FixtureDef(

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 95 KiB

@ -821,4 +821,4 @@ packages:
version: "3.1.0" version: "3.1.0"
sdks: sdks:
dart: ">=2.16.0 <3.0.0" dart: ">=2.16.0 <3.0.0"
flutter: ">=2.10.0" flutter: ">=2.10.5"

@ -5,6 +5,7 @@ publish_to: none
environment: environment:
sdk: ">=2.16.0 <3.0.0" sdk: ">=2.16.0 <3.0.0"
flutter: 2.10.5
dependencies: dependencies:
authentication_repository: authentication_repository:

Loading…
Cancel
Save