RafaelBarbosatec Bonfire Versions Save

(RPG maker) Create RPG-style or similar games more simply with Flame.

v2.6.1

1 year ago

[2.6.1]

  • removed getValueGenerator from BonfireGame. Now use generateValues from your component.
  • removed addParticle from BonfireGame. Now use addParticle from your component.
  • improvements in ValueGeneratorComponent
  • Adds effect BonfireOpacityEffect.
  • Adds support to new files of the Tiled 1.8.0 (tmj,tsj) .

[2.6.0]

  • Update flame to 1.2.0 - CHANGELOG
  • Renamed gameRef.overlays to gameRef.overlayManager
  • Renamed GameComponent.shouldRemove to GameComponent.isRemoving
  • Remove showFPS in BonfireTiledWidget and BonfireWidget.
  • Fix Camera bug in a small map that is not the size of the screen. #261

[2.5.0]

  • Adds MatrixMapGenerator. Class that can help you create a map using a double matrix. Doc
  • Adds TerrainBuilder. Class that can help you create a map using a double matrix with Sprite. SpriteSheetModel
  • Adds enabledDiagonalMovements param in MovementByJoystick to control if you want diagonal movements.

[2.4.4]

  • Adds scene support. Now you can create a "cutscene" in an easy way:
    • Just call gameRef.startScene([CameraSceneAction()]).
    • To stop: gameRef.stopScene().
    • SceneActions available:
      • CameraSceneAction
      • DelaySceneAction
      • MoveComponentSceneAction
      • AwaitCallbackSceneAction

[2.4.3]

  • Improvement in JoystickMoveToPosition. New:
    • adds enabledMoveCameraWithClick param to enable movements of the camera with click and move movements.
    • adds mouseButtonUsedToMoveCamera param to set what button of the mouse you can use to move the camera.
    • adds mouseButtonUsedToMoveToPosition param to set what button of the mouse you can use to set the position target. Default is secondary (right mouse button).
  • Extracted functions about check Tiles to the mixin TileRecognizer.

[2.4.2]

  • Adds params focusNode, autofocus and mouseCursor in BonfireWidget and BonfireTiledWidget.
  • Improvements in Camera.
  • BREAKING CHANGE: Update StateController. The method update is now void update(double dt, T component). Now you can receive what component belongs to the update method in case that your controller is used in many components.

[2.4.1]

  • Adds removeLife method in Attackable.
  • The offset param from Tiled layers are now considered.
  • Adds type dynamicAbove in tile.
  • Adds MiniMap widget DOC.
  • Update Flame to 1.1.1.

v2.4.0

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

v1.12.0

2 years ago
  • Adds SpriteAnimation extension: method asWidget.(You can use this to SpriteAnimation or Future<SpriteAnimation>)
  • Adds Sprite extension: method asWidget.(You can use this to Sprite or Future<Sprite>)
  • Adds Support to ImageLayer in map built by Tiled. issue 76
  • Adds Support to Text Object in map built by Tiled.

1.11.1

  • Fix problem render Map.

1.11.0

  • Improvements in Sensor mixin.
  • Add support to flip vertical, flip horizontal and rotate in Tiled. #182
  • Update flame to 1.0.0-releasecandidate.17
    • BRAKING CHANGE: Replace TextPaintConfig to TextStyle

1.10.0

  • Fix #203 - Web build with late initialisation on animations
  • Create interfaces to facility access methods of the ColorFilter and Lighting.
  • Add replaceAnimation method in DirectionAnimation. now you can use this method in SimplePlayer or Enemy to replace SimpleDirectionAnimation.
  • Now gameRef is BonfireGameInterface.
  • Improvements in SimpleDirectionAnimation.
  • BREAKING CHANGE:
    • rename gameRef.changeJoystickTarget to gameRef.addJoystickObserver
    • remove gameRef.addComponent. now use gameRef.add or gameRef.addAll

1.9.10

  • Fix problem render big tilesets #200.

1.9.9

  • Add dismissible param in TalkDialog.show to avoid the dialogue being dismissed when the back button is pressed or esc key is pressed on desktop.
  • Add animateLoopRotation method in camera.
  • Rename animateRotate to animateSimpleRotation.
  • Improvements in rotation effect.

1.9.8

  • Fix rounding of movement in MoveToPositionAlongThePath.
  • Fix loaded map by url.

1.9.7

  • Improvements in TalkDialog.show : add onClose.
  • Add rotation functionality to the camera. Set angle on CameraConfig or animateRotate to rotate the camera view

