This repository has been archived by the owner on May 7, 2022. It is now read-only.
Bevy Tilemap 0.4.0 #148
joshuajbouw
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is finally out! bevy_tilemap 0.4 with bevy 0.5 support.
This took a bit of work to get this done, plus had gotten quite busy during the first quarter of this year. Now back on a sane schedule!
Whats new?
[0.4.0] - 2021-03-08
Fixed
ncollide
replaced withncollide2
(technically this work waspostponed but worth mentioning).
add_layer_with_kind
.texture_dimensions
inphysics_dungeon
.Added
TilemapBundle
visibility,Visible
, support which allows thevisibility to be added to the tilemap and changed for all chunks if needed.
z_order
andsprite_order
fields toTile
.MissingTextureDimensions
error toTilemapError
.event
module which allows use of theTilemapChunkEvent
.auto_spawn
to theTilemap
.clear_layer
to theTilemap
which enables clearing of whole layers.Changed
Tilemap2DPlugin
toTilemapPlugin
as now the tilemap supports both2D and 3D. Lets not get carried away here and go beyond the 3rd dimension!
Chunk
was made private as it never was meant to be public. Oops.RawTile
to be public. Now you can see raw details of the tiles.TilemapError
inner public.TilemapBuilder::chunk_dimensions
now requires an extra argumentdepth
. Youprobably do not want to set this to 0.
Tilemapbuilder::tile_dimensions
was renamed toTilemapBuilder::texture_dimensions
. Makes it more exact, especially sincetile dimensions are coming in the next update which are totally different
(sorry, not sorry. It was you that decided to use an experimental game engine
with an experimental plugin :D.)
TilemapBuilder::add_layer
now takes in the newTilemapLayer
. It does onlyhave 1 field right now but this is expected to change at some point. Yay being
... prepared?
Tilemap::add_layer
also takes in the newTilemapLayer
.Tilemap::new
now requires a width and height of the texture.Point2
for a tile is now aPoint3
and while this technically is breaking, this shouldn't affect the API.
Removed
Tile::new
, all fields were made public instead. That goes with all the manyterribly thought out constructor patterns that should've never existed.
render
module from public API.TilemapBuilder::auto_configure
was purged. It no longer is needed.Thanks!
Thank you all to the contributors to this release:
@arbrog
@BrettWitty
@darthdeus
@digital7-code
@Imakoala
@themilkybit
Timothée Le Berre
@jamadazi
@joshuajbouw
This discussion was created from the release Bevy Tilemap 0.4.0.
Beta Was this translation helpful? Give feedback.
All reactions