Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [tiled]

Tiled is a general purpose tile map editor.

Filter by
Sorted by
Tagged with
0 votes
0 answers
48 views

I got some wierd bug while building TMX files in Monogame

Today I tried to implement tilemaps to my game that I'm developing on Monogame. Those tilemaps were created by using Tiled map editor. For implementing my tilemaps I used Monogame Extended. I ...
Code Watermelon's user avatar
0 votes
0 answers
54 views

Scrolling camera with a tile map stored in JSON and PNG

I'm trying to get a scrolling camera into my SDL2 game and I'd like some advice. The way I'm implementing my map is as follows: I use a tileset to build a map in the Tiled map editor, and I'm ...
Derek Kwon's user avatar
0 votes
2 answers
162 views

Drawing a box using rule tiles in unity

SO I have a tile sprite like so : I want to use this to draw boxes on a 2d map using rule tiles. But I can't seem to get how to set rules for it in unity. These are the rules I have : And this is ...
Snedden27's user avatar
  • 101
1 vote
1 answer
308 views

Best way to handle collisions between moving entities on tile map?

I am developing simple 2D game. I render tiled map and several moving entities, one of which is the character controlled by a player, and other ones are NPCs that are moved by simple AI strategy - ...
Steyrix's user avatar
  • 225
0 votes
0 answers
40 views

Does Tiled require everything to be aligned in the source image? Or can I draw a box around various locations?

I want to use some artwork I purchased but the person didn't align them to 32x32 tiles. For example, maybe (100, 100) to ...
Water's user avatar
  • 343
0 votes
1 answer
542 views

SDL2 and TmxLite (Tiled) (Reading the actual TILE data from the layer)

I am trying to make use of the Tiled Map Editor for my SDL2 projects. (By using the TMXLITE parser from Fallahn on Github) https://github.com/fallahn/tmxlite ...
I_Keep_Trying's user avatar
1 vote
1 answer
284 views

How can I get correct coordinates from a diamond isometric map created in Tiled?

I am rendering a diamond isometric map created in Tiled using Monogame.Extended.Tiled package. Here is where I'm trying to spawn a player with an object at ...
Emobe's user avatar
  • 11
0 votes
1 answer
86 views

Are there tilemaps without images?

I would like to use Tiled or a different editor to create a simple world (top-down). But I don't want to use any images. I just need colors to distinguish the different types of terrain. What would be ...
Edgar Alloro's user avatar
0 votes
0 answers
729 views

Divide a tile map into multiple images

So let's say I have a tilemap 5 x 5, which equals 25 tiles. How can I divide my tilemap into 25 different images? I'm using tiled, but I don't know if it is possible to do it on there or if I need to ...
bot 2's user avatar
  • 1
1 vote
1 answer
349 views

How to either draw a group of tiles completely behind or completely in front of a player?

Say you're rendering a 2D top-down tile map and there are some objects in the tile map that the player should be "in front" of when below them, and "behind" when on top of them. ...
Ryan Peschel's user avatar
0 votes
1 answer
280 views

Prefab not working when I import maps form Tiled using Tiled2Unity

I have correctly created the map using Tiled with no errors or warnings, then i imported the package from tiled2unity, imported the map then waited few seconds and the prefab from tiled2unity appears ...
RODOR's user avatar
  • 5
0 votes
1 answer
114 views

How to author custom objects in a tile map?

I've been using Tiled for my game engine but for objects I have to use points on an object layer and give it a name and use that to create map items in-game. This is really inefficient as I don't want ...
BBQGiraffe's user avatar
7 votes
1 answer
841 views

How can I create a six sided tillable perlin noise image?

I'm attempting to create a tillable hex shaped terrain map using c++. As part of the process I'd like to use perlin noise, but it seems that in order to make it tillable I'll need to generate it 5 ...
Knackname's user avatar
  • 103
-1 votes
1 answer
203 views

Tiled Map Editor Vs Text File? | Pygame [closed]

I've only recently got into coding and was looking around on how to create a 2D platformer, a lot of tutorials I've seen have used text files to create their maps. However, one I saw in particular ...
user140107's user avatar
1 vote
1 answer
225 views

Finding equivalent axial coordinates for a wrapping hexagonal map of radius n

I'm creating a wrap around hexagonal map that will potentially render infinatly. With the method I'm using, I have an x-y coordinate I use to find it's equivalent axial coordinate with the equations:...
Knackname's user avatar
  • 103
0 votes
0 answers
161 views

Pygame Collision | Why do I slide up walls in my tile based game?