1.9.6

  • Fix bug "getting stuck" in MoveToPositionAlongThePath
  • [BREAKING CHANGE] Change param logicalKeyboardKeyToNext in TalkDialog to logicalKeyboardKeysToNext, now multiple keys are accepted to advance in the dialogue
  • Add option wasdAndArrows to KeyboardDirectionalType allowing both arrows and wasd keys to control the joystick
  • Improvements in diagonal movements in MoveToPositionAlongThePath

1.9.5

  • Update params name of simpleAttackMelee in Enemy.
  • Improvements in MoveToPositionAlongThePath

1.9.4

  • Small improvements in map loading.
  • Adds angle param in GameComponent to rotate component render.

1.9.3

  • Update flame to 1.0.0-releasecandidate.16

1.9.2

  • Fix onGameResize. It works again when the window size is changed

1.9.1

  • Correction of loading visible collisions on the map.
  • Adds a simple example.

1.9.0

  • Update flame to 1.0.0-releasecandidate.15
  • Adds methods changeJoystickTarget in BonfireGame to make it easy to switch the default joystick events watcher.
  • [BREAKING CHANGE] Component remove() method was replaced by removeFromParent(). Use it to remove a component from the game.
  • [BREAKING CHANGE] Improvements in Keyboard events. Removed params keyboardEnable and keyboardDirectionalType in Joystick. Set these attributes through keyboardConfig.
  • [BREAKING CHANGE] gameRef.components changed to gameRef.children.

1.8.1

  • Adds Focus in CustomGameWidget to remove "system ding" in MACOS.
  • Updates moveToTarget method in Camera to receive null;
  • Add optional list of objects to moveToPositionAlongThePath for ignoring visible collisions

1.8.0

  • Bugfix/quadtree id for removal #178
  • Adds keyboardDirectionalType param in Joystick to enable WASD.

1.7.0

  • adds FollowerWidget. With this you can add a widget what follows a component in the game.
  • update a_star_algorithm. now enables diagonal movements.

1.6.1

  • fixed the flame version to 1.0.0-releasecandidate.13 while we fixed the flame update crash change.

v1.6.0

2 years ago

1.6.0

  • adds getScreenPosition method in GameComponent.
  • adds enableDiagonal param in simpleAttackRange.
  • adds visibleComponentsByType and componentsByType in BonfireGame.
  • adds onTapDown and onTapUp in BonfireTiledWidget and BonfireWidget.
  • remove method isVisibleInCamera() in GameComponent. Now use the isVisible param to check if this component is visible in camera.
  • improvements in order of the update of Camera
  • add QuadTree data struct to search of the visible Tiles.
  • update ordered_set
  • improvements in Camera
  • improvements in AnimatedObjectOnce
  • improvements in CameraConfig -> moveOnlyMapArea
  • improvements in Lighting
  • adds "Smooth" effect in camera. To enable:
    BonfireTiledWidget(
        ...
        cameraConfig: CameraConfig(
            smoothCameraEnable: true,
        ),
    );
  • fix bug in TapGesture
  • fix error Tile of above type.
  • improve player joystick movement #157
  • enables remove tiles of map.
  • fix position translation on diagonal movement of FlyingAttackObject #155
  • improvements performance
  • Add shake method in Camera.
  • Improvements in TiledMap.
  • [BREAKING CHANGE] Refactor TalkDialog core to allow RichText animations: Now every Say requires a text param which takes a List<TextSpan> instead of a String.
  • Add param speed to TalkDialog.
  • Improvements in cache system to load map.
  • add param tileSizeToUpdate to configure interval of the update map.
  • Improvements in Camera
  • Improvements in MapWorld to support large maps.
  • [BREAKING CHANGE] change List<Tile> to List<TileModel> to create manual maps see example.
  • Improvements in LightingComponent
  • Improvements in TalkDialog. #136
  • update a_star_algorithm

v1.3.5

2 years ago
  • Add param opacity in GameComponent to control opacity.
  • Update tiledjsonreader
  • Adds support to folders(group) in Tiled
  • Improvements in extensions organization.
  • Update Flame to 1.0.0-releasecandidate.13 version.
  • Replace HasGameRef for the own BonfireHasGameRef.
  • little improvement in drawDefaultLifeBar.
  • create mixin AutomaticRandomMovement
  • add onReady in BonfireTiledWidget and BonfireWidget
  • add getComponentDirectionFromMe in GameComponentExtensions
  • add checkInterval in GameComponent
  • new extensions to GameComponent.
  • new extensions to Movement.
  • new extensions to Attackable.
  • Makes Bonfire more modular. Every kind of behavior has become a mixin.
  • improvements in constructionMode
  • improvements in drawDefaultLifeBar
  • performance improvements
  • add property backgroundColor in TalkDialog.
  • performance improvements in TiledWorldMap

