I am attempting to build a game that will contain an unknown number of puzzles. The puzzles will have a unknown number of levels in them. My question is: what is the best way to transition between puzzles and levels?
What I’d do is hold the puzzle scene name somewhere before you load the puzzle (like the puzzle before it, or a JSON file, depending on how you deal with your puzzles). Then, you simply fetch the next puzzle file name and load it when you’re done with the puzzle at hand.