LDtkMonogame 0.0.1
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
Additional Details
These are no longer compatible with the latest ldtk version as it introduced a new csv Intgrid format.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package LDtkMonogame --version 0.0.1
NuGet\Install-Package LDtkMonogame -Version 0.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LDtkMonogame" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LDtkMonogame --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LDtkMonogame, 0.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LDtkMonogame as a Cake Addin #addin nuget:?package=LDtkMonogame&version=0.0.1 // Install LDtkMonogame as a Cake Tool #tool nuget:?package=LDtkMonogame&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
For more detailed documentation go here
Sample code
Project projectFile;
override void Initialize()
{
projectFile = new Project(spriteBatch, "PATH TO THE LDTK FILE");
projectFile.Render(0);
base.Initialize();
}
override void Draw(GameTime gameTime)
{
Level level = projectFile.Levels[0];
GraphicsDevice.Clear(level.BgColor);
spriteBatch.Begin(samplerState: SamplerState.PointClamp);
{
for(int i = level.layers.Length - 1; i >= 0; i--)
{
if(activeLayers[i] == true)
{
spriteBatch.Draw(level.layers[i], Vector2.Zero, Color.White);
}
}
}
spriteBatch.End();
base.Draw(gameTime);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- MonoGame.Framework.DesktopGL (>= 3.8.0.1641)
- Newtonsoft.Json (>= 12.0.3)
-
net5.0
- MonoGame.Framework.DesktopGL (>= 3.8.0.1641)
- Newtonsoft.Json (>= 12.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LDtkMonogame:
Package | Downloads |
---|---|
LDtkMonogame.ContentPipeline
LDtk contentpipeline extension for importing .ldtk and .ldtkl files |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.6.0 | 129 | 10/14/2024 | |
1.6.0-beta | 90 | 10/9/2024 | |
1.5.0 | 127 | 9/26/2024 | |
1.5.0-beta | 89 | 9/20/2024 | |
1.4.0 | 144 | 9/9/2024 | |
1.3.3 | 168 | 7/7/2024 | |
1.3.2 | 241 | 5/28/2024 | |
1.3.1 | 117 | 5/26/2024 | |
1.3.0 | 127 | 5/24/2024 | |
1.2.0 | 436 | 1/25/2024 | |
1.1.2 | 712 | 9/8/2023 | |
1.1.1 | 635 | 7/15/2023 | |
1.1.0 | 616 | 6/8/2023 | |
1.0.1 | 938 | 1/15/2023 | |
1.0.0 | 839 | 1/3/2023 | |
0.7.0 | 1,066 | 7/26/2022 | |
0.6.5 | 1,082 | 7/20/2022 | |
0.6.4 | 1,079 | 6/14/2022 | |
0.6.3 | 1,094 | 6/14/2022 | |
0.6.2 | 1,105 | 5/10/2022 | |
0.6.1 | 1,142 | 5/10/2022 | |
0.6.0 | 1,110 | 5/10/2022 | |
0.5.0 | 1,124 | 5/9/2022 | |
0.4.0 | 990 | 12/23/2021 | |
0.3.1 | 886 | 2/27/2021 | |
0.3.0 | 821 | 2/22/2021 | |
0.2.0 | 947 | 2/9/2021 | |
0.1.1 | 981 | 2/1/2021 | |
0.1.0 | 857 | 1/27/2021 | |
0.0.1 | 895 | 1/24/2021 |