Hi all,
I’m hoping that I can explain this clearly and succinctly - but apologies if I ramble.
I’m new to Godot, and have been through a few tutorials, but find I learn a lot better if I dive in and try and create something - but I’m getting confused, which is causing me some stress so hope you can help.
I’m trying to replicate / re-code a quiz program I wrote in a version of FlashScript (remember that) many years ago. That was timeline based, and far from the best code in the world - but it worked. I am happy to do the same with Godot, just to get something working and then refactor from there.
The quiz has 7 rounds, each on different subjects, and information is often presented differently. However, there are a few rounds that share the same components: i.e.
Picture slider - for every question a picture slides up from the bottom of the screen
Question Display - Displays the current question, and any multiple choice options if required.
As a test - to see if I can get this to work, I’ve built one round, which has both of the above. I initially coded each as a separate scene, but then had issues connecting signals back to the main scene from the picture Scene, so I then I coded them as just separate nodes (is this almost the same thing?) and that worked.
My question is should these be seperate scenes so that I can then reference them instead of re-creating them each time. The issue being I need to load different pictures and questions for the separate rounds.
Or, should I just treat each round as a separate scene, which will have some code repetition, and then use a main scene to instantiate, or load, the correct scene required?
I will be using an autoload for the questions and possibly sound effects but I’ve just got myself confused and going around in circles with regards to the main program etc. so just need a gentle shove in the right direction
Hope that this makes sense, my wife says I don’t very often lol and thanks in advance for any help / advice - even if it’s give up and don’t turn Godot on again! lol