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

Getting the computer to know when a sprite walks over a specific tile in a tmx map

I have a Circle shape that is going to represent the character I will play and control. I have a tmx map, and in the map there are red squares that are meant to represent "fences". The fences are in each corner of the map, inside the fences I have…
Luis Torres
  • 39
  • 1
  • 8
0
votes
1 answer

create a Sprite list from a tmx map (TiledMap) in LibGdx

After many search on the internet I cannot find the answer .. What is the situation ? I'm a student in computer science at university (in belgium) and i have to make a tower defense in Java with the graphic library LibGdx. What is the problem ? In…
0
votes
0 answers

How to remove tile proper way in tilemap

I use assetmanager to load tmx, Some collectable object such as coin, need to be removed when hero touch it. So I destroy like this object.setCell(x, y, null); But when I restart the level game, those collectable coin doesn't appear because the…
Nino Frenn
  • 61
  • 1
  • 9
0
votes
1 answer

Error Parsing TMX file with Swift 2.1.1

Before converting my Xcode project to Swift 2 I had the following function that I was using to parse my TMX level files. It provided a variable attributeDict to use within the function. func parser(parser: NSXMLParser, didStartElement elementName:…
0
votes
0 answers

Using Tiled .tmx files in Visual Studio 2010

I've downloaded Griddy2D but can't seem to figure out how to use it. If possible, a step-by-step walkthrough on how to take a .tmx and load it into XNA would be ideal.
0
votes
1 answer

Couldn't load tmx

I'm using libgdx in my 2D platformer game project for college task. For now I'm confused with loading tiledmap in libgdx. I have a big tmx map with size of 11400x1500 pixels and 30x30 tile size. Also an image with same pixel size which I load it in…
pras
  • 97
  • 1
  • 14
0
votes
1 answer

Libgdx TiledMap renders partial tiles

I am having issues with Tiled and Libgdx. I am making a scroll platform game and I am trying to make 1 (for now) background that will repeat itself. The main map in Tiled is composed of various images stacked one next to the other, once I fill all…
Benjamin Vison
  • 469
  • 9
  • 20
0
votes
2 answers

LibGDX importing TMX files

Ive been learning to code games in java and libgdx. My most hated part of any language Ive attempted is the Level Editor (.TMX , tiled) parsing. The Github for libgdx says there is a helpful class made for this which Ive been trying to follow the…
I_Keep_Trying
  • 395
  • 3
  • 17
0
votes
1 answer

Cocos2d/Box2d. How to generate a physics body from a tilemap .tmx?

I am new to game development. What I'm trying to do is load the .tmx tilemap I've created from Tiled to my game as a physics body(ies), I'm using C++ and Boxd2. My tilemaps show only the tiles I want to be collideable, like the floor and some…
Lucas Oliveira
  • 163
  • 1
  • 3
  • 15
0
votes
1 answer

Error building TMXParser using CMake

I'm trying to build this on Visual Studio 2013. I set the include and library paths for ZLIB and TINYXML2 and generated the projects using cmake. When I try to build it, I get these errors: 1>------ Build started: Project: tmxparser, Configuration:…
MysticSheik
  • 53
  • 1
  • 8
0
votes
2 answers

loading TiledMap into stage class ,libgdx

Im trying to loading a tmx map into stage class but when i run my game the screen dont show nothing about the map,only print the character, i think the problem is the camera but dont know how solve it: Abstract Screen: public abstract class…
0
votes
1 answer

How to make mystery box like in mario games in Tiled map Editor?

I'am making simple platformer (C++, Tiled). But dont't understand how to implement mystery box. It must be an object or tile? If it better to be tile, then how animate tiles in tmx map.
JustOneMan
  • 231
  • 1
  • 9
  • 34
0
votes
2 answers

Searching tmx lib can export/save map

I search a lib who can export/save map in tmx format with python3. I found: PyTMX but, doc says: Finally, there is no save feature. Once the map is loaded, it will be up to you to provide a way to save changes to the map. I've used the pickle…
bux
  • 7,087
  • 11
  • 45
  • 86
0
votes
1 answer

Andegine error load map when output have :horizontal stripes

Andegine error load map when output have :horizontal stripes i have load map, but have horizontal stripes in maps. i dont know. please help me.i am new developer,i use andegine. Can anyone help me with this problem? Any idea? the image : the…
QuestionAndroid
  • 881
  • 1
  • 8
  • 25
0
votes
1 answer

TMX issue with Drawing tiles in correct position (c++)

The TMX map is loading correctly but it seems to be positioning my tiles incorrectly. I'm using the TMX Parser from here: https://code.google.com/p/tmx-parser/ It loads the TMX fine, with no errors. But it's only positioning the tiles according to…