Vulkan runtime
Scene rendering, materials, textures, environment lighting, and viewport debugging are built around a native renderer.
Vulkan / C# / Jolt / Editor
A real-time game engine and editor for scene authoring, native rendering, managed gameplay code, physics simulation, animation workflows, UI documents, and asset-driven iteration.
Engine Foundation
KroysEngine keeps rendering, physics, scene state, assets, and serialization in native engine code, while exposing a focused C# surface for gameplay scripts. The result is an editor-centered workflow where technical systems and content authoring stay close together.
Scene rendering, materials, textures, environment lighting, and viewport debugging are built around a native renderer.
Rigid bodies, colliders, ray queries, ragdolls, contacts, and physics debug overlays are part of Play mode.
Hierarchy editing, inspector controls, animation preview, UI documents, and asset workflows share one interface.
C# script instances run against native scene data, with serialized fields exposed directly in the editor.
Workflow
Author scene structure, edit transforms, assign assets, and review runtime state in the editor.
Run Play mode with debug overlays, script logs, ray traces, and active physics feedback.
Use serialized asset references and editor fields to keep gameplay data visible and editable.
C# Scripting
Scripts derive from EntityScript, use the Kroys.EngineScripting
namespace, and interact with entities, transforms, scene spawning, input, timing, logging,
asset references, and physics raycasts.
using Kroys.EngineScripting;
using System.Numerics;
public sealed class Probe : EntityScript
{
protected override void OnUpdate(float dt)
{
Vector3 origin = Transform.Position;
Vector3 forward = Transform.Forward;
if (Physics.Raycast(origin, forward, 20.0f, out RaycastHit hit, true, 1.5f))
{
Debug.Log($"Hit {hit.Entity.Name}");
}
}
}
Documentation
The homepage stays focused on the engine. The scripting API has a dedicated page with navigation, examples, current limits, and copyable snippets.