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

Tiled is a general purpose tile map editor.

0
votes
0answers
49 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
22 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
24 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
152 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
236 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
72 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
122 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
294 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
47 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
107 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
105 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
20 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
45 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
150 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
403 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
104 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 ...
0
votes
0answers
68 views

Blue and Black Lines when in Play mode But not in Edit Mode (Tiled2Unity)

I am creating a 2D game. Right now I have a player game object that can move and a camera that can follow the player. I am now working on the map. I currently use Tiled for my map editor. I exported ...
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
86 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
237 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
101 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
224 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
308 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
631 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
316 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
245 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
333 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
155 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
184 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
190 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
94 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
65 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
305 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
468 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
83 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
114 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
326 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
348 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
308 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
886 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
240 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
936 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
247 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
461 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
91 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
93 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
227 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
1answer
2k 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
101 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. ...