My player if in contact with a wall either left/right/top(head) they will be able to just continue in the Y direction if you press jump as if you were flying. This is for all walls and invisible walls ...
user140107's user avatar
1 vote
1 answer
231 views

Drawing object lines in the Tiled map editor

Suppose I have this picture: I have a map like this created in Tiled already. I would like to draw collision lines (the green ones in the picture) without having to make it a polygon. As far as I ...
Rohan's user avatar
  • 125
0 votes
0 answers
148 views

Why aren't my isometric objects where I think they are?

Background I am creating an isometric RPG using Tiled and Monogame. My goal is to have relatively elaborate terrain and movement, with my vision for the overworld being much like the now-venerable ...
Magus's user avatar
  • 156
1 vote
1 answer
126 views

LibGDX HexagonalTiledMapRenderer wrong stagger index?

Im using Tiled map editor, Hexagonal(staggered) map, libgdx version 1.9.9 If I set staggeredIndex = even in tiled map editor, ...
Jose Lopez's user avatar
0 votes
1 answer
319 views

Pause Tiled animation during game in LibGDX

I’m using Tiled with LibGDX and I have some animated tiles. When the game is paused I would like their animation to be paused as well. Is this possible? The map is drawn with ...
xmac's user avatar
  • 17
0 votes
1 answer
331 views

LibGDX/Tiled rendering order

I'm using LibGDX and Tiled. I need to render a Texture for my repeated background, then myTiled map and finally the sprites. My problem is that if I put ...
xmac's user avatar
  • 17
0 votes
1 answer
140 views

(Tiled) Background stops being rendered in libGDX

I'm using Tiled and I created my background as an image in a Tile Layer. When I load the map in LibGDX, it shows fine. However when the camera moves, the whole background dissapears. The problem is ...
xmac's user avatar
  • 17
1 vote
1 answer
316 views

How to retrieve the text of a text label placed in a TileMap (.tmx)

TiledMapEditor supports the placement of text-labels nowdays, but I'm not able to load the text in a String. I've tried iterating through the MapProperties of a <...
Mathias Wagner's user avatar
0 votes
2 answers
986 views

Defining tileset for Tiled Terrain Brush — incorrect tiles selected at transitions

I'm using TilEd (https://mapeditor.org) to make maps, and so far have used the programs Terrain feature to create water/paths etc no problem. I'm trying to create trees now, and I've been at it a ...
user1022585's user avatar
2 votes
1 answer
519 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 ...
Yosan Girma's user avatar
1 vote
1 answer
86 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 ...
TotallyNotASmartGuy's user avatar
1 vote
1 answer
1k 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 ...
Mojtaba Ghiasi's user avatar
0 votes
1 answer
93 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 ...
Macmanmatty's user avatar
0 votes
1 answer
58 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 ...
jeepers mcface's user avatar
1 vote
1 answer
259 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 ...
Noah Hayes's user avatar
1 vote
1 answer
2k 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 ...
Mr_Gr1mm's user avatar
0 votes
1 answer
570 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 ...
SwiftedMind's user avatar
0 votes
1 answer
305 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, ...
Labrockstar's user avatar
0 votes
1 answer
546 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 ...
Brigante's user avatar
  • 101
1 vote
2 answers
918 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 ...
WraithNath's user avatar
1 vote
1 answer
130 views

Segmentation Fault using Allegro_Tiled, function al_open_map();

I have consistently segfaulted trying to load a TMX file into a *map. ...
dotJson's user avatar
  • 11
0 votes
1 answer
718 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 (...
Alexis Purslane's user avatar
2 votes
1 answer
1k 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 ...
Ashish's user avatar
  • 25
0 votes
2 answers
938 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 ...
Ashish's user avatar
  • 25
0 votes
2 answers
3k 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 ...
snoob dogg's user avatar
1 vote
1 answer
334 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 ...
DyingIsFun's user avatar
  • 1,307
17 votes
1 answer
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 ...
DyingIsFun's user avatar
  • 1,307
0 votes
1 answer
336 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 ...
Kevin Mack's user avatar
2 votes
1 answer
1k 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 ...
MysticSheik's user avatar
1 vote
0 answers
260 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 ...
GriffinBabe's user avatar
1 vote
1 answer
881 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 ...
undercoverbrother_'s user avatar
0 votes
1 answer
942 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 ...
Shibalicious's user avatar
0 votes
1 answer
6k 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 ...
Mike's user avatar
  • 153
1 vote
1 answer
928 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 ...
Bobby's user avatar
  • 131
4 votes
1 answer
634 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 ...
Steven Myers's user avatar