for tiles or maps i do this... Load a text file
Code: Select all
tileswide 46
tileshigh 44
tilewidth 64
tileheight 64
filename map2.png
layer 0
47,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,49
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,21,21,21,0,0,0,0,0,0,0,0,0,0,0,21,21,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,21,1,2,2,2,2,3,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,21,4,5,5,6,8,16,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,21,4,6,8,12,14,16,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,21,4,12,14,5,5,16,21,35,36,37,21,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,4,5,15,19,19,20,21,38,40,43,21,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,4,5,16,0,0,21,21,44,45,46,21,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,17,18,20,0,0,21,21,21,57,21,21,0,0,0,0,0,0,0,0,0,0,0,0,52
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,31,25,25,22,22,22,22,24,25,28,0,0,0,64,57,57,0,57,58,0,0,0,52
52,0,0,0,0,0,0,0,21,0,0,0,0,21,0,0,0,0,0,0,0,21,21,21,21,21,21,21,21,21,21,21,27,0,0,0,59,0,0,0,0,56,0,0,0,52
52,0,0,0,0,0,0,0,0,0,0,21,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,26,0,0,0,59,0,0,0,0,56,0,0,0,52
52,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,21,21,21,21,0,0,0,0,0,0,0,21,26,0,0,0,59,0,0,0,0,56,0,0,0,52
52,0,0,0,0,0,0,0,21,0,0,21,0,0,0,0,0,0,0,21,21,21,21,21,0,0,0,0,0,0,0,21,26,0,0,0,59,0,0,0,0,56,0,0,0,52
52,0,0,0,0,21,0,21,0,0,0,0,0,21,0,21,0,21,0,21,21,21,21,21,0,0,0,0,0,0,0,21,26,0,0,0,61,62,62,62,62,63,0,0,0,52
52,0,0,0,0,0,0,0,0,0,21,21,0,0,0,0,0,0,0,0,0,21,21,21,0,0,0,0,0,0,0,21,26,0,0,0,0,0,0,0,0,0,0,0,0,50
52,48,48,48,48,48,49,0,0,21,21,21,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,26,0,0,0,0,0,0,0,0,0,0,0,0,50
22,22,22,22,22,28,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,26,0,0,0,0,0,0,0,0,0,0,0,0,50
52,48,48,48,49,27,53,0,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,21,26,21,21,21,0,0,0,0,0,0,0,0,0,50
52,0,0,0,50,31,25,25,25,25,25,22,22,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,21,21,21,21,27,21,21,21,21,21,21,0,0,0,0,0,0,50
52,0,0,0,53,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,23,22,22,22,22,29,21,21,21,21,21,21,21,21,21,21,0,0,50
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,50
52,0,0,0,0,47,54,54,54,54,54,54,54,54,54,54,54,54,49,0,0,0,0,0,0,0,0,27,21,21,21,1,2,2,2,2,2,2,2,2,3,21,21,0,0,50
52,0,0,0,0,50,0,0,0,0,0,0,0,0,0,0,0,0,50,0,0,0,0,0,0,0,0,27,0,21,21,4,5,5,5,5,5,5,5,5,16,21,21,0,0,50
52,0,0,0,0,50,0,47,54,54,54,48,0,48,48,48,49,0,50,0,0,0,0,0,0,0,0,27,0,21,21,4,5,5,5,5,5,5,5,5,16,21,21,0,0,50
52,0,0,0,0,50,0,50,0,54,54,54,54,54,54,51,52,0,50,0,0,0,0,0,0,0,0,27,0,21,21,4,5,5,6,7,7,8,5,5,16,21,21,0,0,50
52,0,0,0,0,50,0,50,0,0,0,0,0,0,0,0,52,0,50,0,0,0,0,0,0,0,0,27,0,21,21,4,5,5,9,10,10,11,5,5,16,21,21,0,0,50
52,0,0,0,0,50,0,50,0,54,54,54,54,54,54,0,52,0,50,0,0,0,0,0,0,0,0,27,0,21,21,4,5,5,9,10,10,11,5,5,16,21,21,0,0,50
52,0,0,0,0,50,0,53,54,54,54,54,54,54,54,54,55,0,50,0,0,0,0,0,0,0,0,27,0,21,21,4,5,5,12,13,13,14,5,5,16,21,21,0,0,50
52,0,0,0,0,50,0,32,0,0,0,0,0,0,0,0,0,0,50,0,0,0,0,0,0,0,0,27,0,21,21,4,5,5,5,5,5,5,5,5,16,21,21,0,0,50
52,0,0,0,0,53,54,54,54,54,54,54,57,54,54,54,54,54,55,0,0,0,0,0,0,0,0,27,21,21,21,4,5,5,5,5,5,5,5,5,16,21,21,0,0,50
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,21,21,21,17,19,19,19,18,19,19,19,19,20,21,21,0,0,50
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,22,22,22,22,22,22,22,29,21,21,21,21,21,21,21,0,0,50
52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,50
53,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,55
The numbers are indexes to which part of the sprite sheet to draw at that tile.