Currently all scripts depend on the other scripts, depend to have exactly one player, to have that scene, to have those parents, and whatnot else.
Here is a todo list for the Refactoring:
[ ] Remove all "unknown parents" (e.g. get_node("../../../"))
[ ] Remove all direct references to the player unless necessary (so the player will call box.push, and the box won't ask if the player is moving/falling/etc.)
[ ] Move all movement function to some parent class, so as to not reinvent the wheel
Currently all scripts depend on the other scripts, depend to have exactly one player, to have that scene, to have those parents, and whatnot else.
Here is a todo list for the Refactoring:
get_node("../../../")
)Note: Will add some more as I progress with #51