OSK.Petra.Godot.Framework.Build
0.1.1
dotnet add package OSK.Petra.Godot.Framework.Build --version 0.1.1
NuGet\Install-Package OSK.Petra.Godot.Framework.Build -Version 0.1.1
<PackageReference Include="OSK.Petra.Godot.Framework.Build" Version="0.1.1" />
<PackageVersion Include="OSK.Petra.Godot.Framework.Build" Version="0.1.1" />
<PackageReference Include="OSK.Petra.Godot.Framework.Build" />
paket add OSK.Petra.Godot.Framework.Build --version 0.1.1
#r "nuget: OSK.Petra.Godot.Framework.Build, 0.1.1"
#:package OSK.Petra.Godot.Framework.Build@0.1.1
#addin nuget:?package=OSK.Petra.Godot.Framework.Build&version=0.1.1
#tool nuget:?package=OSK.Petra.Godot.Framework.Build&version=0.1.1
OSK.Petra.Godot.Framework
OSK.Petra.Godot.Framework.Build
Provides a build target file that will inject code into Godot projects for use with the Godot inspector and other engine functions. This utilizes a shared directory path for all petra related godot projects to help maintain a clean project space for godot applications.
A .targets file should be added to any Petra godot project expecting to be injected via the build process:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="Exists('$(ProjectDir)project.godot')">
<PetraPackages Include="$(MSBuildThisFileName)" />
<PetraGodotFiles Include="$(MSBuildThisFileDirectory)..\godot\**\*.*">
<DestFolder>$(ProjectDir)PetraFramework\$(MSBuildThisFileName)\</DestFolder>
</PetraGodotFiles>
</ItemGroup>
</Project>
The build target will utilize any package added to a Godot application to inject the needed code for Godot functionality.
Petra Framework Details
Due to Godot's requirement of needing the node, resource, and other godot specific types to physically exist within the res:// filesystem in order for Godot to register them within its inspector,
Petra Godot's framework implementation utilizes a common, dedicated PetraFramework directory:
your-project/
└── PetraFramework/
└── OSK.Petra.Godot.Provisions/
├── Data/
└── Scripts/
└── ... // Other petra projects
To ensure the Petra framework and suite works with your project, please note the following:
- Do Not Modify Injected Files: The files inside the PetraFramework directory are completely transient. Any manual edits, refactors, or changes you make will be overwritten during the next project build.
- The petra system is setup to pull in transitive dependencies automatically: installing Package B and building should pull in Package A and its related Godot specific assets. If you encounter issues with this, please file a bug on the repository.
- GitIgnore Recommended: The Petra Godot implementation automatically injects a dedicated directory alongside your codebase during builds. To keep your source control true to your codebase, add the folder to your
.gitignorefile, as an example:**/PetraFramework/
Removal & Cleanup
As long as the Petra framework's build package is added, the build process should modify and cleanup the PetraFramework directory as packages are removed or added - automatically.
However, if you are wanting to remove the framework entirely from your project, be sure to delete the the PetraFramework directory after removing all the packages from your project, as no build process from Petra will be available to clean it up.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on OSK.Petra.Godot.Framework.Build:
| Package | Downloads |
|---|---|
|
OSK.Petra.Godot.Primitives
Includes types and data objects for Godot that other Petra libraries are likely to use and to easily configure these within the Godot inspector |
|
|
OSK.Petra.Godot.Inputs
Provides an implementation for OSK.Inputs to receive and process game input in the Godot game engine. Utilizes .NET dependency injection for input processing |
GitHub repositories
This package is not used by any popular GitHub repositories.