flame_forge2d 0.18.0 copy "flame_forge2d: ^0.18.0" to clipboard
flame_forge2d: ^0.18.0 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.18.0 #

0.17.1 #

0.17.0 #

Note: This release has breaking changes.

  • FIX: BodyComponent fixtures should test with global point (#3042). (7c3038be)
  • BREAKING FIX: Migrate from RawKeyEvent to KeyEvent (#3002). (330862c9)

0.16.0+5 #

  • Update a dependency to the latest release.

0.16.0+4 #

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.1 #

  • FEAT: Allow for bodyDef and fixtureDefs to be prepared earlier (#2768). (21357bca)

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 use CameraComponent (#2728). (7a3d5126)

0.14.1+1 #

  • Update a dependency to the latest release.

0.14.1 #

0.14.0 #

Note: This release has breaking changes.

  • FIX: Update sdk constraints to >=3.0.0 (#2554). (2f71e06e)
  • FIX: Solve warnings from 3.10.0 analyzer (#2532). (b41622db)
  • BREAKING REFACTOR: Move CameraComponent and events out of experimental (#2505). (87b8a067)

0.13.0+1 #

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.5 #

0.12.4 #

0.12.3 #

  • FEAT: Allow flame_forge2d's followBodyComponent to follow centre of mass (#1947) (#1948). (c4fd2ba5)
  • DOCS: Fix broken link in forge2d readme (#1853). (31d39f86)

0.12.2 #

0.12.1 #

0.12.0 #

Note: This release has breaking changes.

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 #

  • FEAT: updating forge2d version (#1479). (4678e21a)
  • FEAT: Possibility to mark gesture events as handled (#1465). (4c3960c3)

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 #

  • FIX: PositionBodyComponent had an async onMount, without needing (#1424). (7b0fd20a)
  • FEAT: Make ContactCallback begin end methods optional overrides (#1415). (29dd1891)

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 in onLoad

[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 from BaseComponent to Component
  • Pass Forge2DCamera to super class in Forge2DGame

[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 the onRemove 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 to preRender

[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 to add 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.
59
likes
140
pub points
93%
popularity

Publisher

verified publisherflame-engine.org

Forge2D (Box2D) support for the Flame game engine. This uses the forge2d package and provides wrappers and components to be used inside Flame.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

Funding

Consider supporting this project:

opencollective.com
github.com
patreon.com

License

MIT (LICENSE)

Dependencies

flame, flutter, forge2d

More

Packages that depend on flame_forge2d