Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [tiled]

Tiled is a general purpose tile map editor.

0
votes
0answers
20 views

How to extract a point in LibGdx from Tiled map?

Tiled has a feature to insert a point in to an Object layer. But there doesn't seem to be a "PointMapObject" implementation in Libgdx on the doc. currently i am being forced to use a PolylineMap ...
1
vote
1answer
20 views

Tiled tmx format into 3d Texture

I am thinking of making 3d games with 2d pixels feel. So far, i have been playing around in tiled and monogames. I learned some xml and managed to import and render tmx into my game. This is maybe a ...
1
vote
1answer
55 views

Draw line between tiles of tiled map in libgdx

I want to draw line between two tile of my .tmx map in libgdx . I want to get a tile position but not in pixels , in maps grid numbers like : (0 , 6 ). or is there any way to change a tile color in ...
0
votes
1answer
27 views

How do I properly link an OrthographicCamera to a OrthogonalTiledMapRenderer

how to properly link an OrthographicCamera to a OrthogonalTiledMapRenderer How do I properly link an OrthographicCamera to a OrthogonalTiledMapRenderer? I have tiled map i'd like render and two ...
-1
votes
0answers
60 views

How do I load tile map with phaser 3

I created a simple tilemap with tiled, and I'm trying to load it. The code and files can be seen here: https://codesandbox.io/s/qqq47wqv3w I'm not getting any errors in the console, but the canvas ...
0
votes
0answers
88 views

MonoGame Extended - Tiled - Spritebatch Layering Depth vs TiledMap Layer Renderer Depth

I'm drawing each of my Tiled Map Layers separately so as to create the illusion of depth. I'd like my character sprite to be between the background tiles but in front of the building tiles. I'm using "...
0
votes
1answer
25 views

Tiled2Unity not accepting a .txm file

I'm trying to import a map from Tiled to Unity. I have seen on several video tutorials (all of them on Windows) that they used Tiled2Unity in order to import such files. However, when I download ...
0
votes
1answer
34 views

Libgdx Tiled | Using setTile results in a NullPointerException

So, I'm attempting to change the texture of a block when the player comes in contact with it by using cell.setTile(tileSet.getTile(926). I've already looked at ...
1
vote
1answer
292 views

Issue importing TileMaps/TileSets in Monogame.Extended 1.0

I've just started coding my first ever videogame using Monogame/Xna. I've reached a point where I would like to start editing maps and importing them into my game using the program Tiled. After ...
0
votes
1answer
261 views

Tiled - isometric map - how to find out tile width/height

so I'm playing aroung with Tiled and want to create an isometric map. I found this tileset: https://opengameart.org/content/isometric-landscape The downloaded file contains a big spritesheet with ...
0
votes
1answer
81 views

How to get tile rotation from TiledSharp and convert it to XNA/MonoGame

I am currently working on a game using XNA and Tiled. I use Tiled to create my maps and load them using TiledSharp. Some of my maps have tiles that are rotated by using one or more of the left rotate, ...
0
votes
1answer
147 views

Tiled - Possible to create a terrain from this specific tileset?

I'm really new to Tiled and I can't get the hang of creating terrains. I have these really nice 2D assets I would like to use but I can't get the terrains to work. I'm trying to create a dirt path ...
1
vote
2answers
384 views

Tiled2Unity depth sorting issue with multiple layers

I have been struggling with an issue for a couple of days now trying to get depth sorting properly when using multiple layers in tiled. My tiled map is set up as follows: The sorting Layers I have ...
1
vote
1answer
49 views

Segmentation Fault using Allegro_Tiled, function al_open_map();

I have consistently segfaulted trying to load a TMX file into a *map. ...
0
votes
0answers
123 views

Proper Z-Order rendering for love2d isometric maps with STI

I'm trying to use an isometric map created in Tiled and rendered with STI in love2D. However, I want to put a free-moving object in the game world and have it render in proper Z-order (above things ...
0
votes
1answer
129 views

