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

TMX Tilemap Access Violation Exception

I am trying to load a simple TMX Tiled Map that I made using Tiled application into Visual Studio. But I am getting this error: ???????????? ???????? 'TaskHost.exe' (Win32): Loaded 'C:\Windows\System32\StorageProxy.dll'. Cannot find or open the PDB…
0
votes
2 answers

How to load simple tmx file in Haxeflixel?

I am trying to use a simple tmx map in my haxeflixel app using the flixel-addons library. My tmx map has a single layer with all the tiles in it. there is nothing special about the map at all. I tried to use the TiledMap demo as reference and…
Rishav Sharan
  • 2,763
  • 8
  • 39
  • 55
0
votes
1 answer

python cocos2d change tile's image

-I'm using python and cocos2D I have the file loading a tmx-map but now I want to change a specific tile to display an image from another file, I have saved the specific tile that I want to change in a variable but changing it I don't know…
Frothiny
  • 71
  • 9
0
votes
1 answer

How to read polyline cords from a *.tmx file?

I am using TmxMapLoader and I can't seem to find a way to read polyline data from a *.tmx. TmxMapLoader mapLoader = new TmxMapLoader(); TiledMap map = mapLoader.load("map1.tmx"); MapLayers layers = map.getLayers(); Iterator
user146386
  • 67
  • 1
  • 1
  • 7
0
votes
1 answer

AndEngine TMX load imagelayer ERROR

10-24 10:05:24.576: E/MAP(16278): Error loading file: tmx/tess.tmx 10-24 10:05:24.576: E/MAP(16278): org.andengine.extension.tmx.util.exception.TMXLoadException: org.andengine.extension.tmx.util.exception.TMXParseException: Unexpected start tag:…
0
votes
0 answers

CCSprite shader program leaves 1px transparent border

I'm developing a game where the players can drag and drop CCSprites around an Isometric map which is created using the Tiled Map Editor. To allow automatic vertexZ reordering I have enabled the depthTest option of [CCDirector sharedDirector] in my…
Eyeball
  • 3,267
  • 2
  • 26
  • 50
0
votes
1 answer

Andengine Loading TMX Files

Im having problems loading my tmx level in andengine TMXLoader mLoader = new TMXLoader(getAssets(), getTextureManager(), TextureOptions.NEAREST, getVertexBufferObjectManager(), new ITMXTilePropertiesListener() { @Override …
user3712476
  • 118
  • 1
  • 11
0
votes
1 answer

How to find directions from map images?

I have a floar plan image (any shopping mall image) . I have to implement the direction for this image. like we shows directions on google map. In gaming we used Tiled Based system . Now suppose user is at Food court he wants to go to Loading Dock…
Raj
  • 637
  • 13
  • 32
0
votes
0 answers

Load tmx map at background with progress bar or loading scene

I use AndEngine and i have a large tmx map in 3000 * 3000 px. When i click to play button at menu scene for load game scene takes over 20 seconds to loading and wait at menu scene.i want to show progress bar or loading scene when tmx map is…
Reza Ahmadi
  • 57
  • 1
  • 11
0
votes
2 answers

Large tmx map And outOfMemory error with AndEngine

I have a large tmx map for my Andengine game, which is 9000*30 in size, and when I want to load it into the application, I get an outOfMemory error. Can anyone help me with this problem? Any idea?
Reza Ahmadi
  • 57
  • 1
  • 11
0
votes
1 answer

LibGDX, Having problems with TMX map (rendering, resizing)

I'm making a new Android Game with LibGDX, a platformer but I'm having issues with TMX (Tiled) maps. I read a lot about tiles gaps problems with LibGDX but I can't make it work well. Here is my problem: sometimes, when the character moves, I can see…
user3575481
0
votes
2 answers

Opening a tmx map with python/pygame

I´m trying to open a tmx map with this tmx library https://github.com/renfredxh/tmx/blob/master/tmx.py My python code looks like this: import tmx3 import random import math import pygame from socket import * from pygame.locals import * from random…
0
votes
0 answers

Cocos2D project with tileMap. Invalid positions returned

I have a project in which I am trying to implement a pathfinding class but I have stumbled upon an issue I can't seem to fix. A video of the error as it occurs can be found here: https://www.dropbox.com/s/25ajb0mc5p4a3a9/Tilemap%20Error.mov The…
DBIT
  • 182
  • 2
  • 11
0
votes
2 answers

My Sprite AI is working incorrectly. Why?

I want my two enemies to be set on attack mode, however as it stands only the last enemy added is being set on attack mode. Is there any way around this? Any tips or suggestions is appreciated. If you need more code please let me know. …
0
votes
1 answer

add a ContactBitMask to an object layer in a tmx map created in tiled?

Me and a friend have started creating a platform game using sprite kit in Xcode. We are creating the levels using the program tiled which consists of the main layer and objects layer. We are currently having issues adding a contact bit mask to the…
PoisonedApps
  • 716
  • 8
  • 21