-
Notifications
You must be signed in to change notification settings - Fork 0
Known Issues
ste-bippinbits edited this page Jan 20, 2025
·
1 revision
This section is related to known issues when modding Dome Keeper, the limitation of the mod loader and how Dome Keeper is designed
The game loads scenes using load()
and preload()
everywhere in scripts.
Scenes loaded via load()
through code are loaded when the code is executed while scenes loaded via preload()
are loaded when the scene containing the preload()
is loaded.
❗ Example:
class_name TestClass extend Node
func _ready():
preload("res://stages/title/TitleStage.tscn")
Means that the TitleStage scene is loaded as soon as the TestClass node is loaded.
If you extend/take_over_path a script containing preloads, you can't extend any longer the script on the scene that gets preloaded.
💡 Possible fixes:
You can :
- Copy the preloaded scene in your mod, extend/take_over_path the script preloading to point to your scene.