mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 11:43:19 +08:00
* Add onCollisionEnd for HitboxShape and Collidable * Add tests for collision callbacks * Detect multiple collsions with same collidable in test * Remove unused import * Break out duplicated code * Fix formatting * Use correct hash set * Update examples/lib/stories/collision_detection/multiple_shapes.dart Co-authored-by: Erick <erickzanardoo@gmail.com> * Update examples/lib/stories/collision_detection/multiple_shapes.dart Co-authored-by: Erick <erickzanardoo@gmail.com> * Use hashValues instead of _combineHashCodes * hashValues is order dependent so we need to sort the objects first * Add section about onCollisionEnd * Fix missed hashValues * Use xor instead of hashValues * Update examples/lib/stories/collision_detection/collision_detection.dart Co-authored-by: Luan Nico <luanpotter27@gmail.com> Co-authored-by: Erick <erickzanardoo@gmail.com> Co-authored-by: Luan Nico <luanpotter27@gmail.com>
32 lines
602 B
YAML
32 lines
602 B
YAML
name: flame_example
|
|
description: A set of small game examples showcasing each feature provided by the Flame Engine.
|
|
publish_to: 'none'
|
|
|
|
version: 0.1.0
|
|
|
|
environment:
|
|
sdk: ">=2.12.0-29.10.beta <3.0.0"
|
|
flutter: ">=1.24.0-10.2.pre"
|
|
|
|
dependencies:
|
|
flame:
|
|
path: ../packages/flame
|
|
dashbook: 0.1.2
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
dart_code_metrics: ^3.2.2
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
|
|
assets:
|
|
- assets/images/animations/
|
|
- assets/images/
|
|
- assets/images/tile_maps/
|
|
- assets/images/layers/
|
|
- assets/images/parallax/
|