I have built a small mini game and obviously I did the rookie mistake to cram it all in the main scene and have all my input event handling also in the main.gd script.
What would be the proper way from a structure point of view if I now want to create different levels? Where would I put the input event handling logic so it’s available in all levels but I just change it once? Create a new scene just for the input handling and add it to all levels or autoload the script?
Is there maybe a good tutorial out there how to structure your project or a small demo project to take a look at?