Super 1.2.1
dotnet add package Super --version 1.2.1
NuGet\Install-Package Super -Version 1.2.1
<PackageReference Include="Super" Version="1.2.1" />
<PackageVersion Include="Super" Version="1.2.1" />
<PackageReference Include="Super" />
paket add Super --version 1.2.1
#r "nuget: Super, 1.2.1"
#:package Super@1.2.1
#addin nuget:?package=Super&version=1.2.1
#tool nuget:?package=Super&version=1.2.1
Super
A modern C# game engine you use as a library, with a 3D renderer built in. Super is made so a coding agent can build, run, test and see a game with no editor and no person at the mouse.
using System.Numerics;
using Super;
Game.StartWindowsGameLoop<Spinner>(new GameOptions { Title = "Spinner" });
class Spinner : IGame
{
float angle;
public void Update(GameTime time) => angle += time.TickSeconds;
public void Draw(View view)
{
view.Camera(position: new Vector3(0, 2, 5), lookAt: Vector3.Zero);
view.Sun(direction: new Vector3(1, 2, 1), color: new Vector3(3f));
view.Model(key: 1, ModelRef.Cube, Matrix4x4.CreateRotationY(angle));
}
}
Start a game
You need Windows, a GPU with Vulkan 1.3 and the .NET 10 SDK.
dotnet new console -n MyGame
cd MyGame
dotnet add package Super
dotnet run -c Release
Put the code above in Program.cs. This one package holds the engine, the Rendition
renderer, the ECS, physics and the test helpers.
A content folder beside the project is cooked by dotnet build, with no extra setup.
Shaders in a Shaders folder are compiled too, which needs the Vulkan SDK
(winget install KhronosGroup.VulkanSDK).
Every game has the same command line, so you can see it without a person at the mouse:
dotnet run -c Release -- --seed 42 --ticks 600 --screenshot shot.png
Documentation
The documentation starts with Getting started. Super is early and changes often.
Super is under the MIT license. CREDITS.md in this package lists the third-party
libraries and fonts it includes.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- BCnEncoder.Net (>= 2.3.0)
- JoltPhysicsSharp (>= 2.23.0)
- Microsoft.CodeAnalysis.CSharp (>= 5.0.0)
- Microsoft.Diagnostics.NETCore.Client (>= 0.2.750501)
- Microsoft.Diagnostics.Tracing.TraceEvent (>= 4.0.0)
- Microsoft.Extensions.DependencyInjection (>= 10.0.8)
- NLayer (>= 3.0.0)
- NVorbis (>= 0.10.5)
- Silk.NET.GLFW (>= 2.23.0)
- Silk.NET.OpenAL (>= 2.23.0)
- Silk.NET.OpenAL.Soft.Native (>= 1.23.1)
- Silk.NET.Vulkan (>= 2.23.0)
- Silk.NET.Vulkan.Extensions.EXT (>= 2.23.0)
- Silk.NET.Vulkan.Extensions.KHR (>= 2.23.0)
- StbImageSharp (>= 2.30.16)
- StbTrueTypeSharp (>= 1.26.13)
- System.IO.Hashing (>= 10.0.8)
- xunit.extensibility.core (>= 2.9.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.