Super 2.0.1
See the version list below for details.
dotnet add package Super --version 2.0.1
NuGet\Install-Package Super -Version 2.0.1
<PackageReference Include="Super" Version="2.0.1" />
<PackageVersion Include="Super" Version="2.0.1" />
<PackageReference Include="Super" />
paket add Super --version 2.0.1
#r "nuget: Super, 2.0.1"
#:package Super@2.0.1
#addin nuget:?package=Super&version=2.0.1
#tool nuget:?package=Super&version=2.0.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.Run<Spinner>(new GameOptions { Title = "Spinner" });
class Spinner(World world) : IGame
{
Entity cube;
public void Load()
{
world.Spawn(new Camera(Position: new Vector3(0, 2, 5), Target: Vector3.Zero));
world.Spawn(new Sun(Direction: new Vector3(1, 2, 1), Color: new Vector3(3f)));
cube = world.Spawn(new Model(ModelRef.Cube));
}
public void Update(GameTime time)
{
ref var transform = ref world.Get<Transform>(cube);
transform.Rotation *= Quaternion.CreateFromAxisAngle(Vector3.UnitY, time.TickSeconds);
}
}
Start a game
You need Windows and a GPU with Vulkan 1.3, or a Mac with Apple silicon, 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), or on a Mac brew install shaderc.
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.26.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.