Difference between revisions of "Using TiledLib"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Pro's)
(Install TiledLib)
Line 4: Line 4:
 
# Search online for TiledLib & Install
 
# Search online for TiledLib & Install
 
# In the Game1.cs of your project add: <syntaxhighlight lang=csharp>using TiledLib;</syntaxhighlight>
 
# In the Game1.cs of your project add: <syntaxhighlight lang=csharp>using TiledLib;</syntaxhighlight>
 +
 +
You can also get the source code from the link below, and copy the `.cs` files into the same folder as your `Game1.cs` or in a new folder within this.
  
 
=Pro's=
 
=Pro's=

Revision as of 10:57, 14 February 2024

Install TiledLib

The easiest method is to create your MonoGame project then:

  1. Click on project & select Nuget Package Manager
  2. Search online for TiledLib & Install
  3. In the Game1.cs of your project add:
    using TiledLib;
    

You can also get the source code from the link below, and copy the `.cs` files into the same folder as your `Game1.cs` or in a new folder within this.

Pro's

  • Last update less than a year ago
  • Available as a NuGet package
  • Example of how to draw

Con's

  • Poor readme with little information on how to use

Documentation

https://github.com/Ragath/TiledLib.Net?tab=readme-ov-file