You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tmxlite/SDL2Example
Java 5d8735ac3f
Update MapLayer.cpp Fix u v
idIndex / tileCountY should be idIndex / tileCountX.
This should fix tilesets that don't have the same rows as columns.
1 month ago
..
assets add boilerplate for SDL2 example 1 year ago
cmake/modules fix up CMake files 1 year ago
src Update MapLayer.cpp Fix u v 1 month ago
CMakeLists.txt fix up CMake files 1 year ago
SDL2Example.vcxproj implement basic tile layer rendering in SDL example 1 year ago
SDL2Example.vcxproj.filters update SDL2 example boilerplate with texture loading and vertex array creation 1 year ago
readme.md update SDL2 example boilerplate with texture loading and vertex array creation 1 year ago

readme.md

SDL2 Example

Test program demonstrating how one may possibly implement an orthogonal map renderer using SDL2.

Note that this example provides very basic rendering, and does not support all the features supported by tmxlite, such as tile flipping/rotation or tilesets which are created as a collection of images.

It also uses C++ rather than plain C.