E
E
Ensiouel2019-05-01 07:42:20
Game development
Ensiouel, 2019-05-01 07:42:20

What is the best way to draw a tile map?

In an editor, for example, TIled, when you export a map, you get a file with a map, its length, height, and the tile array itself in one line, and the question arises, how is it better to draw, or is it better to create a two-dimensional array and put tiles in it so
{1,2,3,4,5,6,7,8,9}
that instead of

{
{1,2,3},
{4,5,6},
{7,8,9} 
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question