The aim of this project is to produce a working basic 4X space game. Features will include:
- Randomly generated galaxies with unique solar systems.
- A basic UI and user controls.
- Some predifined races with unique traits and play styles.
- A customisation system for the races.
- Random events.
- A basic AI
More features could be added later depending on demand.
All Code for Each part can be found here (Paste Bin)
Or Downloaded at the bottom of each tutorial.
All the Project files can be found on GitHub.
Galaxy and Solar System Creation
Part 2 Making the Stars Unique
Part 3 Setting Up Solar Systems
Tidy Up – Between Part 5 and 6
Camera Control
Making Things Look Better
Adding Spiral Galaxies
Naming Stuff
Ships
Bug Fix and Efficiency Saving
Resources
Star Bases
Turn System
Part 26 Turn System 1 – Coming Soon
Is there any chance you could make a separate branch for this tutorial for an RT4X? I’m not to fond of the turn-based system.
LikeLike
Hi vstdgmr, I would really like to do both turn based and real time but I do not have time to do both. The only real difference between real time and turn based is the code executes when a button is pressed in turn based and in real time code will be executed in update methods and trigger events. Hope this helps
Tom
LikeLike
Great tutorial series! Been using a lot of this info in my own project to build a galaxy map. Are you still continuing with these tutorials? I am curious to how you will handle path finding in order to move ships to a destination.
Here is my current map built from using your methods and expanding it into my own project https://www.youtube.com/watch?v=jVVsnbtUGKA
LikeLike
I am continuing them :). Currently Releasing one per month, wish I could do more but struggle to find the time.
That map looks amazing! I’m glad my tutorials helped. Are your stars using a shader or are they modeled like that?
LikeLike
With a full time job, family, and house I fully understand the struggle for time. Great to hear the tutorial is still going, though, this will be a big help for tons of people!
My stars are Particle Systems from the Space for Unity asset pack I picked up when the store was having a sale. They were meant for background stars but with a little modification they worked wonders on a small scale such as the map
https://assetstore.unity.com/packages/tools/level-design/space-for-unity-space-scene-construction-kit-7095
Looking forward to your new tutorial posts
LikeLike
Thank you for posting the link to your video and the asset pack you used :). Seems like they are popular links people are clicking on.
Just as a heads up to anyone who does click on the link above to the asset store, this website is signed up to Unity Affiliates – even though I myself have not yet created any links to the asset store the one above does count. If you click on the link and purchase anything in the store this site receives a small commission. Thank you for supporting the site in this way if you decide to 🙂
LikeLike
Hi there!
Thank you for the great tutorial series, really got me up to speed with Unity the programmatic way. Never liked working in the modeler, but being able to create and destroy objects from code-behind will really give me a nice way to build a front-end for my game!
LikeLike