Questions tagged [tiled]

Tiled is a general purpose tile-based game map editor under GPL license. It supports several map formats (XML, JSON) and multiple platforms.

Tiled is a general purpose tile-based game map editor under GPL license. It supports several map formats (XML, JSON) and multiple platforms.

390 questions
0
votes
1 answer

How can I determine the size of an Isometric map of any size?

I have managed to load and display an isometric map using SpriteKit and Swift by writing my own .TMX parser. Orthogonal maps work fine, but this is my first time using Isometric maps and the math is confusing me. My tiles are 64x32, and the map can…
Tomoso
  • 105
  • 1
  • 4
0
votes
1 answer

LibGDX: Tiled Maps: How to click on an object

I have a tiled map on my libGDX project where I can move it using the keys on my keyboard. I have set up boundaries so it doesn't go outside the tiled map. In my tiled map I have three layers a background layer and two other layers for the pictures…
0
votes
1 answer

how to combine scen2d and OrthogonalTiledMapRenderer using libgdx

What i'am doing is showing a tiledmap on the full screen , and it works fine. The character moves perfectly and the camera too. What i want is : Showing some text or imageButton over the map like a menu button on the left of the screen. I tried to…
user3521250
  • 115
  • 3
  • 14
0
votes
1 answer

LibGDX TiledMap - don't detect Collisions

first of all, sorry, because of my rusty English. Since i learnt German i forgot the English. I'm doing tests with libGDX and my code doesn't detect any collisions. In my Screen: public Pantalla(SpriteBatch batch_1) { batch = batch_1; …
ieselisra
  • 387
  • 4
  • 16
0
votes
1 answer

SKNodes in SKScene moving in the wrong direction

I am implementing a one dimension movement along the x axis. The objects are moving but they are in the wrong directions Code for moving the scene self.obstacles.position.x -= speed // obstacles = objects self.map.position.x -= speed // map is the…
Wraithseeker
  • 1,884
  • 2
  • 19
  • 34
0
votes
0 answers

Isometric Tiled Map Object Coordinates

I'm getting a bit confused here about the coordinates of an object on a Tiled isometric map. I have an isometric map that is 25x25 tiles, each tile being 32x32 pixels (64x32 isometrically). I have an object on the map positioned at 128.0 x and 64.0…
SpellChucker
  • 450
  • 5
  • 18
0
votes
1 answer

Import tiled .TMX file into XNA?

Im in need of importing the TMX file which Tiled creates and using the map in visual studio, I seem to get an error when using xTiled so this won't be an option.
Josh
  • 11
  • 1
  • 3
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

Tiled - supporting different ios devices

I would like to know, how do you support different screen sizes when using Tiled with Spritekit? Do you design you levels in separate .tmx files for each device? For example: ipad-nonretina-level-1.tmx (normal tile size), ipad-retina-level-1.tmx…
Whirlwind
  • 14,286
  • 11
  • 68
  • 157
0
votes
0 answers

Swift and Tiled, can't get touch to work with an isomatic map

So I got Swift to work with Tiled. It draws an Isomatic map on my screen and I added the physics bodies to the floor tiles it self. var tiledMap = JSTileMap(named: "tiledMap.tmx") override func didMoveToView(view: SKView) { /* Setup your scene…
0
votes
0 answers

Cocos2d v3.x. It seems impossible to do automatic Z-ordering when using TileMaps

When creating an isometric tilemap-based game using Cocos2d 2.x, automatic Z-ordering was not a problem. We can just read the vertexZ/zOrder value of the tiles (treaded as CCSprites) of every layer and update our nodes accordingly. Now I use v3.3 of…
Eyeball
  • 3,267
  • 2
  • 26
  • 50
0
votes
1 answer

NullPointerException Libgdx

I've seen questions similar to this, but none that would match what I'm experiencing with my Libgdx project (desktop only). I've made a .tmx map using Tiled and copied it to the assets folder, which has two subpackages: gameScreens (with the maps)…
matt_s
  • 25
  • 3
0
votes
1 answer

Highlighting a tile with transparency

I am making turn based strategy based on a tiled map. My map contains two layers - first one is visible all the time and is used as a background, the second one is used for highlighting the tiles. Highlighted tiles shows possible movement for the…
Dick Tracy
  • 57
  • 1
  • 4
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