1.6.0
- adds
getScreenPosition
method inGameComponent
. - adds
enableDiagonal
param insimpleAttackRange
. - adds
visibleComponentsByType
andcomponentsByType
inBonfireGame
. - adds
onTapDown
andonTapUp
inBonfireTiledWidget
andBonfireWidget
. - remove method
isVisibleInCamera()
inGameComponent
. Now use theisVisible
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 inCamera
. - Improvements in
TiledMap
. - [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.
- 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>
toList<TileModel>
to create manual maps see example. - Improvements in
LightingComponent
- Improvements in
TalkDialog
. #136 - update
a_star_algorithm