Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[QUESTION] numbers in map
#1
I wonder, what these numbers mean ?
I found them inside a map (text file) created with tilemap editor :

Code:
wall.png
2 3
0 255 0 255
1 0 0 1 0 0
32 24
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
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 3 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 3 1
Reply
#2
Hi, I think I can answer:

wall.png - image file containing the tiles
2 3 - cells across and down in the image file - this one has 6 tiles
0 255 0 255 - 255 0 255 is the colorkey of the image. The first number is 0 if colorkey has not been set, 1 if it has.  255 0 255 is the default                        colorkey
1 0 0 1 0 0 - collision handling of each tile. 0 is no collision, 1 is full collision, 2 is collision from above only.
32 24        - map is 32 tiles across by 24 tiles down
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  - these are the tiles set for each square in the map.

Hope this helps - Kevin
Reply
#3
(09-24-2025, 10:55 AM)kevin Wrote: Hi, I think I can answer:

wall.png - image file containing the tiles
2 3 - cells across and down in the image file - this one has 6 tiles
....

Thank you 
Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)