The first thing I wanted to do was correct the collision detection but I came to the conclusion pretty fast that it would be better if I had the possibility to debug some things in real time. Can't be that hard, can it?
So I look into SDL and it seems like there are some functions that load and render fonts but what's not immediately obvious is, it's not the work of SDL. It needs the additionalz librariez called
SDL_tffz (without the 'z' in the end). So I installed hopefully the right one and after some jiggling with some folders and link parameters it works.
Next problem was that the std::to_string() function couldn't be found. After a bit of googling, I found out that some mingw distributions have include files that are missing some functions and I had to download a patch. After I installed the patch and it still didn't work, I found out that I had to turn on a compiler switch to use a newer C++ standard, so I probably didn't need the patch at all.
 |
| Behold the letterz! |
Too much time wasted.