Hi guys. I need to generate a random galaxy with let's say 10 stars. When you mouse over a star it will have a list of how many planets are present and what types. When you click on a star a new layout is loaded showing this system up close and in detail.
How I've done it thus far is on start of layout generate random stars. Each star has a variable named "planets." On star creation planets is set to random. On clicking on a star layout 2 is loaded and the amount of random planets are spawned based on star.planets.
There should be a cleaner and more effective way to do this. Possibly by using a database? I haven't touched those features of Construct yet.
Suggestions please. Thank you guys.