Releases: lanmower/io
Releases · lanmower/io
Release list
Release d271d0d
Enhance map generation and player registration logic - Added detailed logging for tile map validation and regeneration processes, improving debugging capabilities. - Implemented error tracking for tile placement, providing feedback on successful and failed operations during map synchronization. - Introduced a new dictionary to manage spawned players, enhancing player registration handling and emitting relevant signals. - Streamlined terrain generation feedback, including counts of walkable tiles and tiles set in the tilemap, for better visibility into the map state. These changes collectively improve the robustness and clarity of map generation and player management in the game.
Release c095022
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.
Release 7f63b7a
release-7f63b7a Add player spawning functionality and improve spawn position logic in…
Release 7c6da34
Refactor map generation logic in map.gd for improved tile management - Renamed and clarified variable names for better readability, changing `tile_map` to `tile_map_layer` and ensuring proper casting to `TileMap`. - Enhanced error handling by adding checks for both `TileMap` and `TileMapLayer` references, improving robustness during initialization and client setup. - Updated tile retrieval and setting logic to consistently use `tile_map_layer`, ensuring accurate tile data handling throughout the map generation process. - Improved feedback mechanisms by adding error messages for missing tiles and logging during map data synchronization, enhancing debugging capabilities. - Streamlined the process of clearing and generating tiles, ensuring that existing tiles are properly erased before new ones are set. These changes collectively enhance the clarity, reliability, and performance of the map generation system.
Release 7866d1f
Implement day-night cycle and player spawn handling - Introduced a new dayNight.gd script to manage the day-night cycle, including a signal for time updates and initialization of time variables. - Updated main.gd to connect the new time_tick signal to relevant UI updates and player spawn handling. - Refactored Multihelper.gd to modify the player_spawned signal, now including player information for better handling of player-related logic. These changes collectively enhance the game's time management and player interaction features.
Release 6a540f8
Enhance terrain management and player connection handling - Updated tileset configuration in tileset.tres to include terrain sets for various tile types (Grass, Water, Sand, Cement) to improve terrain management. - Refactored Multihelper.gd to enforce type safety for player connection signals and streamline player connection handling. - Improved player connection and disconnection signal handling in generalHud.gd to ensure accurate player list updates. - Adjusted player.gd to ensure stamina calculations are more precise by enforcing float types for stamina values. - Updated player.tscn and other scene files to reflect changes in resource paths and ensure consistency across the project. - Enhanced error handling in NavHelper.gd and map.gd for better robustness in tile management and navigation. These changes collectively improve the game's terrain management, player connection handling, and overall code clarity.
Release 6946161
Refactor tile retrieval logic across multiple scripts for consistency - Updated `get_cell_atlas_coords` calls in `Multihelper.gd`, `NavHelper.gd`, and `map.gd` to include the `alternative` parameter set to `false`, ensuring uniformity in tile data retrieval. - Improved clarity in tile management by standardizing function signatures, enhancing code readability and maintainability. These changes collectively enhance the reliability and consistency of tile data handling throughout the project.
Release 3e00c76
Enhance error handling and tile management in map.gd - Added checks to ensure TileMap node exists before initializing the client and sending map data, improving robustness. - Updated tile retrieval logic to use source IDs for better accuracy in identifying existing tiles. - Implemented progress logging during tile placement to provide feedback on client-side processing. - Enhanced error messages for missing TileMap nodes, ensuring clearer debugging information. These changes collectively improve the reliability of map generation and client-server communication in the game.
Release 3d08b10
Refactor time synchronization and navigation logic - Updated Multihelper.gd to include checks for current_hour and current_minute before syncing time, enhancing robustness in game data handling. - Refactored dayNightCycle.gd to improve time management, including a new sync_time RPC function and adjustments to time calculations. - Enhanced NavHelper.gd to ensure tilemap retrieval is more reliable, with added checks to prevent errors when accessing navigable tiles. - Improved PointsDraw.gd to ensure proper handling of tile_map before drawing, preventing potential runtime errors. These changes collectively enhance the game's time synchronization, navigation logic, and overall code reliability.
Release f9da0c3
Refactor tile setting logic in map.gd to simplify tile assignment - Removed unnecessary validation checks for tile data before setting tiles in set_tile and sync_tile functions, streamlining the process. - Enhanced tile setting by directly erasing existing tiles and setting new ones without intermediate checks, improving performance and clarity. - Updated comments to reflect the changes in tile setting logic and the removal of redundant error handling. - Maintained existing error handling for missing tiles and alternative coordinates to ensure robustness.