Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by SteakBarker · Aug 29, 2015 at 01:09 AM · c#uirandomprogrammingprocedural

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.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Owen-Reynolds · Aug 29, 2015 at 03:24 AM 2
Share

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 ... .

avatar image SteakBarker · Aug 29, 2015 at 03:32 AM 0
Share

@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.

avatar image SteakBarker · Aug 29, 2015 at 05:41 AM 0
Share

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.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges