{"repo":"Madour/LDtkLoader","free":true,"listed":false,"github":"https://github.com/Madour/LDtkLoader","clone":"git clone https://github.com/Madour/LDtkLoader.git","description":"A C++11 loader for levels and tile maps created with LDtk (Level Designer ToolKit)","language":"C++","stars":138,"topics":["ldtk","game-development","2d-game-development","sfml","sdl","cpp11","hacktoberfest"],"license":null,"category":"game-templates","readme_excerpt":"LDtk Loader LDtkLoader is a loader for LDtk levels and tile maps. Use it to load and get data from LDtk projects in your game. Supports the entire .ldtk format (including external levels). For loading older versions, see the Releases page. Sample code A taste of simplicity : Build Should work with any C++11 compiler. You can select Debug or Release mode when building. This will compile the static library named LDtkLoader in build/lib. When built in Debug configuration, the library name has the suffix '-d'. Additional CMake options : - -DLDTK NO THROW : to print message and exit when there is an error instead of throwing exceptions - -DLDTK BUILD API TEST : to build the API test example, to make sure the library works as expected - -DLDTK BUILD SFML EXAMPLE=ON : to build the SFML example (requires SFML installed) - -DLDTK BUILD SDL EXAMPLE=ON : to build the SDL example (requires SDL2 and SDL2 image installed) - -DLDTK BUILD RAYLIB EXAMPLE=ON : to build the raylib example (requires raylib installed) Advanced CMake options (use if you know what you are doing): - LDTK FIELD PUBLIC OPTIONAL=ON : to enable the full optional interface for the ldtk::Field structure. Install In the build directory, run : This will copy the libraries, the headers and the cmake config files to the install path. How to use LDtkLoader in your project After installation, to use LDtkLoader in a CMake project, use the find package command: The find package command will automatically get the correct library (","default_branch":null,"files":null,"tree":[],"storefront":"/r/Madour","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Madour/LDtkLoader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}