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
1
vote
0 answers

LibGdx MapObjects empty on valid tilemap

I am currently using libgdx and it's box2d extension to make an open world platformer. I wanted to render a world from a tmx tilemap, and add physics from it. The tilemap renders fine (using OrthogonalTiledMapRenderer), but when I tried to add…
TKDKid1000
  • 33
  • 1
  • 5
1
vote
1 answer

sentence segmentation within a dictionary using spacy dependency parse

I have a TMX file containing source and target segments. Some of these segments are made up of several sentences. My goal is to segment these multi-sentence segments so that the entire TMX file consists of single-sentence segments. I intend to use…
f5kdm85
  • 45
  • 1
  • 6
1
vote
2 answers

Installing old versions of dependencies within a python virtualenv and receiving ERROR: No matching distribution found for tiledtmxloader==3.1.0

I'm trying to run an old github project. It runs on python2.7, so I created a virtualenv for it, which uses pip==20.3.4 and am trying to install everything and run it within source ./venv/bin/activate The dependencies in it are listed as …
Sam
  • 1,765
  • 11
  • 82
  • 176
1
vote
0 answers

How to write over a Tiled .tmx file?

At the moment I have two different ways of loading tilemaps, one is by reading in a .tmx file exported from Tiled with the native libGDX class TmxMapLoader like so: tiledMap = new TmxMapLoader().load("tilemap/moontilemap.tmx"); And another way is by…
werner_b
  • 47
  • 2
  • 11
1
vote
0 answers

pygame game crashes when I edit tilesheets in tiled

I am trying to make a game with pygame using tiled. When I edit tilesheets (to for example add collision) I get a bunch of error messages when I run my code. When I use the same tilesheet without editing I get no errors and all the files…
user10695297
1
vote
3 answers

Unable to load tiled map (Libgdx)

I've tried using different tiled maps and using the zlib compression type. I have the png file and the tmx file inside the assets folder under android. If you need anymore information I will reply. Any help is appreciated. Thanks package…
Sixteen
  • 29
  • 1
  • 7
1
vote
1 answer

Decompressing zlib data from .tmx (Tiled) file

I'm trying to write a .tmx loader that will load the Tiled map data directly into my game. I've already written the Base64 decoder and decoded the string. However, I receive no output after decompressing the data. I'll walk you through an example…
IAE
  • 2,213
  • 13
  • 37
  • 71
1
vote
1 answer

libGDX Tiled Map hiding sprites that are out of viewport

I started to create a 2D game using libGDX and Tiled as map creator. I am using some sprites as Collection of Images in Tiled. The problem is that whenever I move to the right and some sprite's bottom left point is out of viewport it dissapears like…
Matej
  • 177
  • 2
  • 16
1
vote
0 answers

How to change an animated sprite to a TMX layer by using andengine gles1

I'm very new in Android and game programming. I want to make a labyrinth game with the [Dijkstra algorithm].I want to create an AnimatedSprite that moved by DigitanOnScreenControl on TMX Map. But there's trouble, the AnimatedSprite still can go over…
Noviwidi
  • 11
  • 3
1
vote
1 answer

Use tmx file to create map in java

I use Tiled to create tiled map. I create tmx file but I don't know how I can use this file to create a tiled map in javafx. I search and find I have to convert tmx file to XML file. But I don't know how I use from the XML file. please help me to…
ali
  • 15
  • 3
1
vote
1 answer

TMXLoader error when using Android Studio with AndEngineTMXTileExtension

I am trying to create a tower defense like game. I have created a tiled isometric map with Tiled Map Editor and have saved it is the assets folder in android studio. I am currently using andengine to load the map in my activity. My…
Neel Patel
  • 113
  • 6
1
vote
0 answers

SFML and TMX error

I making my first game with SFML and i got some errors. These errors show up when doinstalowałem several libraries to allow charging to play TMX files from the program Tiled. This libaries: zlib, STP (SFML TMX PARSER), PugiXML. #include…
AmaziR
  • 11
  • 1
1
vote
0 answers

Tiled .tmx Image rendering with SpriteKit and Swift

I have created a tiled .tmx file to create an orthogonal maze type game (my first attempt at writing a game). Is there a customary way to render images in iOS using SpriteKit? There doesn't seem to be much written about this with regards to Swift.…
user1162328
1
vote
1 answer

Number of nodes are high after loading a TMX file in SpriteKit using JSTileMap

I'm trying to load a 32x22 map with tile size of H:32px W:32px created using Tiled. After following answers here and tutorials on how to load .tmx files using JSTileMap in SpriteKit, I attempted my own: var worldNode: SKNode! var tileMap:…
sinbad2k
  • 11
  • 2
1
vote
1 answer

I can't render tmx file in cocos2d-JS

When I loaded .tmx file in cocos2d-JS which was created by Tiled and tried rendering in view, I could not render and the following error were output and the contents of .tmx file is I want to render as follows why I can't render?
user3321541
  • 221
  • 1
  • 16
1 2
3
10 11