Problem displaying tiles using tiled map loader with SFML
- by user1905192
I've been searching fruitlessly for what I did wrong for the past couple of days and I was wondering if anyone here could help me. My program loads my tile map, but then crashes with an assertion error. The program breaks at this line:
spacing = atoi(tilesetElement-Attribute("spacing"));
Here's my main game.cpp file.
#include "stdafx.h"…