The prototype of the game is open source.
This prototype of the game is completely playable, but nevertheless, this is not a complete game. The source contains all the tools for the development of the game, but you need the above-average programming skill. There are no comments in the code, but the code itself is well structured, all the scripts and shaders, functions and variables are named so that it is clear what they are responsible for.
Only Built-in Render Pipeline.
For Unity version of at least 2019.1.8 (64-bit)
Current version 1.0.1
- Infinite procedurally generated world.
- Almost complete destructible of everything.
- A very large number of NPCs (up to 1000 in one star system).
- Battles involving hundreds of NPC.
- Gravity is an important game element.
This game prototype consists of five main parts:
- Pools of static game objects.
- Procedural generation based on the coordinate system.
- The system of destruction, based on the substitution of objects, objects from the pool of static objects.
- Artificial intelligence, with a primitive simulation of life and interaction with each other, the world and the player.
- Game controller, with a set of weapons and skills.
Installation:
Aset with Unity Asset Store works right away.
- Create a new project in Unity.
- Download Assets and ProjectSettings and place them in the folder of your new project.
- Open the desired scene in the Scenes directory.
Basic information
The “Main” directory contains all the files and scripts associated with the procedural generation of the planetary system.
The “AI“ directory contains all the files and scripts associated with artificial intelligence.
The “Player” directory contains all the files and scripts associated with the game controller, inventory and interface.
The “Menu” directory contains all the files and scripts associated with the initial menu for selecting a planet.
The “Universe” script in the “Menu” scene is responsible for generating the star field.
The “StarSystem” script in the “Main” scene is responsible for generating the star system.
When you first start in the editor, first start the “Menu” scene to apply the settings of the “Main” scene, which are stored in “PlayerPrefs”. To test the main “Main” scene, you can generate the star systems you need using test seed.
Notice
I am aware that sounds do not spread in space.
And there are no square planets in space.
And gravity works differently.