3
« on: February 16, 2017, 07:49:11 PM »
Hello, guys.
I've been following lazyfoo's SDL2 tutorials and I have in mind to try a little roguelike using SDL2 and C++ (no libtcod yet).
I'm pretty new to all this (even C++), and I wondered what's the best approach to create the grid where every tile of the map is displayed. It's, like, create a shitload of textures in an array? My initial idea is to have a png with all the ascii characters (like libtcod, actually), and then mask the png for each tile, but I'm not sure on how to start.
The idea is also to work later with REXPaint files, because I have some maps drawn there.
Thanks! And sorry if this is a little chaotic and noobish question (many more to follow) :รพ.