flame_forge2d 0.17.1 flame_forge2d: ^0.17.1 copied to clipboard
Forge2D (Box2D) support for the Flame game engine. This uses the forge2d package and provides wrappers and components to be used inside Flame.
0.17.0 #
0.16.0+5 #
- Update a dependency to the latest release.
0.16.0+3 #
- Update a dependency to the latest release.
0.16.0+2 #
- Update a dependency to the latest release.
0.16.0+1 #
- Update a dependency to the latest release.
0.16.0 #
- Updated to Forge2D 0.12.2
Migration instructions #
The gravity and bullet are now field setters and getters, so if you before had setGravity(Vector2(0, -10))
then you now do gravity = Vector2(0, -10);
and if you previously had body.setBullet(true);
you now do body.isBullet = true;
.
- Updated to Forge2D 0.12.2
Migration instructions #
The gravity and bullet are now field setters and getters, so if you before had setGravity(Vector2(0, -10))
then you now do gravity = Vector2(0, -10);
and if you previously had body.setBullet(true);
you now do body.isBullet = true;
.
0.15.0+1 #
- Update a dependency to the latest release.
0.15.0 #
Note: This release has breaking changes.
- REFACTOR: Enable DCM linting (#2667). (27a8fd61)
- FIX: Absolute angle takes into account BodyComponent ancestors too (#2678). (75aee767)
- FIX: Proper Flame dependency in flame_forge2d (#2644). (9bbecb88)
- DOCS: Enable CSpell on tests (#2723). (e051298c)
- BREAKING FEAT: Add CameraComponent to FlameGame (#2740). (7c2f4000)
- BREAKING FEAT: Move
Forge2DGame
to useCameraComponent
(#2728). (7a3d5126)
0.14.1+1 #
- Update a dependency to the latest release.
0.14.1 #
0.14.0 #
0.13.0 #
Note: This release has breaking changes.
- DOCS: Update funding links (#2420). (8294a2a1)
- DOCS: Fix non-markdown section of README files (#2406). (426b3124)
- DOCS: Update all README files for the bridge packages to be consistent and not broken (#2402). (5e8ecf54)
- DOCS: Added a page for Joints documentation + ConstantVolumeJoint doc and example (#2362). (957ad240)
- BREAKING FEAT: The
HasTappableComponents
mixin is no longer needed (#2450). (b5bdf4ec)
0.12.3 #
0.12.2 #
0.12.1 #
0.12.0 #
Note: This release has breaking changes.
- REFACTOR: Move to package imports (#1625). (843ddc36)
- FIX: flips back defaultGravity on y axis (#1585). (6b217ac4)
- FIX: MouseJoint gets less and less reactive (#1562). (90747bf4)
- FEAT: Add more lint rules (#1703). (49252f8e)
- FEAT: allow controlling when a fixture is rendered (#1648). (1b59d801)
- FEAT: Bump to Flutter 2.10.0 (#1617). (beac9013)
- FEAT: allowed specifying renderBody via constructor (#1548). (ceb72666)
- DOCS: Move flame_forge2d examples to main examples (#1588). (6dd0a970)
- BREAKING FEAT: enhance ContactCallback process (#1547). (a50d4a1e)
0.11.0 #
Note: This release has breaking changes.
- FEAT: Bump forg2d version and have flame_forge2d examples use latest syntax (#1535). (4f7a12eb)
- FEAT: Added children parameter to Component constructor (#1525). (f0b31fcf)
- DOCS: Fix flame_forge2d readme links (#1540). (c51bc6db)
- BREAKING FEAT: Flip gravity in flame_forge2d to be able to mix Forge2D and Flame components (#1506). (bdb360f1)
0.10.0 #
- Bump "flame_forge2d" to
0.10.0
.
0.9.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.9.0-releasecandidate.6 #
0.9.0-releasecandidate.5 #
- FEAT:
BodyComponent
can properly have normal Flame component children (#1442). (7fe8b6de)
0.9.0-releasecandidate.4 #
- FIX: Don't use debug rendering by default in BodyComponent (#1439). (33b725e8)
0.9.0-releasecandidate.3 #
- Update a dependency to the latest release.
0.9.0-releasecandidate.2 #
0.9.0-releasecandidate.1 #
Note: This release has breaking changes.
- REFACTOR: Remove Loadable, optional onLoads (#1333). (05f7a4c3)
- REFACTOR: Add a few more rules to flame_lint, including use_key_in_widget_constructors (#1248). (bac6c8a4)
- FIX: Clone input vector before projecting it (#1255). (d1d6ad4d)
- FEAT: improving generics on position body component (#1397). (7edbb299)
- FEAT: Add missing optional priority to SpriteBodyComponent (#1404). (a000eb11)
- FEAT: Components are now always added in the correct order (#1337). (c753fc46)
- FEAT: Allow to pass a camera to Forge2D Game (#1364). (9890e9ca)
- DOCS: Fix various dartdoc warnings (#1353). (9f096053)
- DOCS: Add Raycast example for flame_forge2d (#1253). (994f27d5)
- BREAKING FIX: Remove pointerId from Draggable callbacks (#1313). (27adda17)
CHANGELOG #
[0.8.3] #
- Update to Flame 1.0.0
[0.8.2-releasecandidate.17] #
- Arguments of
PositionBodyComponent
are now optional so that initialization can be done inonLoad
[0.8.2-releasecandidate.15] #
- Destroy body before calling
super.onRemove
[0.8.1-releasecandidate.15] #
- The rendering of
BodyComponent
is now inline with the Flame coordinate system - Moved
BodyComponent
base fromBaseComponent
toComponent
- Pass
Forge2DCamera
to super class inForge2DGame
[0.8.1-releasecandidate.13] #
- Added physics tied to widgets example
- Added basic joint example
- Add generics passed to HasGameRef from PositionBodyComponent and SpriteBodyComponent
[0.8.0-releasecandidate.13] #
- Update mechanism by which
BodyComponent
's are disposed to use theonRemove
method - Flip y-axis after translation of body position, so that normal flame components can be children
- Update to Forge2D 0.8.0
- Update to Flame 1.0.0-releasecandidate.13
- Rename
prepareCanvas
topreRender
[0.7.3-releasecandidate.12] #
- Fix prepareCanvas type error
[0.7.2-releasecandidate.12] #
- Update to Forge2D 0.7.2
- Update to Flame 1.0.0-releasecandidate.12
- Use
Camera
from Flame instead of the old internal viewport module
[0.7.1-rc8] #
- Take viewport yFlip into consideration on
cameraFollow
- Update to forge2d 0.7.1
- Update to flame 1.0.0-rc8
- Integrate Flame viewport and camera to replace own viewport
[0.6.4-rc4] #
- Add PositionBodyComponent, keeps a PositionComponent on top of a BodyComponent
- Update to forge2d 0.6.4
[0.6.3-rc4] #
- Renamed the
prepare
method toadd
to be more inline with Flame Game naming.
[0.6.3-rc3] #
- Added an example for MouseJoint
- Update to forge2d 0.6.3
[0.6.2-rc3] #
- BodyComponent should follow Forge2D game debug mode
- Fix generics for BodyComponent
- Align with Flame 1.0.0-rc6
- Update to forge2d 0.6.2
[0.6.0-rc2] #
- Align with Flame 1.0.0-rc5
[0.6.0-rc1] #
- Align with Flame 1.0.0-rc4
- Align with Forge2D 0.6.0
[0.5.0-rc1] #
- Initial move of box2d related files
- Move over to refactored box2d
[0.0.1-rc1] #
- Empty release; in the future all flame box2d related code will live here.