Tiled is a general purpose tile map editor.

learn more… | top users | synonyms

1
vote
1answer
34 views

Programatically Build List of Custom Class Objects (prefabs)

This seems like it should be a simple thing, but I cannot seem to figure out a method. Currently, I have a public List<MapGraphItem> roomList variable, and in the inspector, I add prefabs from ...
1
vote
1answer
25 views

Can't make sprite collide with tilemap made with Tiled

I'm a newbie who just started learning phaser. I have created a tile map with Tiled. It is composed of two tiled layer: background & collision. In collision layer I put some walls. And in the ...
1
vote
0answers
18 views

Rectangle in object-layer has wrong coordinates in game

I extended the SuperKoalio LibGDX Example about an Tiled Object Layer in the Tiled Level-Editor and draw a rectangle on this layer. Now I would like to draw this rectangle in my game using the ...
1
vote
0answers
47 views

Level data for Mario or similar platform game [closed]

It has become a widespread to implement a Mario-clone to practise writing platform games or in order to demonstrate how a game engine works. For that reason I expected it to be easy to find level ...
4
votes
1answer
166 views

Is it cheaper to let each tile have its own collision?

I'm just now playing around with Tiled, and I think this is the way I'm going to go to create tilesets for my game maps, but I'm curious about the cost (memory/CPU) difference between setting a ...
1
vote
0answers
55 views

How to integrate Tiled maps and collision detection with pygame?

I have been using pygame to make a simple rpg pokemon style game. To create maps I have used the Tiled map editor and then loading them into pygame using pytmx. I have heard that you can add object ...
1
vote
1answer
28 views

My displayed Tiled map is rendered with different tile indexes than in the editor in Slick2D. Why?

