dgtk 1.11.0
dotnet add package dgtk --version 1.11.0
NuGet\Install-Package dgtk -Version 1.11.0
<PackageReference Include="dgtk" Version="1.11.0" />
<PackageVersion Include="dgtk" Version="1.11.0" />
<PackageReference Include="dgtk" />
paket add dgtk --version 1.11.0
#r "nuget: dgtk, 1.11.0"
#:package dgtk@1.11.0
#addin nuget:?package=dgtk&version=1.11.0
#tool nuget:?package=dgtk&version=1.11.0
Dark Gear Tool Kit (dgtk)
Dark Gear Tool Kit (dgtk) is a C# library developed for the DarkGear Game Engine, with support for:
- OpenGL and OpenGL|ES
- OpenAL (audio)
- Input devices
It is designed to be cross-platform (Windows & Linux) and run on both x64 and ARM64 architectures.
đĻ Installation via NuGet
You can add the library directly from NuGet:
dotnet add package dgtk
This will automatically pull the latest version.
âī¸ Manual Build
If you prefer to build from source:
Windows
dotnet publish DarkGearToolKit.sln --runtime win-x64 -c Release -p:PublishTrimmed=true --self-contained true
Linux
dotnet publish DarkGearToolKit.sln --runtime linux-x64 -c Release -p:PublishTrimmed=true --self-contained true
Use Debug instead of Release for debugging builds.
đ Requirements
- To build: .NET 8 SDK
- To run:
- OpenAL Soft (soft_oal.dll on Windows, libopenal.so.1 on Linux)
âšī¸ Note: We include a copy of OpenAL Soft for convenience, but we recommend using the latest version from its official repository
â ī¸ Important:
Do not rename soft_oal.dll on Windows.
Do not rename libopenal.so.1 on Linux.
đ Basic Usage Example
using dgtk;
class Program
{
static void Main()
{
var window = new dgtk_Window(800, 600, "Hello dgtk!");
window.Run();
}
}
đ License
This project is licensed under LGPL.
It includes OpenAL Soft, which is licensed under LGPL:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- SkiaSharp (>= 3.119.0)
- SkiaSharp.NativeAssets.Linux (>= 3.119.0)
- System.Drawing.Common (>= 9.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Release from GitHub