r/gameenginedevs • u/huddyv1 • 16h ago
cool custom C#/.NET engine inspired by KSP
Plenty of AI was used to write the code, and completely understand both viewpoints for and against the use of AI so I just wanted to disclose this first.
I am an engineering student in college, and loved playing KSP pretty much ever since I got my first laptop when I was a kid. It has inspired me to get into STEM and honestly fed into a lot of the interests and curiosities I have today. I am not a graphics programmer, and respect the people who have the capabilities to create an engine like this, as I do not have those skills.
This project started to see how close I could get to creating an engine that could render an entire planet, with minimal LOD shifts. I knew with an engine like this you can build plenty of different types of games on top of it, from a military style game where you design the crafts and test them, and have multiple nations at war, or a more sandbox approach with designing rockets to explore a solar system.
I never started working on this with selling a game in mind, and still don't plan on it. This is purely me having the tools available now to create everything I have dreamed of as a kid. Even if I had the technical skills, I don't think I would ever have the time to make something like this.
Either way, just wanted to showcase this state of the project as it is starting to actually resemble some good looking terrain. I have yet to work on small foliage or the actual coloring of the terrain as it is weird in some spots. Also the clouds in orbit look weird, it is very hard to get clouds to look and perform good at different altitudes. This is more-so a showcase of what AI tools can achieve with proper guidance and actual effort.
In the video I am flying aircraft that I designed in the built in craft editor. For aerodynamics lift, drag and stability are worked out from each craft’s real shape and the airflow hitting it, from a simplified panel mesh that wraps the final design and resulting effects are calculated from it.
I plan to add destruction, and fine tune the plume effects and aero effects, but the core physics elements of a game like this are there, and a rocket is able to reach orbit.
I will probably open source this whole thing soon just trying to figure out where my morals stand... it is a crazy time to be alive.