v1.2.0

2 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

v1.0.0

3 years ago

1.0.0

  • Improvements in SimpleDirectionAnimation
  • Improvements in Collision
  • Update http

1.0.0-rc7

  • fix bug animation to up in SimpleEnemy

1.0.0-rc6

  • remove comments in FlyingAttackAngleObject (bug)
  • improvements in Camera.

1.0.0-rc5

  • Rename params in simpleAttackMelee
  • new improvements to use TapGesture and DragGesture together.
  • improvements in Joystick(KEYBOARD) to adds diagonal movement with directional.
  • improvements in moveToPosition of the Player.

1.0.0-rc4

  • BREAKING CHANGE: add Shapes(circle,rectangle,polygon) to use collisions.
  • fix to use TapGesture and DragGesture together.
  • Improvements in mixin Sensor.
  • Improvements in TalkDialog.

1.0.0-rc3

  • Improvement in simpleAttackMelee
  • Improvement in InterfaceComponent when selectable enable

1.0.0-rc2

  • Improvement in layer priority.
  • Improvement in Camera when moveOnlyMapArea enable.
  • Fix bug animation.playOnce in Player and Enemy
  • Fix bug addAction in Joystick
  • Fix bug seePlayer in GameDecoration

1.0.0-rc1

  • Fix bug in cameraMoveOnlyMapArea
  • Add CameraConfig in BonfireTiledWidget and BonfireWidget

1.0.0-rc0

  • Update Flame to 1.0.0-rc9
  • Add null-safety
  • Add support to use overlays of the Flame.
  • BREAKING CHANGE: All params Sprite in components become Future<Sprite>.
  • BREAKING CHANGE: All params Animation in components become Future<SpriteAnimation>.
  • BREAKING CHANGE: To configure Lighting use setupLighting(LightingConfig()).
  • BREAKING CHANGE: Removed the Position class. Now use Vector2.
  • WARN (Render priority): The only components that have fixed rendering priority are: MapGame and BackgroundColorGame. All others render with priority according to the component's position on the Y axis.
  • Update support tiled to 1.5.0.
  • Rename enum values in Direction.
  • Rename values in SimpleDirectionAnimation.
  • Improvements in InterfaceComponent. Now can be selectable.
  • Others improvements.

1.0.0-rc5

3 years ago
  • Rename params in simpleAttackMelee
  • new improvements to use TapGesture and DragGesture together.
  • improvements in Joystick(KEYBOARD) to adds diagonal movement with directional.
  • improvements in moveToPosition of the Player.
  • BREAKING CHANGE: add Shapes(circle,rectangle,polygon) to use collisions.
  • fix to use TapGesture and DragGesture together.
  • Improvements in mixin Sensor.
  • Improvements in TalkDialog.
  • Improvement in simpleAttackMelee
  • Improvement in InterfaceComponent when selectable enable
  • Improvement in layer priority.
  • Improvement in Camera when moveOnlyMapArea enable.
  • Fix bug animation.playOnce in Player and Enemy
  • Fix bug addAction in Joystick
  • Fix bug seePlayer in GameDecoration
  • Fix bug in cameraMoveOnlyMapArea
  • Add CameraConfig in BonfireTiledWidget and BonfireWidget
  • Update Flame to 1.0.0-rc9
  • Add null-safety
  • Add support to use overlays of the Flame.
  • BREAKING CHANGE: All params Sprite in components become Future<Sprite>.
  • BREAKING CHANGE: All params Animation in components become Future<SpriteAnimation>.
  • BREAKING CHANGE: To configure Lighting use setupLighting(LightingConfig()).
  • BREAKING CHANGE: Removed the Position class. Now use Vector2.
  • WARN (Render priority): The only components that have fixed rendering priority are: MapGame and BackgroundColorGame. All others render with priority according to the component's position on the Y axis.
  • Update support tiled to 1.5.0.
  • Rename enum values in Direction.
  • Rename values in SimpleDirectionAnimation.
  • Improvements in InterfaceComponent. Now can be selectable.
  • Others improvements.

0.8.5

3 years ago