Skip to content

Release c095022

Choose a tag to compare

@github-actions github-actions released this 15 Jan 20:27
Enhance player spawning and map generation logic

- Added error handling in Multihelper.gd to ensure the main scene and map are present before spawning players, improving robustness.
- Updated spawn position logic to ensure players are only spawned on valid grass tiles, with fallback mechanisms for emergency spawn areas.
- Refactored map.gd to streamline tile map initialization, replacing TileMapLayer with TileMap for consistency across the project.
- Improved error messages for missing TileMap nodes in various scripts, enhancing debugging capabilities.
- Updated minimap and navigation scripts to reflect changes in tile map structure, ensuring accurate rendering and functionality.

These changes collectively improve the reliability and clarity of player management and map generation in the game.