mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-08 19:06:04 +03:00
Add documentation Raylib example project and link from official docs
This commit is contained in:
parent
57b903bea1
commit
5703b4a2a7
4 changed files with 127 additions and 1 deletions
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue