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
12
votes
3 answers

Error when Building Project: Error building Player because scripts have compile errors in the editor

I have the Tiled2Unity plugin. When I begin to build a version of my game in Unity, be it standalone version or anything else,i get the following error, "Error building Player because scripts have compile errors in the editor" Then it points me to…
Letholor
  • 175
  • 1
  • 3
  • 12
10
votes
1 answer

LibGDX: How to make tiled map tiles clickable?

How can I add click listeners for the tiles from tiled map so that when you select a tile with the mouse it becomes highlighted?
Andrew
  • 1,109
  • 1
  • 15
  • 27
9
votes
1 answer

Libgdx Tiled map object to box2d body location

A Tiled map object hat a position x, y in pixels and a rotation in degrees. I am loading the coordinates and the rotation from the map and trying to assign them to a box2d Body. There are a couple of differences between the location models, for…
Aleris
  • 7,981
  • 3
  • 36
  • 42
9
votes
2 answers

Why do I have lines going across my libgdx game using Tiled?

I'm using LibGdx and Tiled and when moving around the screen, there are both horizontal and vertical lines appearing on the game. I can post any code you need, if necessary. How do I get these lines to stop? Here's a gfycat gif of the…
Dylan
  • 188
  • 3
  • 12
7
votes
5 answers

Unity 2D art is blurry

For some reason, I can't get these tilemaps to come out like they were created in Unity... The pixel art is imported to Unity from Tiled. The pixel art in Tiled: The same pixel art imported to Unity: Does anyone have any idea how I can fix…
Tiaan
  • 698
  • 2
  • 10
  • 32
7
votes
1 answer

LibGDX: How to do animations on an isometric tiled map?

I've some problem with LibGDX and tiled maps. I come from Corona SDK (Lua) and I've used Lime (third party lib to handle tmx maps), now I switched to LibGDX and followed this really recent feature: GraphicsTileMaps I was able to load an isometric…
Felice Ostuni
  • 1,049
  • 1
  • 12
  • 20
6
votes
1 answer

TILED editor - object placement possible to snap to grid in Object Layer?

thanks again in advance for any time spent helping me. Thankfully, I have been able to import TMX to libgdx game without much of a problem, however this is now the first time of using Object Layer, for which at this moment in time I only want to…
I_Keep_Trying
  • 395
  • 3
  • 17
5
votes
2 answers

Creating a collision layer in Phaser using JSON and Tiled

I'm trying to create a platform game using Tiled to create my maps. I've made my map and exported it as a .json object. I can make the map appear in my game, but my sprite falls through my floor. I've been going through tutorials for hours and seem…
Rokitar
  • 191
  • 2
  • 12
5
votes
1 answer

How to create a tiled map (I'm just getting a white screen)

I need some help with making a tiled map, I'm just getting a white screen instead of a map with images ( tiles) on it. Can someone help with that? World.java: package game.test.src; import java.awt.Graphics; import java.awt.Image; …
Pim Schwippert
  • 105
  • 1
  • 7
4
votes
1 answer

The Tile Map I made in Tiled isn't loading in the browser

I have made a map in Tiled and I have a already generated a JSON. Whenever I try to load the map in Chrome and it does not load at all. When I went to inspect the website there are warning like: No data found in the Json tilemap from Tiled matching…
ChetD90
  • 41
  • 5
4
votes
3 answers

C# Dictionary - The given key was not present in the dictionary

I'm currently trying to load game objects from a Tiled (Tiled map editor) map file into a game engine I'm making in C#. I'm using TiledSharp (Link to github here). It uses a dictionary to hold properties about each individual tile (or 'game object')…
user6943628
4
votes
1 answer

Tiled Map Editor: size of isometric tile side

In Tiled editor there is an isometric map example: "isometric_grass_and_water.tmx". This example shows simple isometric map with tiles which have size 64x32 pixels. I need to know size of the side of a tile, so I simply used Pythagorean theorem for…
ovk
  • 2,318
  • 1
  • 23
  • 30
3
votes
1 answer

Flutter flame_tiled load collisions

Is it possible to load collisions from tsx with level into flame_tiled? final level = await TiledComponent.load('intro.tmx', Vector2.all(32));
3
votes
1 answer

How to make tiled image from video with ffmpeg

I want to generate tiled image from video with ffmpeg. Every part of image is screenshot of video with different moment.
apollo
  • 41
  • 2
3
votes
3 answers

Libgdx - Tiledmap rendered tiles disappearing from screen

I'm creating a side-scrolling platformer and I'm using my own Tiled map. I'm rendering it using the OrthogonalTiledMapRenderer, but after adding background images I noticed that they disappear from the screen too soon. On the first picture you can…
Deso2121
  • 99
  • 8
1
2 3
25 26