github RafaelBarbosatec/bonfire v2.4.0
Version 2.4.0

latest release: v2.6.1
2 years ago

[2.4.0]

  • Updated Flame to version 1.1.0
  • Adds addParticle(Particle particle) in gameRef.
  • Implements NPC component. Suggested by 4mitabh.
  • Improvements in Attackable system.
  • Adds checkCanReceiveDamage method in Attackable mixin. You can do override this method to implements your own rule that who can receive damage or not.
  • BREAKING CHANGES:
    • void receiveDamage(
         double damage,
         dynamic identify,
      )
      in Attackable now is
      void receiveDamage(
         AttackFromEnum attacker,
         double damage,
         dynamic identify,
      )

[2.3.1]

  • Updated example with NPCs. Thanks 4mitabh!
  • Fixed 8-Direction Animation mentioned in #234. Thanks TaylorHo!
  • Update example to Android embedding V2. Thanks 4mitabh!

[2.3.0]

  • Fix bug in camera zoom out.
  • Add animateZoom method in Camera.
  • Add Experimental State Manager. Example here.

[2.2.5]

  • Fix crash mentioned in #225.
  • Fix crash mentioned in #227.

[2.2.4]

  • Improvements in MovementByJoystick.
  • Improvements in how to access the gameRef from a GameComponent.
  • Improvements in ImageLayer.
  • Fix issue #224 in TalkDialog.

[2.2.2]

  • Improvements in DirectionAnimation mixin.
  • Improvements in Movement mixin. Added onMove method, which you can override to listen to component movements.
  • Set dPadAngles default value equals false in MovementByJoystick.

[2.2.1]

  • Fix WithSpriteAnimation.

[2.2.0]

  • Improvements in performance.
  • Add Follower mixin.
  • Add WithAssetsLoader mixin.
  • Add WithSprite mixin.
  • Add WithSpriteAnimation mixin.
  • Fix bug in camera movement for games with zoom applied.
  • Improvements in FlyingAttackObject.
  • BREAKING CHANGE:
    • Renamed radAngleDirection param to angle in simpleAttackRangeByAngle;
    • Renamed animationUp to animation in simpleAttackRange and simpleAttackRangeByAngle. You should now use the default animation (to the right).

[2.1.0]

  • Update a_star_algorithm.
  • Change Offset to Vector2 in Camera.moveToPositionAnimated.
  • Add moveToPositionAnimated in camera.
  • Add marginFromOrigin param in simpleAttackRangeByAngle.
  • Add top-down game example.
  • Fix bug in RotationPlayer.
  • Improvements in Lighting mixin:
    • Add types LightingType.circle and LightingType.arc;
    • Add align param;
    • Add lightingEnabled param.

[2.0.0]

We're striving to reduce the distance between Flame and Bonfire, relying more and more on Flame components under the hood now that it is stable. In this version we are following the standardization of using Vector2 for position and size and using PositionComponent as the base for Bonfire components. Also, 'FlameGame' and the Flame's Camera are now used instead of custom implementations we had before. Some small features were lost, but nothing that the Flame's team isn't capable of adding over time.

  • Update to flame 1.0.
    • BREAKING CHANGE: Use Vector2 size instead of double height and double width.
    • BREAKING CHANGE: Use Vector2 instead of Offset and Size.
    • BREAKING CHANGE: camera.animateSimpleRotation and camera.animateLoopRotation are not available anymore.
  • Improvements in ObjectCollision. Now it is possible to override onCollision and return false so the object will not collide with anything or block the passage.
  • Add new mixin Pushable.
  • Add params name and id in TiledObjectProperties.
  • Add support to use Flame Effects
  • Small improvements in SimpleDirectionAnimation
  • Improvements in Lighting
  • Extensions improvements
  • Improvements in GameColorFilter
  • Add left,right,top,bottom in GameComponent
  • Add enabledSensor in Sensor
  • SimpleDirectionAnimation now only requires idleRight and runRight. It will automatically flip horizontally to perform the idle/run left animations. You can disable this feature setting the param enabledFlipX to false (default = true). enabledFlipY is also available, but defaults to false (if you set this param to true, only idleUp and runUp are needed).
  • Bug fix in getAnimation (ImageExtension).
  • Bug fix in progress (BonfireTiledWidget).

[1.12.3]

  • Improvements in collision objects by Tiled.

[1.12.2]

  • Adds support to add objects with collision by Tiled. Just add the object and set you type to collision. #210
  • Improvements in worldPositionToScreen. Now considers zoom.
  • Improvements in seeAndMoveToPlayer and seeAndMoveToAttackRange. Adds notObserved and observed.

[1.12.1]

  • improvements in sprite load of the BackgroundImageGame.
  • improvements in simpleAttackRangeByAngle.
  • rename animationTop to animationUp
  • rename animationBottom to animationDown
  • improvements in TalkDialog

Don't miss a new bonfire release

NewReleases is sending notifications on new releases.