flame_worldgen 2.0.0
flame_worldgen: ^2.0.0 copied to clipboard
A procedural world generation toolkit for Flame, providing chunk-based tile management, animated and weighted sprites, and noise-driven terrain generation for 2D games.
2.0.0 #
Added #
- Implemented
Tile
class to hold tile-related data - Added debug rendering for
TileLayer
. - Added
getRandomPosition()
method toChunk
. - Added
worldSize
,worldPosition
andworldRect
properties toChunk
. - Added tile world position to sprite selector callbacks.
Changed #
- Renamed
TileLayer
toTileLayerComponent
. - Renamed
chunkSize
tosize
andchunkCoords
tocoords
insideChunk
.
- Refactored
processTile()
andaddOrUpdateTile()
to be private.
- Refactored to use global tile coordinates as keys instead the position.
Fixed #
- Fixed noise calculation to use global tile coordinates instead of world position.
- Ensured valid values for
chunkSize
andtileSize
.
Documentation #
- Updated README and examples.
1.0.0 #
- Initial release