AdamsLair.Duality.Plugins.Tilemaps 1.1.0

Defines core Resources and Components for using tilemaps with Duality.

There is a newer version of this package available.
See the version list below for details.
Install-Package AdamsLair.Duality.Plugins.Tilemaps -Version 1.1.0
dotnet add package AdamsLair.Duality.Plugins.Tilemaps --version 1.1.0
<PackageReference Include="AdamsLair.Duality.Plugins.Tilemaps" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AdamsLair.Duality.Plugins.Tilemaps --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Updated Tilemaps Sample, AutoTile Fallback, Improved Tile API
#CHANGE: Updated the Tilemaps Sample project with AutoTiling data.
#ADD: When resolving indices for a tile that wasn't an AutoTile when it was serialized, but is an AutoTile now, its differing base index will be used to derive the appropriate connectivity state.
#ADD: Added various Tile constructors for different ways to initialize a tile.
#ADD: Wrote docs for each Tile constructor.
#CHANGE: Clarified some docs on the Tile struct.
#FIX: Fixed a bug where a certain Tile.ResolveIndex version would throw an exception when used on a non-AutoTile.
#CHANGE: Provided a Tile.ResolveIndex overload that takes a Tileset and made the more specific AutoTile one private to make future changes in this regard easier.
#CHANGE: All public Tile API now uses ContentRef<Tileset> instead of Tileset.
#CHANGE: Tweaked Tile ResolveIndex API.
#FIX: Fixed inconsistent AutoTile index resolve code between resolve-only and updating AutoTile connectivity states as well.
#ADD: Added AutoTilePaintMode enum, as well as the EditTilemapAction's ability to properly handle it.
#CHANGE: Compiled AutoTile data now includes the same per-tile information as used in the AutoTile input, instead of just the connectivity state.
#CHANGE: The tiles that are provided by the SourcePaletteTilesetView are now pre-initialized with their Tileset's matching connectivity state.
#CHANGE: Resolving AutoTile indices will no longer touch tiles that already have a matching connectivity state.
#FIX: Fixed a bug that would cause AutoTile fallbacks to not work if the fallback was fully unconnected / None.
#ADD: Tile connectivity is now properly integrated into Undo / Redo operations.
#ADD: Added AutoTile fallback cases for when the required state is unavailable.
#ADD: Added DontCare fallbacks for certain AutoTile connectivity states, reducing the overall number of required states to 47.
#ADD: When drawing an AutoTile in the tilemap editor, it will now update all affected AutoTiles.
#FIX: Fixed a bug where a Tilemap change event would be triggered with an invalid rect region.
#CHANGE: Moved the code for resolving a tile's Index to a static Tile method, so it can be accessed easily.
#ADD: Added a Tile constructor that sets index and base index to the same value, now using it instead of the assignment new.
#ADD: Added lots of documentation in comments and XML docs.
#CHANGE: When serializing TilemapData, only tile base index and connectivity state are serialized.
#CHANGE: Modified Tile struct to distinguish between index and base index.
#CHANGE: Modified TileInfo.AutoTileLayer to be a one-based index, so the default zero will be equivalent to not referring an AutoTile layer at all.
#REMOVE: Removed GenerateMissingTiles option from AutoTile input until it's actually implemented.
#CHANGE: The compiled TileInfo struct now holds the AutoTile layer index instead of the BaseTile, which is less redundant and more useful.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.4 57 11/16/2019
2.1.3 99 10/4/2019
2.1.2 45 10/4/2019
2.1.1 219 7/28/2019
2.1.0 99 6/30/2019
2.0.3 127 5/30/2019
2.0.2 117 5/4/2019
2.0.1 298 12/18/2018
2.0.0 181 12/7/2018
1.1.15 618 3/15/2018
1.1.14 886 9/17/2017
1.1.13 647 4/23/2017
1.1.12 422 2/5/2017
1.1.11 404 1/11/2017
1.1.10 379 12/28/2016
1.1.9 396 12/10/2016
1.1.8 356 11/13/2016
1.1.7 322 11/8/2016
1.1.6 340 10/16/2016
1.1.5 384 9/16/2016
1.1.4 347 9/16/2016
1.1.3 370 8/27/2016
1.1.2 334 8/27/2016
1.1.1 325 8/27/2016
1.1.0 307 8/27/2016
1.0.1 351 8/16/2016
1.0.0 395 7/24/2016
Show less