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
2
votes
1 answer

Libgdx getProperties().get("value") give me strange response

I have a strange response with getProperties().get("value"). You can see below my tmx file and values provided by my program.
Furby
  • 23
  • 3
2
votes
0 answers

Why Player not shown with TMX File in AndEngine?

I'm developing a 2d platformer game with AndEngine GLES2-AnchorCenter...I've 6 levels that any level has a Tmx File(Tiled)...I can load TMX file but Player not shown in screen...I want to player be on first platform and then jumps on another…
Mary
  • 487
  • 4
  • 18
2
votes
1 answer

How do I load a TMX Map from my Documents Directory?

I'm downloading the TMX map and the Tileset from my server, and saving them into the iOS apps documents directory: - (void)downloadMap:(void (^)(NSURL *filePath))callback; { NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration…
Ethan Mick
  • 9,517
  • 14
  • 58
  • 74
2
votes
0 answers

LibGDX rendering section of tiled map

I am trying to make a tile based game in LibGDX and I have run into some problem. In earlier versions of LibGDX you were able to draw a certain section of a .tmx map instead of a whole and even a section of a layer. Even though , in the nightly…
Suneku
  • 35
  • 6
2
votes
2 answers

Import TMX maps in MonoGame

I would appreciate if someone could tell me the steps to load the TMX map in Monogame for Windows Phone 8 or provide me with some tutorials to do this. Thanks in advance.
Mr D-Code
  • 161
  • 2
  • 9
2
votes
1 answer

Altering tmx tiles in andengine

I have been using this technique to alter tiles in our game, but I have been noticing quite a large loss in performance when many tiles are changed at once. I am using that technique to animate tiles on the TMX map. I was wondering if anyone else…
eBehbahani
  • 1,579
  • 5
  • 19
  • 41
2
votes
2 answers

Use TMX file with AndEngine

I have an isometric .TMX file created with "Tiled", I'm using AndEngine GLES1. I want to use it as a background or map. I also want to have my "players" movement tied to the tiles if possible. I know that there are some questions dealing with this,…
AspiretoCode
  • 212
  • 3
  • 10
2
votes
1 answer

Game entity type allocation

I am migrating a tile based 2D game to C++, because I am really not a fan of Java (some features are nice, but I just can't get used to it). I am using TMX tiled maps. This question is concerning how to translate the object definitions into actual…
Caleb Stewart
  • 643
  • 6
  • 21
1
vote
1 answer

SneakyInput, orthogonal tilemaps, collisions detection, & cocos-2d

Couldn't really find much help anywhere on this subject-- I'm stuck trying to figure out how to implement a virtual D-Pad on an orthogonal tilemap to simulate movement as seen in the GBA pokemon/zelda games. Does anyone have a good tutorial i…
Jordan Brown
  • 638
  • 1
  • 5
  • 14
1
vote
2 answers

cocos2d-android (github version) How do I keep a 'player' sprite centered on the screen while moving the background layer?

I am in the process of learning cocos2d-android. I have been following a tutorial that ported some of Ray Wenderlich's iOS tutorials to Android. I have the first tutorials finished and wanted to continue on by converting the next Ray Wenderlich…
MySkippy
  • 21
  • 5
1
vote
1 answer

Using external XML document to localize XSLT output

I have an XSLT stylesheet that transforms the XML data into XSL-FO (which is then rendered as a PDF using Apache FOP). Now, I would need to localize the output to a couple of different languages. For instance, column headers for the tables produced…
Rolf
  • 2,178
  • 4
  • 18
  • 29
1
vote
2 answers

Loading a tmx file with import pytmx in python

I have made a map in the tiled editor and intend to use it in a game using pygame. I imported pytmx to help with this process but when I use load_pygame("directory of file") it give out this error Traceback (most recent call last): File "D:\Coder…
1
vote
1 answer

Applying texture to array of sprites(C++, SFML, tmxlite)

I'm having some difficulty applying a texture to a sprite array. I'm trying to apply the same texture to all, so that I can later setTextRect to decide which part of the texture is used as a tile in my game. The declaration of the sprite array is in…
theWEANS
  • 29
  • 5
1
vote
2 answers

AndEngine Error after loading map: Invalid Index (onUpdate) FATAL EXCEPTION: UpdateThread

I been working with AndEngine and got the maps the test maps to load correctly, yet when i try to load the map i created with the same textures the map loads but then i get a AndroidRuntime error 09-03 18:13:23.416: ERROR/AndroidRuntime(272): FATAL…
Xitcod13
  • 5,949
  • 9
  • 40
  • 81
1
vote
1 answer

how to use pytmx and make Rects

i'm trying to get this pytmx work for a few days, but i just can't seem to get how to go on about it, all i want is to load all the layers and make a few layers to be Rects here, i'm just trying to make it blit on the screen, but that isn't working…
Tomoe
  • 21
  • 4
1
2
3
10 11