Love2D STI library not drawing map at all (black screen)

I'm trying to use a pretty standard map with the Simple Tiled Implementation module for Love2D, but no matter what I try, I can't get it to display anything but a black screen. Here's my current code (...
0
votes
0answers
21 views

How to show full tilemap using phaser?

I have created tilemap using Tiled software of pixel size 1200x1000. While rendering it using phaser I have set width equal to 500 and height equal to 400.After this only map of 500x400 area is ...
1
vote
1answer
57 views

How to zoom in and out the full tilemap from center in phaser?

I am developing a game where I need to zoom in entire map also I can be able zoom out. I have created a tilemap using tiled software and rendered it using phaser.js. How can I add this function to my ...
0
votes
2answers
191 views

Phaser is not loading the same map created in Tiled software

I have created a sample map using the tiled software. Then tried to load the same on a webpage using phaser.js. But I am not getting the proper result. Is there any mistake in my code or something ...
0
votes
2answers
548 views

How do you use these kind of rpg ground tileset ?

Searching about some tilesets for a little RPG game, I've often found these kind of tileset : Their structure are special, there is two upper tile and 4 others for the same material. I understand ...
1
vote
1answer
109 views

Preloading for level transitions in a tile-based game?

I am developing a 2D Metroidvania which consists of a series of interconnected levels. When my player gets near a portal which can take him to a new map, I want to pre-load the next map so that there ...
17
votes
1answer
2k views

How can I implement persistent state for objects defined in a level?

I am developing a 2D Metroidvania which consists of a series of interconnected levels that can be revisited. Each level is represented by a Tiled TMX file in which I have specified where various ...
0
votes
1answer
105 views

Assets from Tiled background layer not appearing in Cocos2d-x

I'm running into an issue with a Tiled map used as a background image for a scrolling scene. I'm using two sprite sheets to provide assets for a background layer. In Tiled, all of these assets appear ...
2
votes
1answer
275 views

Tilemap Collision w/ different height levels and directions

I've been programming a final fantasy 6 clone in C# using Monogame and Monogame Extended, and have met on a few interesting challenges regarding tilemap collision. The game seems to have different ...
1
vote
0answers
112 views

Tile rendering problem in LibGDX

I'm making an isometric game using a Tiled map with libgdx. As I want my character to be rendered before or after the tiles depending his positions, I create an ...
1
vote
1answer
302 views

Can't get reliable collision detection/response in Monogame

So, I currently have a Rectangle that updates with player position, and is the size of the sprite. I'm using Tiled as my tile editor, and have an Object layer called "collision" which I loop over when ...
0
votes
1answer
349 views

Isometric tile map rotation