The first picture is what I have in the editor and the second one is what I got when I rendered my map. @Override public void init(GameContainer container) throws SlickException { this.container =...
1
vote
0answers
172 views

Box2dMapObjectParser isometric map - bodies have wrong position and size

I'm using Box2dMapObjectParser to load Tiled objects layer onto my IsometricTiledMapRenderer'ed TiledMap. It works OK with a UnitScale of 1 but the position is wrong and some shapes have weird ...
0
votes
0answers
39 views

TiledMap Safe Area for different screen resolutions

I'm creating a Tower Defense game using libGDX (w/ scene2d) and TiledMap. I've been reading extensively about viewports and how I can better manage various screen sizes. I want my Tiled Map to take ...
1
vote
3answers
62 views

Tiled height level collision

I have created the below tilemap in tiled and I am wondering about a good approach to "separate" these two different heights in the map. I would like to keep it tile based, so adding a object layer ...
0
votes
2answers
96 views

Why is my character passing through in Box2D?

I have a collision problem in Box2D. I am trying to do a simple platform game with Libgdx, Box2D and TiledMap. I have a map made with TiledMap: I load the map in my Android game. I read all the "...
0
votes
1answer
63 views

LibGdx Tiled Map Rendering Problem

Im trying to study a book to learn LibGDX game engine but i have a problem with rendering tiled maps. i think i wrote the same code with book but i couldnt get the same result. its a simple game with ...
0
votes
0answers
76 views

Libgdx and Box2D TiledMap render is not smooth

I'm building simple side scroller game. My player (square) move fast and it interacts with other world objects. Problem is when my player is moving it seems that all world is rendering somehow strange ...
1
vote
1answer
139 views

Make game camera stay inside of tiled map boundaries [LibGDX]

I am creating a little 2D platform game, with the LibGDX framework. So far I have created a simple prototype level in Tiled, and loaded this map into my LibGDX game. I can use mouse and keyboard ...
0
votes
0answers
101 views

libGDX render 2 tiled maps at different coordinates

I am currently learning libGDX and I want to make a game that loads multiple tiled maps and renders them. This is what I have now: public class PlayScreen implements Screen{ private Main game; ...
1
vote
1answer
53 views

Error When Loading a .tmx TILED map through the TiledMap class

So I made a map using the TILED application and I have it as a .tmx for reasons, but whenever I use the TildMap class in the Slick2D library to render the map on the screen, it gives me an error. Here ...
0
votes
0answers
44 views

How to parse a and displat TMX map object in SDL using tmxparser ?/How to make a platform game using tiled editor and SDL?

I am newbie in this field getting too much trouble in simple platform game for one of my project module if you guys could help or share some code. This is what I have done till now. I could parse a ...
1
vote
1answer
98 views

How to replace tiles in Tiled in AndEngine?

in my Game I Create object layers and interpret the shapes in the engine as collision objects...now I want when Player collide with object, after a few seconds object falls...this works properly but ...
3
votes
1answer
184 views

Creation of a tiled map editor polyline in box2d is not working correctly

I'm currently trying to create a box2d polyline object in my libgdx game, but it's not working as expected. To get a better picture of my subject, have a look at how it should look like, and how it ...
2
votes
1answer
111 views

How to use 16/32 square pixel tiles in tilemap on arbitrarily sized canvas in Phaser

My question is about Phaser and Tiled but I'm not quite sure how to ask it so please bear with me. Do I need to make the size of the canvas or area on which I want to display my tilemap a multiple ...
2
votes
0answers
64 views

Get a body from TiledMap via MapBodyBuilder and draw a sprite on it in LibGDX?

I use a various of MapBodyBuilder in my Libgdx project. I created a body from map.tmx via my MapBodyBuilder and in my SpriteBuilder buildSprite method i created its sprite: sprite = new Sprite(atlas....
0
votes
2answers
92 views

How do I properly load maps?

I'm trying to load my map properly, but it takes some time (after the games has been started) to be how it should. Am I doing something wrong? Why is this happening? AndroidStudio: Tiled (map ...
2
votes
1answer
109 views

How to use Tiled Editor to recreate a 2D map?

Alright, to familiarize ourselves with the Tiled Editor, the teacher asked us to replicate a tile-based map of a 2D platformer. He gave us pretty much these two things: 1.) A selection of maps to ...
4
votes
1answer
425 views

Why is libGDX's HexagonalTiledMapRenderer adding extra space?

Why are there large spaces between the hexes when rendered by HexagonalTiledMapRenderer? The tiles ARE black bordered, but that doesn't account for all the extra space. I was also able to get them ...
0
votes
0answers
119 views

Slick2D doesn't render hexagonal TiledMap from Tiled Map Editor properly

I'm new to Slick2D and Tiled so I might be missing something crucial although I've done my research and came up with nothing. I'm trying to create a hexagonal grid using Tiled Map Editor (v. 0.12.3) ...
1
vote
1answer
140 views

Box2D - Platformer tiled map problem

I'm using C++, Box2D and SFML. I convert a Tiled map to world in my platformer game and I get stuck when I go against a block when I go forward like that : I can use a circle as foot of my ...
1
vote
2answers
245 views

Static spawning locations for players, creatures, items in Tiled map editor

I am using Tiled map editor. I am trying to add static spawning locations (x,y) for various entities (lets say 15) in my game. The best idea I had so far is something like this: I am using a ...
0
votes
1answer
1k views

Tiled object layer draw sprites

I added some tiles to some object layers in my tiled map and now I want to draw them in game. I tried to render everything with mapRender.render(); but the tiles doesn't show up. Then I tried to ...
1
vote
1answer
149 views

Tiled tilemapper - isometric

I'm attempting to move from oblique mapping (45 degree angles) to isometric (30 degree angles) in Tiled. I made a test tile in Photoshop: Made an isometric map: But my tile appears completely ...
2
votes
2answers
290 views

LibGDX - Tilemap Wall Collision Detection Issues

I cribbed some code from another web tutorial (SuperKoalio - https://github.com/libgdx/libgdx/blob/master/tests/gdx-tests/src/com/badlogic/gdx/tests/superkoalio/SuperKoalio.java) about detecting a ...
0
votes
0answers
139 views

Unity Quality Reduction only reduces my player sprite quality

I created a small map in tiled then imported it into Unity. A small sprite character is controlled by the player to roam about the map. I am experimenting with this for University and wanted to see ...
0
votes
2answers
1k views

Java libgdx Game Screens and rendering tile map [closed]

I'm working on a 2D tiled game with Java and libGDX. I'm having problems implementing gamescreens. I'm trying to set the screen to gameScreen and start rendering tiles, but I'm getting a nullpointer ...
0
votes
1answer
85 views

Sharing Tiled Maps [closed]

Where can share my existing Tiled maps, as well as download and use other people's existing maps?
2
votes
1answer
74 views

Libgdx, tiled map - how to reload layer?

In the simple platform game I'm making, when player collects coin, its cell is set to null. Is it possible to recover all cells from layer "coins" after player dies? I have tried multiple things but ...
1
vote
1answer
1k views

LibGDX Tiled Map - how to get embedded objects

I am using LibGDX to learn Game Development. I have reached the phase I am learning to use Tiled Maps. In Tiled map editor, there is a feature where we can pick a tile in the tile set, go to View -> ...
0
votes
1answer
286 views

Store metadata for tile in Tiled Map Editor

In my tilemap-based game, I need to associate lights with light switches, buttons with doors etc. I am using the Tiled map editor (mapeditor.org), but I have yet to find a way to store these ...
0
votes
1answer
258 views

Datastructure for infinite 2D map [duplicate]

I started a 2D Tilegame programmed with libgdx which needs potentially infinite tiles. That means when the player arrives the border of the map it should be possible to generate even more tiles. So a ...
0
votes
1answer
331 views

Tiled PolygonObjects rendering wrong in libgdx

this is how I render the polygons in Tiled this is how they get rendered in libgdx. Notice the top part of the triangles is straight instead of being hollow. here is the code I use to convert the ...
0
votes
1answer
54 views

How to handle dimension changes on tileset? (Tiled)

I am using Tiled map editor. My question is: What should I do if I would like to change the dimensions of the graphic file for the tileset? The IDs will shift if I will not adapt the graphic ...
0
votes
0answers
255 views

Maximum tile and texture size for tiled maps

I'm currently making a game using libGDX and Tiled. Everything was running fine until I changed the tile size from 96x96 to 300x300. Most layers are still displayed correctly but the tiles of a ...
0
votes
1answer
169 views

Rendering mountains around a tile layer [closed]

When making a 2D Pokémon game, I just faked elevation by putting mountain tiles underneath the land. Now my tiles are 3D models, so I'm using layer properties to define their elevation. What I don't ...
1
vote
1answer
161 views

Handling creation of entities on level creation

I'm currently working on a 2d physics based plat former, kinda in the style of super meat boy. In super meat boy, you have multiple levels and I want a similar sort of thing but is there a general way ...
1
vote
1answer
2k views

Draw image layer in tmx map - libgdx

I created a map only with an image layer in tiled map editor. When I want to load the map the layer isn't shown. Only the background color. Followed the tutorial from http://www....
1
vote
1answer
160 views

How can my entities avoid walking on certain tiles?

In my tile map, created with 'Tiled', I placed some tiles that need to be avoided by my mobiles. Tiles like water or obstacles. The entities "wander" in the map, choosing random directions, and their ...
1
vote
2answers
475 views

Collision between Mesh Plane and 2D Sprite

I've just recently started programming using Unity and made a couple of games with it, I'm trying out more and more advanced stuff as I do more games, but right now... I'm trying to make a game that'...
1
vote
1answer
233 views

cocos2d-js displays only one type of tile from a tmx file

I am using Tiled to produce a tmx which I use in my code using cocos2d-js. The problem is that when I run it on the browser, a wrong tile gets displayed, the first one of the image (0,0) and repeats ...
0
votes
1answer
1k views

Box2D shape/fixture position vs. body position

I load my rectangular shapes from a simple Tiled level into libGDX and want to create a physics world out of it via Box2D and attach sprite assets for rendering. I get the tiled object layer and ...
1
vote
1answer
330 views

How do I find the shape of Tiled's circles or ellipses in libGDX?

I created a level in the 'Tiled Map Editor' and loaded it into my libGDX game. I can easily transform almost all objects into Box2D objects (although this problem is not Box2D specific), but I have ...
2
votes
1answer
344 views

Is there any way to change compression type of TMX file?

Basically it's all in the title, you can choose compression type then you create new tile map, but after it's done the "Save As..." option doesn't provide compression type selection.
-2
votes
2answers
171 views

isometric tile tiled format javascript [closed]

Okay im having a problem with drawing an isometric map exported from tiled. Here is my problem. where it should be like this Here is the code that i used to reproduce the 1st image, what's wrong ...