Migration Guide
This guide documents the changes introduced in version 5.1.0 of the Grid Building Plugin.
Overview
Section titled “Overview”Version 5.1.0 includes updates and improvements to the Grid Building Plugin.
Changes in v5.1.0
Section titled “Changes in v5.1.0”title: Changes in v5.0.1 description: Micro changes and updates for Grid Building Plugin version 5.0.1
Section titled “title: Changes in v5.0.1 description: Micro changes and updates for Grid Building Plugin version 5.0.1”This page documents the minor changes and updates introduced in version 5.0.1 of the Grid Building Plugin.
Art Pathing Changes
Section titled “Art Pathing Changes”Template Resource Organization
Section titled “Template Resource Organization”- Updated asset paths in
godot/templates/grid_building_templates/to use more consistent and organized directory structures - Improved resource loading paths for better compatibility with different project setups
- Standardized font and icon asset locations within template resources
Font Asset Updates
Section titled “Font Asset Updates”- Added
monogram.ttffont togodot/templates/grid_building_templates/resources/fonts/ - Included CC0 license file (
LICENSE.txt) in the same directory for proper attribution - Font is free for personal and commercial use under Creative Commons Zero v1.0 Universal license
Version Updates
Section titled “Version Updates”- Updated all plugin version numbers to 5.0.1 across:
- Main plugin configuration files
- Inventory plugin configuration
- README files
- Test suite documentation
- Documentation references
Submodule Synchronization
Section titled “Submodule Synchronization”- Synchronized all Git submodules to their latest commits
- Updated submodule references to point to main branches
- Resolved any merge conflicts and ensured clean submodule states
Template Configuration Fixes
Section titled “Template Configuration Fixes”- Debug Log Level: All template configuration files now use
WARNING(level 2) as the default debug level instead ofDEBUGorVERBOSE- Updated
isometric/config.tresto explicitly setlevel = 2 - Updated
platformer/config.tresfromlevel = 4(DEBUG) tolevel = 2(WARNING) - Updated
top_down/td_config.tresfromlevel = 5(VERBOSE) tolevel = 2(WARNING)
- Updated
- Added integrity test to validate template configs maintain WARNING log level for production use
- This reduces console noise and improves performance in production environments while keeping important warnings visible
Template Integrity Testing
Section titled “Template Integrity Testing”- Enhanced Template Validation: Added comprehensive integrity tests to ensure templates work correctly when copied to new projects
- Keyboard Input Safety: Fixed
top_down/td_config.tresto disable keyboard input by default (enable_keyboard_input = false) - Template Combination Testing: Added validation that systems templates work correctly when combined with grid_positioner_stack templates
- Distribution Readiness: Verified all templates load and instantiate properly with just the
addons/grid_buildingplugin - Resource Loading Validation: Added tests to ensure all .tres and .tscn files load without circular dependencies or missing references
Demo Folder Integrity Tests
Section titled “Demo Folder Integrity Tests”- Scene Structure Validation: Added automated tests to verify demo scene hierarchies and required node configurations
- Component Integration Testing: Enhanced tests to validate that demo scenes properly integrate with Grid Building systems
- Resource Loading Verification: Added checks to ensure demo scenes load all required assets and dependencies correctly
- Hierarchy Consistency: Implemented tests to verify ManipulationParent and IndicatorManager positioning in demo scenes
Build System Fixes
Section titled “Build System Fixes”- Manipulation Parent Reset: Fixed issue where ManipulationParent rotation persisted when switching between placeables
- Transform State Cleanup: Added
ManipulationParent.reset()call inBuildingSystem.clear_preview()to ensure clean state transitions - Indicator Rotation Inheritance: Resolved visual bug where indicators appeared at incorrect angles after placeable switches
- State Management: Improved transform hierarchy management between ManipulationParent and indicators during build mode transitions
Pre-release Notes
Section titled “Pre-release Notes”This is a development pre-release (5.0.1) intended for testing and validation before the final stable release. All changes are backward compatible with 5.0.0.