This Godot project is a simple proof of concept to show how you can manage multiple states using shared objects instead of directly referencing nodes, propagating signals through the scene tree or using global objects (autoloads/singletons).
video.mp4
The way I used to make my games:
vs The way I'm doing it in this project:
You can find a full explanation in this blog post: https://tumeo.space/gamedev/2023/10/18/godot-states/