Questions tagged [tmx]

TMX (Tile Map XML) is the file format produced by the Tiled Map Editor.

The TMX (Tile Map XML) map format used by Tiled is a flexible way to describe a tile based map. It can describe maps with any tile size, any amount of layers, any number of tile sets and it allows custom properties to be set on most elements. Beside tile layers, it can also contain groups of objects that can be placed freely.

ScreenShot

The Tiled Map Editor is available at mapeditor.org. It is free software, written in C++, that uses the Qt application framework. The main features include:

  • General purpose tile map editor with XML-based map format
  • Supports orthogonal and isometric maps Custom objects can be placed with pixel precision
  • Full undo/redo and copy/paste support
  • Add custom properties to tiles, layers, objects or the map
  • Automatically reloads tilesets when changed externally
  • Resize or offset tile map later as needed
  • Efficient tile editing tools like stamp and fill brushes
  • Supports input/output plugins to open and save files in custom formats
159 questions
0
votes
0 answers

Error using tmx with pygame

I'm trying to follow a tutorial/lecture on use of the module pygame in Python, http://www.youtube.com/watch?v=mTmJfWdZzbo. I also have all the files referenced in the video, here…
Bendik
  • 1,097
  • 1
  • 8
  • 27
0
votes
1 answer

Cocos2dX endless map

i'm a newbie with cocos2dx, i'm trying to create a game using tilemaps with cocos2dx and tiled (.tmx), I don't know what if it's the good way to go, but I want to create an endless map, a game when you can run and run for ever if you want. I was…
caraie
  • 1,094
  • 7
  • 18
0
votes
1 answer

using a default language in TMX

I've created an application that should be partially translated into different languages. Currently I have a TMX file containing 2 languages (English and Dutch). It was set-up like this in the bootstrap file: protected function _initTranslation(){ …
gadeynebram
  • 725
  • 2
  • 6
  • 22
0
votes
1 answer

I need to merge corresponding language pairs from two separate TMX files, can anyone suggest the most straighforward approach?

Sample file 1: 0, 0 Kit de aislamiento del ARN de tejido fijado en formol e…
0
votes
1 answer

overlapping tiles in staggered tmx are not visible in cocos2d

I used tiled to make a TMX in staggered type. but when i run my code using this TMX the output in simulator is, overlapping tiles are not visible. PLEASE HELP ME code i used in cocos2d is CCTMXTiledMap *_tileMap = [CCTMXTiledMap…
0
votes
1 answer

Adding collision to .tmx

i recently downloaded "Tiled Map Editor" - because i heard it was a great tool for making maps. I also got a .tmx "compiler", well, something that made the .tmx usable in XNA. I've created a map and imported it and it worked fine, but now the tricky…
QuackTheDuck
  • 75
  • 1
  • 2
  • 8
0
votes
1 answer

Get what cell is tapped/clicked on tmx maps

So I have a map which I have gotten the cells from and stored in a cell 2d array Cells[][] cells; My question is if I click one of the cells on the map, how do I get the cell that was clicked (X,Y).
Exikle
  • 1,155
  • 2
  • 18
  • 42
0
votes
1 answer

How to load .TMX file in Cocos2d Android using cocos2d-android.jar

This is my First question and I searched thoroughly in SO to find the solution of my problem. But I dint get it. I am developing a demo game in Android using cocos2d-android.jar (Cococs2d not Cocos2d-x). Following is my java code to load the TMX…
0
votes
1 answer

Inflating TMX Data using Base64 & Zlib - C++

I have searched the web for an way to convert the TMX Data into some sort of usable data but I cannot seem to use Zlib to inflate the data I get back from a Base64 Decode function. I'm unaware if that's how it works, but from what I looked around…
John
  • 107
  • 2
  • 11
0
votes
1 answer

converting a tmx file to *anything*

I have a tmx file with multiple languages defined for each term, and I can't find any way to convert it into individual anything -- gettext, php arrays, anything. My translation service does not let me download it in other formats (other than one…
Dylan
  • 17
  • 6
0
votes
1 answer

XTiled in MonoGame - import TMX maps in MonoGame

I have created TMX map in Tiled map editor and I use XTiled to load the map in MonoGame. In xna project the maps loads perfeclty, but in MonoGame can't. I build the .tmx file with xna project(in the content project) than build in my monogame project…
Mr D-Code
  • 161
  • 2
  • 9
0
votes
1 answer

LibGDX TiledMap doesn't render

I've started to move over from slick2d to Libgdx, and I'm trying to get .tmx files to work with libgdx. I followed the TileMap tutorials on the libgdx wiki but I can't seem to get my .tmx file to render. When I run it I get no errors, my other…
Ictoancb
  • 11
  • 2
0
votes
2 answers

Cocos2d-x: Crash when initiating TMXTiledMap from string

I'm having problems creating a tmx map from string input. bool LevelManager::initLevel(int currentLevel) { const char* map; try { map = LevelManager::getLevel(currentLevel); } catch (int) { throw 1; } if(map !=…
Jimmy
  • 212
  • 1
  • 11
0
votes
3 answers

CCTMXTileMap works on simulator but not on device

I have a TMX Tile Map which I use for the background of an app I am making which uses cocos2d. When I use the Simulator, everything runs perfectly. However, if I use the device, everything goes wrong. On launch, it starts out with the loading screen…
Jeeter
  • 5,887
  • 6
  • 44
  • 67
0
votes
1 answer

AndEngine TXMLLoader null pointer exception

I am trying to load a tmx file in andengine. I have copied the example from AndEngine examples and created a new tmx file which i am loading. But I am getting NullPointerException on line tmxLoader.loadFromAsset("tmx/test.tmx"); . the test.tmx file…
Khawar Raza
  • 15,870
  • 24
  • 70
  • 127
1 2 3
10
11