- Home /
Generate FTL style star map
Intro: I'm making a space game. It's a mix between FTL and SPAZ. It is 2D and pretty simple. The point of the game is to mine ore, while fighting/running from pirates.
Problem: I need to generate a 'star map', like this. The idea is very similar to FTL. I can jump to each system on the 'star map'. Each system will have X amount asteroids to be mined. If I mine the asteroids, when I jump back they need to still be gone. Also, each system will have a safety rating, and a random chance of being a store.
The problem continues however. Once I generate this 'star map', how would I display it on the UI?
Further more, how would I save it? I have a basic saving feature using serialization, but how would I save the contents of each system, and the map itself?
Any help at all would be great. Most games I just give up on because I lack knowledge/skill, but I'm going to stick with this one.
This is several Qs. UA is good for single, non-disccusion (answerable) Qs. $$anonymous$$aybe pick one, with dummies for the other parts you need, to test.
Saving any big chunk of data is about the same as saving any other.
$$anonymous$$aking a UI with text(?) and icons(?) is party a design problem -- you have to decide how it should look. Then look up how to make it.
$$anonymous$$aking random(?) stars is like making random levels. People have written tricks, like having templates, giving it a once-over and adjusting ... .
@Owen Reynolds , You're right. I should leave it to one question -It just seemed these questions where so tied together, it made sense to stick them all together.
I guess what I'm asking is, how should I go about making a randomly generated star map, like in FTL? And also, how do I get each system to save it's self (All the asteroids and stuff inside) It seems messy to make a file that holds all the asteroids, their mass, position, velocity, etc. It seems like a more elegant solution would exist.
I'm down to my last strand of hair. Gonna abandon the concept for the prototype. I'm going to leave the topic open because I would really like to do this.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Forcing a program to initialize inside Unity game. 1 Answer
To see chosen random text UI Unity,To Access UI text 0 Answers
Need help with generating random Multiplier,Need help with generating random multipliers 0 Answers
How would buttons in a Chose Your Own Adventure Game work? 1 Answer