You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.