2dog.engine
4.7.1.45
See the version list below for details.
dotnet add package 2dog.engine --version 4.7.1.45
NuGet\Install-Package 2dog.engine -Version 4.7.1.45
<PackageReference Include="2dog.engine" Version="4.7.1.45" />
<PackageVersion Include="2dog.engine" Version="4.7.1.45" />
<PackageReference Include="2dog.engine" />
paket add 2dog.engine --version 4.7.1.45
#r "nuget: 2dog.engine, 4.7.1.45"
#:package 2dog.engine@4.7.1.45
#addin nuget:?package=2dog.engine&version=4.7.1.45
#tool nuget:?package=2dog.engine&version=4.7.1.45
2dog.engine
Embed the Godot engine in your .NET applications.
2dog inverts the traditional Godot architecture: instead of Godot driving your application, you control Godot as an embedded library. This gives you full access to the GodotSharp API from a standard .NET project with familiar tooling.
Quick Start
Add the engine to your project:
dotnet add package 2dog.engine
using twodog;
using var engine = new Engine("MyGodotApp", "./project");
using var godot = engine.Start();
while (!godot.Iteration())
{
// Your code runs here every frame
}
To scaffold a complete new project (or convert an existing Godot project), use the 2dog tool/template package instead:
dotnet new install 2dog
dotnet new 2dog -n MyGodotApp
What's Included
- twodog.dll - Engine API for embedding Godot
- GodotSharp.dll - Full Godot C# API bindings
- Godot.SourceGenerators - Roslyn source generators for Godot node types
- GodotPlugins - Runtime plugin loader
- Automatic asset import - an incremental MSBuild step imports your Godot project (
.uidfiles, textures, script UID cache) during build; no Godot editor installation needed
Platform-specific native libraries are provided by transitive dependencies (2dog.win-x64, 2dog.linux-x64, 2dog.osx-arm64); the GodotTools assemblies used by the automatic import come from 2dog.tools.
Documentation
| 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
- 2dog.linux-x64 (= 4.7.1.17)
- 2dog.osx-arm64 (= 4.7.1.17)
- 2dog.tools (= 4.7.1.17)
- 2dog.win-x64 (= 4.7.1.17)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on 2dog.engine:
| Package | Downloads |
|---|---|
|
2dog.xunit
xUnit collection definitions for testing Godot applications with twodog. The collections are compiled into your test assembly so xUnit discovers them correctly; the GodotFixture/GodotHeadlessFixture they bind come from the 2dog.engine package. |
GitHub repositories
This package is not used by any popular GitHub repositories.