Is it possible to rotate an isometric tile map, either in LibGDX or Tiled map editor? My problem is that LibGDX renders the (0, 0) position from Tiled at bottom-left corner like it usually does (see ...
0
votes
1answer
819 views

Take an image and cut it up into a tile map

So I am attemping to make a game in Phaser. I am trying to think of the best way to cut this image up and make it in to a tile map OR do I try and lay this entire image as a back ground to the game ...
1
vote
1answer
371 views

Box2d collision on isometric maps built in Tiled

I am trying to add Box2d collision to a map I created in Tiled http://www.mapeditor.org/ It all worked when I was creating standard othergraphic maps but now I have changed to isometric the objects ...
4
votes
1answer
266 views

How should I manage Roguelike levels/maps in JavaScript?

I am developing a Roguelike in JavaScript using ROT.js. I'd like to keep with traditional gameplay (permadeath, randomly generated dungeons/mobs/items), but I want to have a statically defined ...
1
vote
2answers
406 views

Texture appearing blurry

I've just created another scene in Tiled and imported it into Unity using Tiled2Unity and I'm having a strange issue, while the image looks crisp and as it should in Tiled, when imported into Unity it'...
1
vote
0answers
33 views

Tiled: handling multiple map sizes

I have two sets of assets (lo res and hi res) that are exact replicas of each other except one set is twice the size of the other and used for larger screens. At runtime, I find the users screen size, ...
1
vote
0answers
177 views

LibGDX - TiledMap Unit Scale

I'm working on a 2D rpg-style game and I'm currently rewriting my game to get a more clean and structured code. Some thing that has been bugging me is that I have no idea how unit scales work with the ...
1
vote
1answer
226 views

Phaser Tiled map importing

How can I be sure that the tileset used in making a Tiled map remains as a multiple of 2, since this is a requirement of phaser when loading JSON tiled maps? I have tileset images which I got for free ...
0
votes
1answer
212 views

How do you define walkable and unwalkable areas in Tiled?

Hi I want created map in Tiled program. How can I generator that 2D array with 0 - unwalkable 1 - walkable 2 - damageble I suppose I must set it somehow, can someone tell me how to give me link so ...
-1
votes
1answer
116 views

LibGDX - Turning TiledMapTiles into objects

I'm working on a harvest moon type game and I've already created lots of assets and have a working player. Now the issue is with the tile map. I use Tiled Map Editor to make the map and it renders ...
0
votes
1answer
66 views

How to convert or import files from Illustrator in Tiled for game development?

I have created all my images for a game in Illustrator, now I want to convert them in Tiled Sheets for developing my game in libGDX. So could I import or convert these ...
0
votes
1answer
337 views

Love2D and 'Tiled' - Detect if player is over certain tile/Collision

I created a 50x50 tile map with 32x32 tiles in Tiled and exported it as a Lua file so I can use it in Love2D. I have a player you can move around the world but I'm attempting to convert the player's x ...
0
votes
2answers
554 views

How do I incorporate .tmx files into my game?

Ok, so I have made a .tmx file for my first level, but I am unsure how I would load it into my game. Currently I am iterating through an internal array to set the blocks, but I need to know how to ...
0
votes
0answers
87 views

TiledMap does not showing up -LibGdx

I want to include a TiledMap inside my LibGdx Project. I did coding like this. ...
0
votes
1answer
117 views

How can I render a tmx map at a given location?

I am using libgdx & trying to implement a Binding of Issac like dungeon. To do this I'm loading a tmx map when a dungeon room is created and rendering it to the screen. The issue is that the each ...
0
votes
1answer
377 views

Top down tile based game render order

I'm making a simple top down (like this) tile based game (using JavaScript, for reference) I use Tiled for making maps. I have sprites that are more than one tile high, and so whenever they are in ...
1
vote
2answers
376 views

Pathfinding: grid based map of irregular numbered tiles to mark connections

Given this map: The floor tiles are separated from the rest (it's a map made in Tiled in separate layers) and as you can see, the id numbers are not in sequence. How I would go about making ...
0
votes
1answer
350 views

LibGDX Tiled Map - Get MapObject ID

I have a MapLayer with MapObjects and i want to know the ID of the MapObjects in this Layer, any idea how to get the ID?
1
vote
1answer
965 views

LibGDX - Managing and starting new levels

I have a Manic Miner style game where you need to collect all the items from a screen before you can advance to the next screen. I have a screen class called "PlayScreen" wich starts out by loading ...
2
votes
0answers
244 views

How to go about implementing pathfinding in Unity with Tiled2Unity map prefabs?

I have created a map using Tiled application and have added collision boxes and used Tiled2Unity to import the map to Unity. The collisions are working with key ...
1
vote
2answers
1k views

How to handle Tilled Map z index order with player in libgdx?

The below 1st image is the example how I render tiled map with player, I can properly change the player z index, If I want to make the player below the box i just set the z index to 0. But the problem ...
2
votes
1answer
268 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 ...
2
votes
1answer
500 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
101 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 ...