bonfire 3.0.0-beta.12 bonfire: ^3.0.0-beta.12 copied to clipboard
(RPG maker) Create RPG-style or similar games more simply with Flame.
3.0.0-beta.12 #
- fix bug in
MovementByJoystick
when calledidle
method. positionsItselfAndKeepDistance
little improvements.AutomaticRandomMovement
improvements. Adds paramdirection
to decide which direction could be the movement.- Adds
moveToPosition
inMovement
mixin. - Adds
MoveCameraUsingGesture
mixin. - remove
JoystickMoveToPosition
- rename
JoystickListener
3.0.0-beta.11 #
positionsItselfAndKeepDistance
little improvementsbonfireCamera.shake
improvements
3.0.0-beta.10 #
Follower
mixin improvements.- Adds
startFollowPlayer
param inCameraConfig
. Vision
improvements.MovementByJoystick
improvements.- Adds
spawCondition
inComponentSpawner
3.0.0-beta.9 #
- Adds
getZoomFromMaxVisibleTile
moveFromAngle
improvements.- update example
rectCollision
improvements.
3.0.0-beta.8 #
- extension method
simpleAttackMeleeByDirection
improvements BonfireCamera
improvements- Adds
initialMapZoomFit
inCameraConfig
. - Fix
rectCollision
bug.
3.0.0-beta.7 #
MovementByJoystick
improvements. AddssetupMovementByJoystick
method.- extension method
simpleAttackMeleeByAngle
improvements. - Now works
setZoomLimitToFitMap
params inCameraConfig
. BouncingObject
improvements.- Adds
lastDisplacement
param inonBlockedMovement
ofBlockMovementCollision
mixin.
3.0.0-beta.6 #
UseBarLife
improvements- extension method
moveTowardsTarget
improvements - remove extension method
followComponent
3.0.0-beta.5 #
BouncingObject
improvements
3.0.0-beta.4 #
- Update Flame to
1.8.2
- Solve some lint issues.
- Adds
BouncingObject
mixin. (experimental)
3.0.0-beta.3 #
- Adds WORLD in
AttackFromEnum
. - Set
receivesAttackFrom
inSimpleAlly
andRotationAlly
toReceivesAttackFromEnum.ENEMY
. InternalChecker
improvements.Sensor
improvements.
3.0.0-beta.2 #
MovementByJoystick
improvements.AutomaticRandomMovement
improvements.MovementExtensions
improvements.- Adds
ComponentSpawner
. #414 / Example - Fix bug
MoveToPositionAlongThePath
. - Fix issue 417. Thanks Matt El Mouktafi
3.0.0-beta.1 #
-
BREAKING CHANGE
-
BonfireWidget
:- Remove
enemies
param. Usecomponents
param. - Remove
decoration
param. Usecomponents
param. - Remove
gameController
param. Use a Component to control your game. - Remove
constructionModeColor
param. It's not necessary - Remove
onTapDown
param. It's not necessary - Remove
onTapUp
param. It's not necessary - Rename
constructionMode
todebugMode
.
- Remove
-
Now, to access camera you can use
gameRef.bonfireCamera
instead ofgameRef.camera
. (Now using new Flame APICameraComponent
) -
Collision
, now Bonfire use the Flame collision system!- To adds Collision in your GameComponent just adds a ShapeHitbox. See this doc
- You can listen the collision callbacks doing override of
onCollision
,onCollisionEnd
,onCollisionStart
like Flame Documantation. - To block the movement of components when colliding use the mixin
BlockMovementCollision
-
BonfireInjector().put
now is Factory.
-
-
FEATURES
Force2D
. Now we have a simple support to forces. You can adds global forces setting inBonfireWidget
usingglobalForces
param, or individual force in you component. To the component handle this forces it's need useHandleForces
mixin.AccelerationForce2D
: Apply acceleration to velocityResistenceForce2D
: Apply resistence to movement tending to stopLinearForce2D
: Apply linear force to velocity
Jumper
. New mixin to adds the jumper beheavor like platform games.PlatformPlayer
. Player to used in platform games.PlatformEnemy
. Enemy to used in platform games.- Adds at gameRef:
raycastAll
,raycast
,timeScale
-
Use Flame
1.8.1
-
Update
Pushable
mixin to handle forces. -
Adds
GameObject
. (It's the GameComponent using Sprite) -
Adds
AnimatedGameObject
. (It's the GameComponent using SpriteAnimation) -
Adds
FollowerGameObject
. (It's the GameObject using Follower mixin) -
Adds
AnimatedFollowerGameObject
. (It's the AnimatedGameObject using Follower mixin)
2.12.3 #
- Fix issue #379
- Adds in
ObjectCollision
the methodonCollisionHappened
2.12.2 #
- Adds
FollowerObject
. Thanks Matt El Mouktafi!
2.12.1 #
- Adds multi scenario example
- Update Flame version to 1.7.1
2.12.0 #
- Add mustCallSuper to GameComponent.update and GameComponent.onRemove
- Update Flame to 1.6.0
2.11.11 #
2.11.10 #
- Consider Tiled layer opacity. Fix #356
- Little improvements performance.
- Adds param
area
inTiledObjectProperties
. - Fix multi instance of
AnimatedObjectOnce
inSimpleDirectionAnimation
. #359
2.11.9 #
- Improvements performance in
LightingInterface
. - Improvements to check visible collisions.
- Improvements in
RenderTransformer
. - Update
ListenerGameWidget
. - Resolve issue #354
2.11.8 #
- Fix bug in
moveOnlyMapArea
2.11.7 #
- Fix diagonal movement speed for enemies
- Improvements in
moveOnlyMapArea
- Adds param
setZoomLimitToFitMap
inCameraConfig
.
2.11.6 #
- Update Flame to
1.5.0
[2.11.5] #
- Improve Keyboard Controls.
- Adds support to tileset with individual image
[2.11.4] #
- Fix exception in
TiledWorldBuilder
.
[2.11.3] #
- Adds methods
enableGestures
andenableKeyboard
ingameRef
(BonfireGameInterface) - Adds mixin
KeyboardEventListener
.
[2.11.2] #
- BugFix[
BarLifeComponent
]: animate in web.
[2.11.1] #
- BugFix[
BarLifeComponent
]: resolve bug offset whendrawPosition
equalsBarLifePorition.bottom
.
[2.11.0] #
- Render transform improvements.
- BREAKING CHANGE: Now the
SimpleDirectionAnimation
do flip component that use it as necessary. - Adds param
useCompFlip
inplayOnce
(defaultfalse
). Iftrue
the animation is flipped equal current state of component. - Adds param
backgroundColor
inBonfireWidget
. - create
BarLifeComponent
. - Adds
UseBarLife
mixin. - method
drawDefaultLifeBar
now is deprecated. Pls useUseBarLife
mixin.
[2.10.9] #
- Do correction suggested by issue #327. Thanks Fixid-Fuzz!
- Camera improvements.
- remove required
animation
insimpleAttackMeleeByAngle
.
[2.10.8] #
- Fix bug tendency to go to the right in
AutomaticRandomMovement
.
[2.10.6] #
- Improvements in
AutomaticRandomMovement
- Improvements in
Follower
[2.10.4] #
- fix bug when use
DragGesture
andTapGesture
together.
[2.10.3] #
- performance improvements
- Improvements in
SimpleDirectionAnimation
. Now you can use diagonal animation passing only right animation:runUpRight
,runDownRight
,idleUpRight
,idleDownRight
. Resolve issue 316
[2.10.2] #
- performance improvements in
LightingComponent
.
[2.10.1] #
- fix
onStop
bug inAcceleration
- Adds widget
TypeWriter
. It's helpful to show dialog. - Update
TalkDialog
. now usingTypeWriter
.
[2.10.0] #
- Improvements in
Sensor
. Now you can pass T type to find especific type to contact. - Update
tiledjsonreader
. - Update
http
. - Fix crash in
Acceleration
mixin. - Adds
onStop
params inAcceleration
mixin. It's called when stop for collision or when speed is equals 0 instopWhenSpeedZero
setted true. - Use
HasPaint
mixin inGameComponent
. - Improvements on Tile.
- Improvements Collision system.
- Improvements Performance.
- Improvements code by lint.
[2.9.4] #
- Adds
revive
method inAttackable
mixin. Now if adds life to stay above 0 it's is revive. - Adds
onFinish
inmoveToPositionAlongThePath
method. (MoveToPositionAlongThePath
mixin) - Improvements in
WorldMap
- Mostly dart cleanup while looking at tiled code. Thanks jtmcdole!
[2.9.3] #
- Adds
pauseAnimation
andresumeAnimation
inUseSpriteAnimation
mixin. - Adds
pause
andresume
inSimpleDirectionAnimation
- Improvements in
MoveToPositionAlongThePath
. AddsfactorInflateFindArea
insetupMoveToPositionAlongThePath
method. - Improvements in
DirectionAnimation
.
[2.9.2] #
- Improvements in
seeAndMoveToPlayer
. Adds paramnotCanMove
sugested by issue 303 - Improvements in
positionsItselfAndKeepDistance
.
[2.9.1] #
[2.9.0] #
- BREAKING CHANGE:
- remove
BonfireTiledWidget
. now useBonfireWidget
passing mapWorldMapByTiled
- renamed
MapWorld
toWorldMap
- renamed
MapGame
toGameMap
- remove
- improvements in
simpleAttackMeleeByDirection
andsimpleAttackMelee
. now it's not necessary set animation to all directions, only to right. - return
Future<List<Offset>>
inmoveToPositionAlongThePath
method. - imprvements in
MoveToPositionAlongThePath
mixin.
[2.8.1] #
- Adds
onContactExit
inSensor
mixin.
[2.8.0] #
- Update flame to
1.3.0
[2.7.8] #
- fix
Acceleration
. - fix
MouseGesture
[2.7.6] #
- Adds mixin
Acceleration
. - Rename methods in
MouseGesture
onHoverScreen
toonMouseHoverScreen
onHoverEnter
toonMouseHoverEnter
onHoverExit
toonMouseHoverExit
onScrollScreen
toonMouseScrollScreen
onScroll
toonMouseScroll
[2.7.5] #
- Improvements in
MouseGesture
. - Improvements in
RotationEnemyExtensions
. - Adds
BonfireUtil
. - Adds optional param
firstCheckIsTrue
incheckInterval
method. - Adds param
useAngle
inrunRandomMovement
method (AutomaticRandomMovement
). To use in components top-down. - Update top-down example.
[2.7.4] #
- adds bool
movementByJoystickEnabled
inMovementByJoystick
mixin. to disable mixin. - Improvements example game
TopDown
. - Adds
useTargetPriority
in AnimatedFollowerObject. (default = true)
[2.7.3] #
- Improvements in
Follower
. - Improvements in
simpleAttackRangeByAngle
andsimpleAttackMeleeByAngle
[2.7.2] #
- adds
playSpriteAnimationOnce
in mixinUseSpriteAnimation
- Fix destroy position in
FlyingAttackObject
- Add talkAlignment in the talk box (optional), for default is Alignment.bottomCenter. Thanks pmella16
[2.7.1] #
- update
tiledjsonreader
- Improvements in
FlyingAttackObject
. Adds damage in area with base indestroySize
if setsanimationDestroy
[2.7.0] #
- Improvements in handle gestures events. Fix issue #283
- BREAKING CHANGE:
void onTapDown(int pointer, Vector2 position)
tobool onTapDown(int pointer, Vector2 position)
inTapGesture
void onStartDrag(int pointer, Vector2 position)
tobool onStartDrag(int pointer, Vector2 position)
inDragGesture
[2.6.6] #
- Adds support to
tileset
embeded in map (Tiled). - update
tiledjsonreader
.
[2.6.5] #
- create
Vision
mixin - improvements in
seeComponent
andseeComponentType
. now you can passvisionAngle
(default = 6,28319 (360 graus)). resolve : #273
[2.6.4] #
- Update
flame
to1.2.1
. - Update
tiledjsonreader
to1.1.2
- Adds support to
class
. is newtype
in tiled version1.9.0
. - Adds support to set type
above
in layer. Just create custom property with nametype
and valueabove
. - Fix bug #271.
[2.6.3] #
[2.6.2] #
- Updated example.
- Remove mandatory of the
SimpleDirectionAnimation
inSimpleAlly
,SimpleEnemy
,SimpleNpc
andSimplePlayer
[2.6.1] #
- removed
getValueGenerator
fromBonfireGame
. Now usegenerateValues
from your component. - removed
addParticle
fromBonfireGame
. Now useaddParticle
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] #
[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 inMovementByJoystick
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
- Just call
[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 issecondary
(right mouse button).
- adds
- Extracted functions about check
Tiles
to the mixinTileRecognizer
.
[2.4.2] #
- Adds params
focusNode
,autofocus
andmouseCursor
inBonfireWidget
andBonfireTiledWidget
. - Improvements in
Camera
. - BREAKING CHANGE: Update
StateController
. The methodupdate
is nowvoid 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 inAttackable
. - The
offset
param from Tiled layers are now considered. - Adds type
dynamicAbove
in tile. - Adds
MiniMap
widget DOC. - Update Flame to 1.1.1.
[2.4.0] #
- Updated Flame to version 1.1.0
- Added
addParticle(Particle particle)
ingameRef
. - Added NPC component.
Enemy
class now inherits fromNpc
class. Suggested by 4mitabh. - Improvements in
Attackable
system. - Added
checkCanReceiveDamage
method inAttackable
mixin. You can override this method to implement your own filters on who should receive damage or not. - BREAKING CHANGE -
receiveDamage
method inAttackable
now requires a newAttackFromEnum
param.- Before:
void receiveDamage( double damage, dynamic identify, )
- Now:
void receiveDamage( AttackFromEnum attacker, double damage, dynamic identify, )
[2.3.1] #
[2.3.0] #
- Fix bug in camera zoom out.
- Add
animateZoom
method inCamera
. - Add Experimental State Manager. Example here.
[2.2.4] #
- Improvements in
MovementByJoystick
. - Improvements in how to access the
gameRef
from aGameComponent
. - Improvements in
ImageLayer
. - Fix issue #224 in
TalkDialog
.
[2.2.2] #
- Improvements in
DirectionAnimation
mixin. - Improvements in
Movement
mixin. AddedonMove
method, which you can override to listen to component movements. - Set
dPadAngles
default value equals false inMovementByJoystick
.
[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 toangle
insimpleAttackRangeByAngle
; - Renamed
animationUp
toanimation
insimpleAttackRange
andsimpleAttackRangeByAngle
. You should now use the default animation (to the right).
- Renamed
[2.1.0] #
- Update
a_star_algorithm
. - Change
Offset
toVector2
inCamera.moveToPositionAnimated
. - Add
moveToPositionAnimated
incamera
. - Add
marginFromOrigin
param insimpleAttackRangeByAngle
. - 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 ofdouble height
anddouble width
. - BREAKING CHANGE: Use
Vector2
instead ofOffset
andSize
. - BREAKING CHANGE:
camera.animateSimpleRotation
andcamera.animateLoopRotation
are not available anymore.
- BREAKING CHANGE: Use
- Improvements in
ObjectCollision
. Now it is possible to overrideonCollision
and returnfalse
so the object will not collide with anything or block the passage. - Add new mixin
Pushable
. - Add params
name
andid
inTiledObjectProperties
. - Add support to use Flame Effects
- Small improvements in
SimpleDirectionAnimation
- Improvements in
Lighting
- Extensions improvements
- Improvements in
GameColorFilter
- Add
left
,right
,top
,bottom
inGameComponent
- Add
enabledSensor
inSensor
SimpleDirectionAnimation
now only requiresidleRight
andrunRight
. It will automatically flip horizontally to perform the idle/run left animations. You can disable this feature setting the paramenabledFlipX
to false (default = true).enabledFlipY
is also available, but defaults to false (if you set this param to true, onlyidleUp
andrunUp
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
andseeAndMoveToAttackRange
. AddsnotObserved
andobserved
.
[1.12.1] #
- improvements in sprite load of the
BackgroundImageGame
. - improvements in
simpleAttackRangeByAngle
. - rename
animationTop
toanimationUp
- rename
animationBottom
toanimationDown
- improvements in
TalkDialog
[1.12.0] #
- Adds SpriteAnimation extension: method
asWidget
.(You can use this to SpriteAnimation or Future - Adds Sprite extension: method
asWidget
.(You can use this to Sprite or Future - 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
toTextStyle
- BRAKING CHANGE: Replace
1.10.0 #
- Fix #203 - Web build with late initialisation on animations
- Create interfaces to facility access methods of the
ColorFilter
andLighting
. - Add
replaceAnimation
method inDirectionAnimation
. now you can use this method in SimplePlayer or Enemy to replaceSimpleDirectionAnimation
. - Now gameRef is
BonfireGameInterface
. - Improvements in SimpleDirectionAnimation.
- BREAKING CHANGE:
- rename
gameRef.changeJoystickTarget
togameRef.addJoystickObserver
- remove
gameRef.addComponent
. now usegameRef.add
orgameRef.addAll
- rename
1.9.9 #
- Add
dismissible
param inTalkDialog.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
toanimateSimpleRotation
. - 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
: addonClose
. - Add rotation functionality to the camera. Set
angle
onCameraConfig
oranimateRotate
to rotate the camera view
1.9.6 #
- Fix bug "getting stuck" in
MoveToPositionAlongThePath
- [BREAKING CHANGE] Change param
logicalKeyboardKeyToNext
inTalkDialog
tologicalKeyboardKeysToNext
, now multiple keys are accepted to advance in the dialogue - Add option
wasdAndArrows
toKeyboardDirectionalType
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 inGameComponent
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 byremoveFromParent()
. Use it to remove a component from the game. - [BREAKING CHANGE] Improvements in Keyboard events. Removed params
keyboardEnable
andkeyboardDirectionalType
inJoystick
. Set these attributes throughkeyboardConfig
. - [BREAKING CHANGE] gameRef.components changed to gameRef.children.
1.8.1 #
- Adds
Focus
inCustomGameWidget
to remove "system ding" in MACOS. - Updates
moveToTarget
method inCamera
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 inJoystick
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.
1.6.0 #
- adds
getScreenPosition
method inGameComponent
. - adds
enableDiagonal
param insimpleAttackRange
. - adds
visibleComponentsByType
andcomponentsByType
inBonfireGame
. - adds
onTapDown
andonTapUp
inBonfireTiledWidget
andBonfireWidget
.
1.5.11 #
- Improvements performance.
1.5.9 #
- remove method
isVisibleInCamera()
inGameComponent
. Now use theisVisible
param to check if this component is visible in camera.
1.5.6 #
- improvements performance in big maps
1.5.4 #
- increases map rendering space
1.5.3 #
- improvements in order of the update of
Camera
- add
QuadTree
data struct to search of the visible Tiles. - update
ordered_set
1.5.2 #
- improvements in
Camera
- improvements in
AnimatedObjectOnce
1.5.1 #
- improvements in
CameraConfig -> moveOnlyMapArea
- improvements in
Lighting
1.5.0 #
- adds "Smooth" effect in camera. To enable:
BonfireTiledWidget(
...
cameraConfig: CameraConfig(
smoothCameraEnable: true,
),
);
1.4.14 #
- fix bug in
TapGesture
1.4.13 #
- fix error Tile of
above
type.
1.4.11 #
- improvements in
MapWorld
- enables remove tiles of map.
- fix position translation on diagonal movement of FlyingAttackObject #155
1.4.10 #
- improvements performance
1.4.9 #
- new Improvements in process Tile in
TiledMap
. - Add
shake
method inCamera
.
1.4.8 #
- Improvements in process Tile in
TiledMap
.
1.4.6 #
- Improvements in
TiledMap
.
1.4.5 #
- [BREAKING CHANGE] Refactor
TalkDialog
core to allow RichText animations: Now everySay
requires atext
param which takes aList<TextSpan>
instead of a String. - Add param
speed
toTalkDialog
. - Improvements in cache system to load map.
1.4.4 #
- add param
tileSizeToUpdate
to configure interval of the update map.
1.4.2 #
- fix
tileSize
inMapWorld
.
1.4.0 #
- Improvements in
Camera
- Improvements in
MapWorld
to support large maps. - [BREAKING CHANGE] change
List<Tile>
toList<TileModel>
to create manual maps see example.
1.3.7 #
- remove microTask to update chache in
BonfireGame
1.3.5 #
- remove Unnecessary
print
inTiledWorldMap
- Add param
opacity
inGameComponent
to control opacity.
1.3.4 #
- Improvements in
TiledWorldMap
1.3.3 #
- Update
tiledjsonreader
- Adds support to folders(group) in Tiled
1.3.2 #
- Improvements in extensions organization.
- Update Flame to
1.0.0-releasecandidate.13
version. - Replace
HasGameRef
for the ownBonfireHasGameRef
.
1.3.1 #
- little improvement in
drawDefaultLifeBar
. - create mixin
AutomaticRandomMovement
- add
onReady
inBonfireTiledWidget
andBonfireWidget
- add
getComponentDirectionFromMe
inGameComponentExtensions
- add
checkInterval
inGameComponent
1.3.0 #
- new extensions to
GameComponent
. - new extensions to
Movement
. - new extensions to
Attackable
. - Makes Bonfire more modular. Every kind of behavior has become a mixin.
1.2.2 #
- improvements in
constructionMode
- improvements in
drawDefaultLifeBar
- performance improvements
1.2.1 #
- improvements in
TiledWorldMap
- add property
backgroundColor
inTalkDialog
. - performance improvements in
TiledWorldMap
1.2.0 #
- add
MouseGesture
mixin to listen mouse gestures see documentation - add method
worldPositionToScreen
inBonfireGame
. - add method
screenPositionToWorld
inBonfireGame
. - add method
isVisibleInCamera
inBonfireGame
.
1.1.7 #
- Improvements in
TextInterfaceComponent
- Improvements in
GameComponent
- Improvements in
SimpleDirectionAnimation
1.1.6 #
- update
tiledjsonreader
- update
flame
- Improvements in
SimpleDirectionAnimation
- Improvements in
generateRectWithBleedingPixel
1.1.5 #
- blocks paths off screen in
MoveToPositionAlongThePath
- create function
overlap
toImage
.
1.1.4 #
- new improvements in
MoveToPositionAlongThePath
1.1.1 #
- Fix bug
TalkDialog
. - Fix bug Animations in
SimplePlayer
andSimpleEnemy
.
1.1.0 #
- Update
Flame
to1.0.0-releasecandidate.11
version. - [BREAKING CHANGE] improvements in
objectsBuilder
andregisterObject
to register objects inTiledWorldMap
.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
toTextPaintConfig
- adds method
tilePropertiesBelow()
andtilePropertiesListBelow()
in GameComponent to access proprieties of the tile set in Tiled. - adds method
void onCollision(GameComponent component, bool active)
inObjectCollision
. Now you can override this method to listen what Component enter in collision. - improvements in
BonfireGame
- improvements in
TalkDialog
.
1.0.3 #
- Adds type
above
in tiled to render above components - update
tiledjsonreader
- improvements in
Camera
- Adds param
objectsBuilder
inTiledWorldMap
- others improvements
1.0.2 #
- Downgrade flame version to 1.0.0-rc9
1.0.1 #
- Fix
SimpleDirectionAnimation
1.0.0 #
- Rename
gameCamera
tocamera
- Add JoystickMoveToPosition
- Add mixin
MoveToPositionAlongThePath
andMovement
1.0.0-rc8 #
- 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
andDragGesture
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
andDragGesture
together. - Improvements in mixin
Sensor
. - Improvements in
TalkDialog
.
1.0.0-rc3 #
- Improvement in
simpleAttackMelee
- Improvement in
InterfaceComponent
whenselectable
enable
1.0.0-rc2 #
- Improvement in layer priority.
- Improvement in
Camera
whenmoveOnlyMapArea
enable. - Fix bug
animation.playOnce
in Player and Enemy - Fix bug
addAction
inJoystick
- Fix bug
seePlayer
inGameDecoration
1.0.0-rc1 #
- Fix bug in
cameraMoveOnlyMapArea
- Add
CameraConfig
inBonfireTiledWidget
andBonfireWidget
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 becomeFuture<Sprite>
. - BREAKING CHANGE: All params
Animation
in components becomeFuture<SpriteAnimation>
. - BREAKING CHANGE: To configure
Lighting
usesetupLighting(LightingConfig())
. - BREAKING CHANGE: Removed the
Position
class. Now useVector2
. - WARN (Render priority): The only components that have fixed rendering priority are:
MapGame
andBackgroundColorGame
. 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.9.0 #
- BREAKING CHANGE: Collision system. Remove param
collision
from Enemy, Player and GameDecoration. If you need add collision in your component use the mixin 'Collision' and settings your properties using 'setupCollision()' method.
0.8.6 #
- update dependencies an README.
0.8.5 #
- update Flame to
0.29.3
.
0.8.4 #
- update Flame to
0.29.2
. - add joystick
TouchToPosition
.
0.8.3 #
- improvements in
BonfireTiledWidget
.
0.8.2 #
- Fix camera zoom-out.
0.8.1 #
- Fix issue #79.
- Improvements in mixin
Attackable
. It is now possible to determine from whom you can take damage (player, enemy, all) usingreceivesAttackFrom
. - Improvements in mixin
ObjectCollision
. It is now possible to enable and disable collision with the player and enemies usingcollisionWithEnemy
andcollisionWithPlayer
.
0.8.0 #
0.7.7 #
- add resize in
InterfaceComponent
- add param
components
inBonfireTiledWidget
andBonfireWidget
- disable
isAntiAlias
in rendertile
in map. - update flame to
0.28.0
0.7.6 #
- add
maxDownSize
inTextDamageComponent
- update CHANGELOG
0.7.5 #
- Fix collision in GameDecoration.
- Update Flame to 0.27.0
0.7.4 #
- makes Sprite public in GameDecoration
- update
id
to dynamic inreceiveDamage
andJoystickAction
.
0.7.3 #
- hotfix: notify finish in
AnimatedObjectOnce
. - update
id
to dynamic inreceiveDamage
andJoystickAction
.
0.7.2 #
- hotfix render last frame in
AnimatedObjectOnce
.
0.7.1 #
- makes
lighting
accessible through thegameRef
. - create
FollowerObject
.
0.7.0 #
- BREAKING CHANGE: improvement in animations to SimplePlayer and SimpleEnemy. Now use
SimpleDirectionAnimation
to manipulate animations. - add
GameColorFilter
. It is now possible to add color filter in the game. - Possible to load maps made by Tiled from url. Just pass the link as path.
0.6.27 #
- little performance improvement;
- remove mandatory joystick in widget;
- remove param gameComponent in
LightingConfig
;
0.6.26 #
- improvements image cache in map load by Tiled;
0.6.25 #
- fix
tileTypeBelow()
and addtileTypesBelow()
;
0.6.24 #
- add method
tileTypeBelow()
inGameComponent
to get type tile; - improvements in gestures mixin;
0.6.23 #
- improvement in map.
- BREAKING CHANGE: remove param
isSensor
fromGameDecoration
an create mixinSensor
. - update example (Potion,Spikes).
0.6.22 #
- fix update Camera.
0.6.21 #
- improvement in camera system.
- update flame.
0.6.20 #
- Add mixin
Attackable
.
0.6.18 #
- BREAKING CHANGES: change
forceTileSize
type double to Size. - Add support to offsetX and offsetY in TileMap layers.
0.6.17 #
- hotfix Tiled - Support multiTileset.
0.6.16 #
- improvement in JoystickActions
- improvement in seeAndMoveToPlayer (Enemy)
0.6.15 #
- improvement in
seeEnemy
andseePlayer
- BREAKING CHANGES: rename prams
visionCells
toradiusVision
inseeEnemy
andseePlayer
0.6.14 #
- hotfix extension simpleAttackMeleeByDirection and simpleAttackMelee
0.6.13 #
- improvements in TiledWorldMap.
- BREAKING CHANGES: rename prams with
animation
toanim
in SimpleEnemy. - BREAKING CHANGES: rename mixin
WithLighting
toLighting
. - BREAKING CHANGES: rename param
tiledMap
tomap
in BonfireTiledWidget. - add animIdleTopLeft, animIdleBottomLeft, animIdleTopRight, animIdleBottomRight in SimplePlayer and SimpleEnemy.
- add
transitionBuilder
in BonfireTiledWidget if desired to add a custom display animation - add
durationShowAnimation
in BonfireTiledWidget
0.6.12 #
- add diagonal in Direction(enum).
0.6.11 #
- hotfix addFastAnimation.
0.6.10 #
- hotfix addFastAnimation.
0.6.9 #
- update extensions.
- add animation in diagonal in SimpleEnemy and SimplePlayer.
- add extensions getAnimation and getSprite in Image (dart:ui).
0.6.8 #
- improvements show FPS
- update example
- update extensions enemy.
- update Flame.
0.6.7 #
- hotfix seeAndMoveToAttackRange.
0.6.6 #
- Add zoom in moveToPlayerAnimated and moveToPositionAnimated.
- improvements in seeAndMoveToAttackRange.
- add animation show map when load TiledMap.
0.6.5 #
- Optimizations when loading maps built with Tiled
0.6.3 #
- hotfix Tiled with tile null in TileSet.
0.6.2 #
- hotfix render.
0.6.1 #
- add Tiled json support (BonfireTiledWidget)
- BREAKING CHANGES: gestures improvements (now use mixin TapGesture or DragGesture)
- BREAKING CHANGES: align collision
- add support drag gestures
- add support multiCollision to Decoration and Tile.
- add support Tile animated.
0.5.1 #
- hotfix in FlyingAttackObject
- adds sensor functionality to GameDecoration
0.5.0 #
- BREAKING CHANGES: remove 'positionInWorld', everything uses 'position' now.
- improvements in Camera system by rezendegc
- improvements in JoystickDirectional
0.4.2 #
- improvements in TextDamage
- performance improvements
0.4.1 #
- add lightingConfig in extensions
0.4.0 #
- BREAKING CHANGES in joystick and player in 'void joystickAction(JoystickActionEvent event)'
- adds support for direction in actions of the joystick
- adds support for basic lighting
- update Flame to 0.21.0
- performance improvements
0.3.3 #
- Improvements in FlyingAttackAngleObject.
- Fix bug issue #22.
0.3.2 #
- Fix bug extension enemy.
0.3.1 #
- Update Flame.
- Add identify in attacks.
0.3.0 [ BREAKING CHANGE ] #
- Improvements render components
- the Player was dismembered in Player(base) ,SimplePlayer(similar old Player) and RotationPlayer
- the Enemy was dismembered in Enemy(base) ,SimpleEnemy(similar old Player) and RotationEnemy
- created FlyingAttackAngleObject
- add 'rotateRadAngle' in AnimatedObjectOnce
0.2.12 #
- Improvements on the JoystickKeyBoard.
0.2.11 #
- Improvements change size map
0.2.10 #
- Fix bug player;
0.2.9 #
- Fix bug player update
0.2.8 #
- change of speed parameter to points / seconds.
0.2.7 #
- improvements pointer detector.
0.2.6 #
- improvements bleeding pixel.
- add support web in example
0.2.5 #
- Flutter Web test.
0.2.4 #
- add bleeding pixel in GameDecoration.sprite and GameDecoration.animation.
0.2.3 #
- Fix bug Joystick fixed
0.2.2 #
- Improvements Joystick
- better sensitivity
- possibility of obtaining intensity
- possibility of obtaining angle
- Improvements player movement windows
- Improvements enemy movement
- Add TextInterfaceComponent
- Add bleeding pixel in decorations
0.2.0 #
- Improvements in GameInterface (now it’s easier to add elements with 'InterfaceComponent')
- Improvements in Joystick
- Update readme
0.1.11 #
- add customize collisionAreaColor and constructionModeColor
- Improvements player
0.1.10 #
- add constructor Tile.fromSprite
- add constructor GameDecoration.sprite
- add constructor GameDecoration.animation
0.1.9 #
- remove scaffold in BonfireWidget
0.1.8 #
- update flame to 0.19.1.
- add bleeding pixel in map.
- modify parameter sprite in decoration.
0.1.7 #
- add margin in seeAndMoveToPlayer(Extension enemy).
0.1.6 #
- Improvements in enemy.
0.1.5 #
- Improvements in enemy movements.
- Improvements in map resize.
0.1.4 #
- Update Flame.
- Improvements in BonfireWidget.
- Add onTapDown, onTapUp, onTapMove, onTapCancel in components isTouchable = true
0.1.3 #
- Improvements in player and enemy extensions.
- Add GameController.
0.1.2 #
- Improvements in player and enemy extensions.
- Add ShowAreaCollision.
0.1.1 #
- Improvements in gestures.
- Improvements in joystick.
- Decorations can now be touched.
0.1.0 #
- First version stable! Possible to create complete games like this: https://github.com/RafaelBarbosatec/darkness_dungeon
- Update readme and demo.
0.0.16 #
- Update extensions enemy and player
0.0.15 #
- Add callback destroyedObject in FlyingAttackObject
- Add TalkDialog to create your conversation.
0.0.14 #
- Improvements collision
- Improvements collision decoration
0.0.13 #
- Fix bug collision decoration
0.0.12 #
- Update Readme
- Improvements in draw grid
0.0.11 #
- Add draw grid tiles in constructionMode.
- Improvements in FlyingAttackObject
0.0.10 #
- Add constructionMode. (HotReload update game too)
0.0.9 #
- Map size improvements
0.0.8 #
- Collision system improvements
- Add 'drawPositionCollision(Canvas canvas)'
0.0.7 #
- Add MapExplorer when not set Player
- Add BackgroundGame
0.0.6 #
- Fix bug FlyingAttackObject.
0.0.5 #
- Add camera movements.
- Fix delay between map and components.
- Update readme.
0.0.4 #
- Organization improvements.
- Update readme.
0.0.3 #
- Add AnimatedFollowerObject and 'seeEnemy' in player.
- Update readme.
0.0.2 #
- Update readme.
0.0.1 #
- Starts project with basic mechanics.