[2.4.0]
- Updated Flame to version 1.1.0
- Adds
addParticle(Particle particle)
ingameRef
. - Implements NPC component. Suggested by 4mitabh.
- Improvements in
Attackable
system. - Adds
checkCanReceiveDamage
method inAttackable
mixin. You can do override this method to implements your own rule that who can receive damage or not. - BREAKING CHANGES:
-
in
void receiveDamage( double damage, dynamic identify, )
Attackable
now isvoid 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 inCamera
. - Add Experimental State Manager. Example here.
[2.2.5]
[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