Skip to content

Commit

Permalink
Merge pull request #487 from RafaelBarbosatec/develop
Browse files Browse the repository at this point in the history
Version 3.4.0
  • Loading branch information
RafaelBarbosatec authored Feb 11, 2024
2 parents 659456d + dd2de54 commit f07d7e4
Show file tree
Hide file tree
Showing 12 changed files with 205 additions and 170 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
- master
pull_request:
types: [opened,ready_for_review,synchronize]

env:
flutter_version: "3.13.0"

jobs:
test-analyze:
Expand All @@ -25,7 +22,7 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
channel: 'stable'
cache: true
- run: flutter pub get
- run: flutter analyze
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 3.4.0
- Adds `header` param in `TiledNetworkReader`
- Update Flame to '1.15.0'

# 3.3.0
- `TiledNetworkReader` improvements. Adds support to embedded tileset.
- Update Flame to `1.14.0`
Expand Down
29 changes: 7 additions & 22 deletions example/.metadata
Original file line number Diff line number Diff line change
@@ -1,38 +1,23 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
# This file should be version controlled and should not be manually edited.

version:
revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
channel: stable
revision: "41456452f29d64e8deb623a3c927524bcf9f111b"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
base_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
- platform: android
create_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
base_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
- platform: ios
create_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
base_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
create_revision: 41456452f29d64e8deb623a3c927524bcf9f111b
base_revision: 41456452f29d64e8deb623a3c927524bcf9f111b
- platform: linux
create_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
base_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
- platform: macos
create_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
base_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
- platform: web
create_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
base_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
- platform: windows
create_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
base_revision: 682aa387cfe4fbd71ccd5418b2c2a075729a1c66
create_revision: 41456452f29d64e8deb623a3c927524bcf9f111b
base_revision: 41456452f29d64e8deb623a3c927524bcf9f111b

# User provided section

Expand Down
18 changes: 7 additions & 11 deletions example/lib/pages/mini_games/top_down_game/robot_enemy.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,12 @@ class ZombieEnemy extends RotationEnemy
@override
void update(double dt) {
super.update(dt);
seePlayer(
observed: (player) {
moveTowardsTarget(
target: player,
close: () {
simpleAttackMelee(
damage: 10,
size: Vector2.all(size.y),
animationRight: CommonSpriteSheet.blackAttackEffectRight,
);
},
seeAndMoveToPlayer(
closePlayer: (_) {
simpleAttackMelee(
damage: 10,
size: Vector2.all(size.y),
animationRight: CommonSpriteSheet.blackAttackEffectRight,
);
},
radiusVision: 128,
Expand All @@ -51,6 +46,7 @@ class ZombieEnemy extends RotationEnemy
minDistance: 32,
speed: 20,
);
return false;
},
);
}
Expand Down
20 changes: 10 additions & 10 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ packages:
path: ".."
relative: true
source: path
version: "3.2.0"
version: "3.3.0"
boolean_selector:
dependency: transitive
description:
Expand All @@ -68,10 +68,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -124,10 +124,10 @@ packages:
dependency: transitive
description:
name: flame
sha256: "61c42b966a6b1f44ee093194e6701d45b14fdda1859c14fe68a39489454bfbd4"
sha256: "2a2352741500ce47823dcf212f06b23e9bdb622454eab90244ee6da58e23b488"
url: "https://pub.dev"
source: hosted
version: "1.14.0"
version: "1.15.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -246,10 +246,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
mime:
dependency: transitive
description:
Expand Down Expand Up @@ -539,10 +539,10 @@ packages:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
version: "0.3.0"
web_socket_channel:
dependency: transitive
description:
Expand All @@ -568,5 +568,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.1.0 <4.0.0"
dart: ">=3.2.0-194.0.dev <4.0.0"
flutter: ">=3.13.0"
Loading

0 comments on commit f07d7e4

Please sign in to comment.