A GAME ENGINE BY SOHAM ANAND

I'm building
a game engine.

BlueSky is my C# and .NET project. It includes an editor, graphics and physics systems, vehicle simulation, and a few experiments. Some parts work; others are still in progress.

C# / .NET 8 3 graphics backends, all in progress
FIG. 01BLUESKY ENGINE SYSTEMS
BlueSky Engine system map A glowing blue engine core connected to rendering, physics, and tools. RENDER PHYSICS TOOLS SIMULATION
RENDER / SIMULATE / CREATEBS—001
37° 46' 49.3" N PROJECT / C# .NET 8
BUILT BY SOHAM / UPDATED AS I GO WHAT'S IN THE ENGINE

01 / WHY I'M BUILDING IT

A LOT TO FIGURE OUT

I wanted to know
how engines work.

So I started building one. BlueSky brings together the editor, rendering, physics, and scripting code I’ve been working on in C#.

It’s not finished, and I don’t want to pretend it is. The engine page shows what’s implemented, what’s partial, and what’s still planned.

More about the project

02 / WHAT I'M WORKING ON

A quick look at the engine.

These systems are at different stages. I’ve marked them based on the project README.

01IN PROGRESS

BSR / BLUE SKY RENDERING

Rendering

I'm working on Metal, Vulkan, and DirectX 11 backends. They’re partial, and each has limitations.

Explore rendering
02IMPLEMENTED

AIRBORNE / JOLT INTEGRATION

Physics

The README lists rigid bodies, terrain collision, raycasts, and four-wheel vehicle physics as implemented.

See vehicle physics
03IMPLEMENTED

TEASCRIPT / GAMEPLAY

TeaScript

I made a small scripting language with hot reload and bindings to some engine features.

See the details
04EDITOR TOOLS

THE BLUE SKY EDITOR

The editor

It has a 3D viewport, docking panels, a content browser, terrain sculpting, and play-in-editor.

See the editor

iThese labels come from the project README. Check the repository for the latest changes.

03 / RAY-TRACING EXPERIMENT

PROJECT POLARIS

Trying ray tracing
on the CPU.

Polaris is my CPU ray-tracing experiment. It uses a bounding-volume hierarchy (BVH) and AVX SIMD to speed up ray traversal.

It also has checkerboard rendering and temporal accumulation. It’s experimental and isn’t used by the regular editor/runtime renderer. Performance numbers in the README are reported, not reproduced benchmarks.

More about Polaris
AIRBORNE / VEHICLE PHYSICS4 × CONTACT PATCH

04 / VEHICLE PHYSICS

AIRBORNE · JOLT

Getting cars
to feel right.

I’ve been working on four-wheel suspension and tire forces with Jolt Physics. The README marks the vehicle physics as implemented.

  • 01
    Independent suspensionFour-wheel setup
  • 02
    Tire force modelSlip ratio and slip angle
  • 03
    Wheel bone bindingFR / FL / RR / RL

The skeletal vehicle export workflow is still incomplete. The vehicle page has the example setup and current caveats.

See the vehicle setup

05 / WORKING IN THE EDITOR

How the pieces fit together.

This is the workflow described in the README. Some parts are still changing.

01

Export a model

Use the Blender Ease add-on to export a static mesh as a StrataPack.

02

Set up a scene

Add objects, adjust materials, or try the terrain tools in the editor.

03

Add a script

Use TeaScript to try out gameplay code and engine bindings.

04

Run the scene

Use play-in-editor to test it without leaving the editor.

The current mesh workflow uses Blender Ease and StrataPack. Check the README for details.

06 / WANT TO TRY IT?

.NET 8+

Start with
the README.

The README has the prerequisites and build commands. Check it before you start; setup can differ between platforms.

GETTING STARTED / TERMINAL●
# Build from the repository root
$ dotnet build ./BlueSkyEngine/BlueSkyEngine.csproj

# Run the engine test suites
$ dotnet run --project ./BlueSkyEngine/BlueSkyEngine.csproj -- --test

# Launch the editor (Linux / macOS)
$ ./launch-bluesky.sh

Commands from the project README. Check the repository for current platform requirements.

THAT'S BLUESKY SO FAR

There’s more in
the repository.

Open the source