github RafaelBarbosatec/bonfire v1.2.0
Version 1.2.0

latest releases: v2.6.1, v2.4.0, v1.12.0...
3 years ago

1.2.0

  • add MouseGesture mixin to listen mouse gestures see documentation
  • add method worldPositionToScreen in BonfireGame.
  • add method screenPositionToWorld in BonfireGame.
  • add method isVisibleInCamera in BonfireGame.
  • Improvements in TextInterfaceComponent
  • Improvements in GameComponent
  • Improvements in SimpleDirectionAnimation
  • update tiledjsonreader
  • update flame
  • Improvements in SimpleDirectionAnimation
  • Improvements in generateRectWithBleedingPixel
  • blocks paths off screen in MoveToPositionAlongThePath
  • create function overlap to Image.
  • new improvements in MoveToPositionAlongThePath
  • Update tiledjsonreader
  • Improvements in MoveToPositionAlongThePath
  • Fix bug of the issue #115
  • Fix bug TalkDialog.
  • Fix bug Animations in SimplePlayer and SimpleEnemy.
  • Update Flame to 1.0.0-releasecandidate.11 version.
  • [BREAKING CHANGE] improvements in objectsBuilder and registerObject to register objects in TiledWorldMap.
      TiledWorldMap(
        'tiled/map.json',
        forceTileSize: Size(32, 32),
        objectsBuilder: {
          'goblin': (ObjectProperties properties) => Goblin(properties.position),
          'torch': (ObjectProperties properties) => Torch(properties.position),
          'barrel': (ObjectProperties properties) => BarrelDraggable(properties.position),
          'spike': (ObjectProperties properties) => Spikes(properties.position),
          'column': (ObjectProperties properties) => ColumnDecoration(properties.position),
          'chest': (ObjectProperties properties) => Chest(properties.position),
        },
      )
  • [BREAKING CHANGE] change TextConfig to TextPaintConfig
  • adds method tilePropertiesBelow() and tilePropertiesListBelow() in GameComponent to access proprieties of the tile set in Tiled.
  • adds method void onCollision(GameComponent component, bool active) in ObjectCollision. Now you can override this method to listen what Component enter in collision.
  • improvements in BonfireGame
  • improvements in TalkDialog.
  • Adds type above in tiled to render above components
  • update tiledjsonreader
  • improvements in Camera
  • Adds param objectsBuilder in TiledWorldMap
  • others improvements
  • Downgrade flame version to 1.0.0-rc9
  • Fix SimpleDirectionAnimation

Don't miss a new bonfire release

NewReleases is sending notifications on new releases.