File tmx sẽ được covert sang 2 file :
-
Obj.txt :
-
- Đối với các obj tĩnh
( id >= 4500 && < 5000 )
như land, pillar,.. :idTypeObj - idObj - left - top - right - bottom
- Đối với các obj tĩnh
-
- Đối với các obj game bth
( id >= 4000 && < 4500 )
như apple, enermy,.. :idTypeObj - idObj - x - y - 0 - 0
- Đối với các obj game bth
-
Tile.txt : cắt file ảnh thành từng tile với size = tile map
-
- Lưu từng Tile với định dạnh
idUnit - left - top - right - bottom
- Lưu từng Tile với định dạnh
-
Map.txt : xuất ra ma trận tương tự như csv của tmx 🌈