Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.13.2 #576

Merged
merged 11 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 3.13.2
- Collision performance improvements

# 3.13.1
- BarLifeComponent improvements
- rename extension method `directionThatPlayerIs` to `getDirectionToPlayer`, `getAngleFromPlayer` to `getAngleToPlayer`, `getInverseAngleFromPlayer` to `getInverseAngleToPlayer`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Test our online [DEMO](https://bonfire-engine.github.io/examples/bonfire-v3/) or

[bonfire-engine.github.io](https://bonfire-engine.github.io)

## Games
## Bonfire Awesome

[Link](games)

Expand Down
12 changes: 12 additions & 0 deletions awesome/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Bonfire Awesome

Welcome to the Bonfire Awesome repository. Here you can find various examples of games built using the Bonfire framework.

## Games
| Preview | Name | Short Description | Github | Stores |
|--------------|-----------|--------------|--------------|--------------|
| <img src="media/rafaelbarboatec_site.png" width="300"/> | rafaelbarbosatec | This is my official website | - | [Site](https://rafaelbarbosatec.com/) |
| <img src="https://github.com/RafaelBarbosatec/darkness_dungeon/raw/master/media/print2.jpg" width="300" /> | Darkness Dangeus | The first RPG game made with flutter. Game that gave rise to Bonfire | [Link](https://github.com/RafaelBarbosatec/darkness_dungeon) | - |
| <img src="flappy_bird/media/print.png" width="300"/> | Flappy Bird | Copy of famous game FlappyBird | [Link](flappy_bird) | - |

Feel free to explore the code and learn how to create your own games using Bonfire!
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added awesome/media/rafaelbarboatec_site.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 0 additions & 13 deletions games/README.md

This file was deleted.

2 changes: 2 additions & 0 deletions lib/map/tiled/builder/tiled_world_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ class TiledWorldBuilder {
radius: (width > height ? width : height) / 2,
position: isObjectCollision ? null : Vector2(x, y),
isSolid: true,
collisionType: CollisionType.inactive,
);
}

Expand Down Expand Up @@ -641,6 +642,7 @@ class TiledWorldBuilder {
points,
position: Vector2(alignX, alignY),
isSolid: true,
collisionType: CollisionType.inactive,
);
}
}
8 changes: 7 additions & 1 deletion lib/mixins/sensor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ mixin Sensor<T extends GameComponent> on GameComponent {
await super.onLoad();
final containsShape = children.query<ShapeHitbox>().isNotEmpty;
if (!containsShape) {
add(RectangleHitbox(size: size, isSolid: true));
add(
RectangleHitbox(
size: size,
isSolid: true,
collisionType: CollisionType.passive,
),
);
}
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: bonfire
description: (RPG maker) Create RPG-style or similar games more simply with Flame.
version: 3.13.1
version: 3.13.2
homepage: https://bonfire-engine.github.io
repository: https://github.com/RafaelBarbosatec/bonfire
issue_tracker: https://github.com/RafaelBarbosatec/bonfire/issues
Expand Down
Loading