I'm using Ashley's beginners tutorial as a template just for your info, and I want to add multiple levels with screens inbetween them. For example. Currently level 1 you have to kill 10 things, once the kill counter reaches 10 you move to level 2 and have to kill 20 things and so on.
I want a screen inbetween so it's like: level 1 -> kill 10 to move to level 2 -> display a screen with a next button to proceed to level 2 -> click next -> start level 2 -> kill 20 to move to level 3 -> display screen with next button -> click next -> start level 3. And so on.
I want that screen for every level but I'm not sure how to do it properly. The only way I can think of is to create the blank screen with a next button manually for each level, and make each button point to the next level. It seems like a very tedious and bad way to do it. Isn't there any automatic way I can tell the game to progress? Or a way I can use the same layout with the next button for all transition screens? Something like "move to next level" when clicking on next rather than "move to level 2" and "move to level 3" on each one.
If you want to actually take a look at how it runs here it is, though I didn't change very much. I want to get the basic functionality working properly before I do anything else.
If you know any better way to do anything I was trying to do please let me know. A lot of it seems very crude. Especially with creating levels. I basically just duplicated my first layout and renamed it, but I was having issues trying to change certain things only in one layout but it would change it in both. I deleted it, reduplicated and somehow worked fine the second or third time, so I'm sure I'm doing something wrong. I just didn't want to recreate every single thing since the levels are identical (excluding background color).