rakugoteam / Rakugo-archive

Framework (inspired by Ren'Py) for story driven games in Godot.
https://rakugoteam.github.io/
MIT License
318 stars 30 forks source link

Easy way to mod gui #330

Closed Jeremi360 closed 4 years ago

Jeremi360 commented 4 years ago

Move most of code for res://gui scripts to new classes in res://addons/rakugo/gui. And made scripts in res://gui to just simple extsions of classes form res://addons/rakugo/gui. Also made try to made some simple way to replace elements of gui with out copy all gui and changing it or overwrite it. Maybe I will use godot's placeholder mechanism: https://docs.godotengine.org/en/3.2/classes/class_instanceplaceholder.html

Jeremi360 commented 4 years ago

Make more modular gui scripts, Just make script that loads all scenes for the same folder to main scene of this folder. And this script treats form scenes form res://game/gui as superior.

Jeremi360 commented 4 years ago

After some thing I see there is non need for that.