Add documentation Raylib example project and link from official docs

This commit is contained in:
Daniel Cronqvist 2025-04-24 21:07:29 +02:00
parent 57b903bea1
commit 5703b4a2a7
4 changed files with 127 additions and 1 deletions

View file

@ -66,4 +66,8 @@ var map = loader.LoadMap("path/to/map.tmx");
var chest = map.GetProperty<CustomClassProperty>("chest").Value;
var coinsToSpawn = chest.GetProperty<IntProperty>("coins").Value;
```
```
## Examples
See the [DotTiled.Examples](https://github.com/dcronqvist/DotTiled/tree/master/src/DotTiled.Examples) directory for more in-depth examples of how to use DotTiled. The [DotTiled.Example.Raylib](https://github.com/dcronqvist/DotTiled/tree/master/src/DotTiled.Examples/DotTiled.Example.Raylib) example is a good starting point for using DotTiled with Raylib or any similar library/framework. It demonstrates how to load and render a Tiled map, handle player movement, and perform collision detection.