I am making a tile-based game. I want to create a struct for the data from the level file. I have this:
int TEX; // Holds texture ID
int *DIM; // Holds number of x, y tiles
how would I create a loop and use sscanf(); to extract the amount of x, y tiles. And then, get the numbers on each tile. For example:
Any help is appreciated!