I don’t know all that much about coding and programming, but this seems risky to me?
I know there’ll be a finish line eventually in the game, but just making more nebulae instead of reusing them (with code we’ve already learned), isn’t that better practice?
I don’t know if this is how memory leaks happen (putting in a million nebulae?), but I’m guessing it could be?
I’m asking to get to understand the pitfalls better. I realise this is a very resource-light game, but if I did this in a large game with large assets, would it be problematic, or wouldn’t it matter?