Questions tagged [tiled]

Tiled is a general purpose tile-based game map editor under GPL license. It supports several map formats (XML, JSON) and multiple platforms.

Tiled is a general purpose tile-based game map editor under GPL license. It supports several map formats (XML, JSON) and multiple platforms.

390 questions
2
votes
2 answers

Tiled collision editor, object layer in use in Phaser

I have added tree collision this way in Tiled. How can I use this collision to collide with the player in Phaser?
2
votes
1 answer

collision issue with pygame in python3 using tiled

im working on a litle game using pygame in python3. Im using tiled for the map and pyscroll for the camera and i don't know how to solve this issue: i made detection collision that work using object layer in tiled and a litle bit of code. the…
Siiyu
  • 43
  • 4
2
votes
1 answer

How can I load an exported Tileset (image collection) from Tiled in Phaser 3?

I want to load an image collection tileset into my phaser game. I know that with tilesets that are just one image you can just load that image into phaser, but what about an image collection? In Tiled I saw the options to export that tileset as…
2
votes
2 answers

Monogame C# - How do I draw my sprites between tilemap layer 0 and 1?

I have a tilemap: this.TileMap = Content.Load("Maps/MyTileMap"); _tiledMapRenderer = new TiledMapRenderer(GraphicsDevice, this.TileMap); I would like to render my normal sprites between layer 0 and 1. Kinda like this: DrawLayer(0,…
Spikee
  • 3,967
  • 7
  • 35
  • 68
2
votes
1 answer

Problem with transparent tiles with Tiled and pytmx in pygame

I can't get pytmx to render transparent tiles from Tiled correctly in pygame. On this example you can see that the tile rendered from the tmx file is showing a black background, i would like to have it like the image rendered directly from the image…
lutre69
  • 139
  • 6
2
votes
4 answers

Unable to load tilesets and maps into my Phaser3 game

I am new to phaser and game development. I followed the below tutorial. https://medium.com/@michaelwesthadley/modular-game-worlds-in-phaser-3-tilemaps-1-958fc7e6bbd6 I downloaded and Tiled software and made a simple map with a tileset I got from…
ShashankAC
  • 1,016
  • 11
  • 25
2
votes
0 answers

Does pytmx provide you with a way to tell if an image has been rotated, flipped horizontally/diag working with Tiled?

I am making a game using pygame and Tiled to design the map. I am able to load the tiles and blit them on to the screen. When i flip the tile horizontally/rotate inside of Tiled and run the game, the tiles are not rotated inside of the game. So i…
Ucy
  • 21
  • 2
2
votes
1 answer

how to maintain the appearance of the tiled map when I change the resolution in libGDX

i have created a test tiled map for a 2D game that i am programming. And everything is fine with!, but when i change the resolution the camera doesn´t fit the screen correctly. I have a player sprite and the Tile map, and I use a resolution of…
Luis Bermúdez
  • 592
  • 11
  • 25
2
votes
1 answer

Rendering tiles that are seen on screen

everybody, I'm making an android game using java and libgdx. I'm also using Tiled to render my tiles on the screen. I hava the camera set up already, all I need is to figure out how to not render tiles that are not shown on the screen. Here is the…
2
votes
1 answer

SKTiled: specific tile position

I am using SKTiled. The SKTileLayer.tileAt(0,0) function returns the tile at a CGPoint. The SKTileLayer.pointForCoordinate(coord: CGPoint) does the same. All I want is to get a Tile on the Grid (0,0) and not tiles on CGPoints. That would be the…
Lirf
  • 111
  • 12
2
votes
3 answers

libgdx camera position using viewport

I am rather experiences libgdx developer but I struggle with one issue for some time so I decided to ask here. I use FillViewport, TiledMap, Scene2d and OrtographicCamera. I want the camera to follow my player instance but there are bounds defined…
Mateusz Gaweł
  • 673
  • 1
  • 8
  • 22
2
votes
1 answer

ERROR:For input string: "" when I add object layer to my tilemap

I am currently trying to render a tilemap I made with Tiled using Slick2D, and everything works fine until I include an object layer in my tilemap. I have searched the internet far and wide for an answer to my dilemma, and it seems that most other…
Clausiel
  • 53
  • 5
2
votes
1 answer

Solve pygame binascii.Error: Incorrect padding?

I'm making a game for my final project in class. I'm quite new to pygame and this whole game development thing. I used this video as my guide. I used Tiled to make a tile map for my game but when I tried to run it with pygame, I got this: Traceback…
Rose
  • 25
  • 6
2
votes
1 answer

Tiled in LibGDX cannot cast java.lang.String to java.lang.Boolean

I'm trying to make a function to check if a cell in Tiled can be passed, by accessing a Boolean custom property I gave each tile. This is (part of) my code. ... public boolean isCellPassable(int column, int row, MapLayer layer) { boolean canPass…
Jacob_
  • 247
  • 2
  • 13
2
votes
0 answers

Tiled map overlap detection not working properly

I am building a tower defence game and I am facing an issue in Phaser with tiled maps. You see different layers in tiled always have coordinates from (0,0) to (600,600) -> or whatever your tiled width and height is. I have a backgroundLayer and a…
Daniel petrov
  • 875
  • 9
  • 14
1 2
3
25 26