System Structure

Files

The system operates within a designated directory, which must contain two essential components: a "Resources" directory and a "TiledSystem.json" file. Access to these variables is available through the Tiled System Blueprint. It is crucial to note that the file names mentioned here correspond to their respective getter functions.

<aside> ℹ️

In the event that any of these files are missing, the system will issue a warning for a missing file. Therefore, it is imperative to ensure the existence of these files during the initial setup.

</aside>

Resource Detection

The "Resources" directory serves as the primary location for the system to search for Tiled app files.

Save/Load Functionality

The system automatically saves changes whenever they are registered and loads them during the editor's startup process. To manage this, the system employs a structured mechanism referred to as "Tiled Association." This structure links an object to a corresponding disk file and tracks key information such as the last load date and various auto properties.

Auto Synchronization

When the auto-sync feature is enabled, the system actively monitors the "Resources" directory for any changes and synchronizes accordingly, ensuring data integrity and consistency.