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
Tileclass to hold tile-related data - Added debug rendering for
TileLayer. - Added
getRandomPosition()method toChunk. - Added
worldSize,worldPositionandworldRectproperties toChunk. - Added tile world position to sprite selector callbacks.
Changed #
- Renamed
TileLayertoTileLayerComponent. - Renamed
chunkSizetosizeandchunkCoordstocoordsinsideChunk.
- 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
chunkSizeandtileSize.
Documentation #
- Updated README and examples.
1.0.0 #
- Initial release