Skip to content

sjoerdev/concrete

Repository files navigation

Modern C# game engine with a Unity like api and structure.

lines stars version license

Features

  • unity inspired structure
  • component based architecture
  • powerful imgui based editor
  • lightweight opengl renderer
  • skinned mesh rendering
  • complete gltf support

Scripting

var scene = new Scene();
LoadScene(scene);

var cameraObject = scene.AddGameObject();
cameraObject.AddComponent<Camera>();
cameraObject.name = "Main Camera";

var lightObject = scene.AddGameObject();
lightObject.AddComponent<DirectionalLight>();
lightObject.transform.localEulerAngles = new Vector3(20, 135, 0);
lightObject.name = "Directional Light";

Editor

editor

Usage Requirements:

Building:

Download .NET 9: https://dotnet.microsoft.com/en-us/download

Building for Windows:

dotnet publish ./Engine/Editor/Editor.csproj -o ./Build/Windows -r win-x64 -c release --sc true

Building for Linux:

dotnet publish ./Engine/Editor/Editor.csproj -o ./Build/Linux -r linux-x64 -c release --sc true