Spaceworks is work-in-progress c# library designed to be an "all-in-one" library for the Unity3D Game Engine to aid people in overcoming many of the inherent difficulties with making space based games. This library including many different systems which all of which help programmers manage and design new systems. Some of these systems include: a planetary body renderer, keplerian orbit system, floating origin manager, multi-threading, resource pooling and more. The /docs
folder contains a code of conduct document, contribution guidelines document, issue template, and pull request template.
I have always loved space, and by extension space themed games. Space can create many interesting challenges to game designers and programmers that can make them very difficult to complete. I have noticed that while many of these issues are addressed in academic articles and discussions, there are very few publicly available libraries which implement the techniques.
Simply download the source code from this GIT repository and import it anywhere in the Assets folder of an existing Unity3D project.
- docs
- Github related documentation
- Materials
- Pre-configured test materials
- Primitives
- C# classes that are utilized by each of the systems within Spaceworks
- Components
- MonoBehaviour based components to aid in testing systems
- Data Structures
- Pure data structures that are used to store or encapsulate other information or ideas.
- Math
- Meshes
- Noise
- Octree
- Quadtree
- Stores
- Scenes
- Unity3d scenes designed to test specific systems of Spaceworks
- Screenshots
- Screenshots used for demonstrations
- Shaders
- Pre-made shaders related to rendering specific objects in space.
- Systems
- C# scripts relating to various parts of Spaceworks
- Floating Origin
- Move objects in the scene to keep "nearby" objects close to the scene origin and therefor in the highest level of floating point precision.
- Modular Construction
- Use modular parts and allow them to "clip" together in well defined ways.
- Orbits
- Describe motion of planetary bodies in space.
- Planet Name Generator
- Pseudo-randomly generate names for planets, creatures, or more.
- Planet Renderer
- Create and render planetary geometry using a quad-tree to store levels of detail
- Pooling
- Save resources by reusing objects for later.
- Radar3d
- 3d radar implementation
- Solar System
- Create full sized solar systems by creating a small "model" that is easy to modify.
- Threading
- Classes for creating async tasks and resolve them using a pool of threads.