Questions tagged [tiled]

Tiled is a general purpose tile map editor.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 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 ...
0
votes
1answer
18 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 ...
6
votes
1answer
248 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 ...
-1
votes
1answer
59 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 ...
1
vote
1answer
52 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:...
0
votes
0answers
27 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 ...
0
votes
0answers
24 views

Pygame Tiled Map Object layer collision

I'm using pygame to make a top down shooter I've placed my tiles and object layers using Tiled Map Editor. My player and mobs collide with their spawn locations (object layer) is anyone able to help? ...
1
vote
1answer
32 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 ...
0
votes
0answers
56 views

Tiled Map Editor. How is the correct texture chosen per tile? (tmxlite)

I am still a beginner, this question is probably quite silly. I made a map in Tiled Map Editor. It contains 3 layers 'sky, water, solids'. Right now, I am just trying to build my sky tiles. I had ...
0
votes
0answers
73 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 ...
1
vote
1answer
38 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, ...
0
votes
1answer
91 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 ...
0
votes
1answer
67 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 ...
0
votes
1answer
33 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 ...
1
vote
1answer
116 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 <...
0
votes
2answers
179 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 ...
2
votes
1answer
180 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
37 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
468 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
66 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 ...
0
votes
1answer
46 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 ...
1
vote
1answer
117 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
1k 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
410 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
169 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
348 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
773 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
64 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
1answer
524 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 (...
1
vote
1answer
327 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
564 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
1k 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
199 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
215 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
694 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
207 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
528 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
635 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
3k 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
543 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
476 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
938 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
39 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, ...
2
votes
0answers
247 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
519 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 ...
1
vote
1answer
357 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 ...
0
votes
1answer
181 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
73 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
535 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 ...