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

Rendering complete Tiled Map on Android with LibGdx

I am trying to render a Tiled Map on to an Android device. However, when I test it on my android phone, only the top layer is rendered on to the screen (out of two layers total). Is there a way to fix this? I am using Libgdx as well as Tiled Map…
2
votes
1 answer

How do I load a TMX Map from my Documents Directory?

I'm downloading the TMX map and the Tileset from my server, and saving them into the iOS apps documents directory: - (void)downloadMap:(void (^)(NSURL *filePath))callback; { NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration…
Ethan Mick
  • 9,517
  • 14
  • 58
  • 74
2
votes
2 answers

LibGDX - Orthogonal Camera won't stop at edge of map

i'm fairly new to libgdx and java but am learning everything I can! I'm working on an orthogonal 2d tiled game. Basically, i've got my character walking around and the camera following him. I am trying to set it up so the camera stops when the…
Bassex
  • 67
  • 6
2
votes
1 answer

LibGDX Sprite/Tile rendering behind and in front of a object

Quick facts: I'm using Tiled as my Tile-editor. I'm using LibGDX. I got everything to work for a old Pokémon styled game. My problem: I'm not creating Pokémon. My sprite is 60x20 pixels, but I only want the bottom 20x20 pixels (my feet) as my…
user2687506
  • 789
  • 6
  • 21
2
votes
1 answer

How to correct aspect ratio of tiled map rendering in libgdx?

First of all, some explanation of situation. Init tiled map code: map = new TmxMapLoader().load("maps/map.tmx"); mapRenderer = new OrthogonalTiledMapRenderer(map, 1f / 32f); Rendering code: mapRenderer.setView(cam); mapRenderer.render(); The…
Alex
  • 59
  • 2
  • 7
1
vote
0 answers

Loading Isometric (Staggered) Map Data from Tiled JSON into Unity

I have created an isometric (staggered) map in Tiled and exported the map data as a JSON file. Now, I'm trying to load the map data in Unity using C# and display it as an isometric (staggered) tile map. However, my current implementation loads the…
1
vote
1 answer

How to do polygon collisions in Bevy with Tiled editor and Rapier?

I'm very new to game dev and to Rust, so I might be way on the wrong track. I'm using bevy 0.10.1, bevy_ecs_tilemap, bevy_rapier2d, and tiled to make a tilemap with collisions specified in the .tsx file. Some of my tiles use polygons to define the…
Eva
  • 4,397
  • 5
  • 43
  • 65
1
vote
1 answer

LibGDX is not detecting objects in my Tiled object layer

I'm working on a simple top-down game in LibGDX right now and I'm currently trying to implement collisions. I'm using objects imported from the Tiled editor, but for some reason it won't register the objects in my object layer. When I try to get a…
1
vote
2 answers

bevy_ecs_tilemap unable to load tiled .tsx files

Background I am working on a 2D game with Bevy. I want to use tilesets with tiled. I have found the crate bevy_ecs_tilemap and I looks promising for an easy solution. I have a file structure like this and want to load world.tmx tilesets ├──…
Jove
  • 105
  • 4
1
vote
1 answer

Tiled and PyGame, Loading Spritesheet rotates and flips the map

I have generated a CSV file from Tiled showing my gam map, currently have it broken down into 4 files. At this time trying to load in one layout that is my base layer and includes grass, dirt, etc. When loading it in the map is rotated and flipped…
AndrewRoman
  • 31
  • 1
  • 5
1
vote
0 answers

My Pygame (which work with the software tiled) has a big latency to update the map

I have start to developed my first game and I use the Pygame library for this. For the map and the object I use Tiled. When I want to go to the up part of the map (which isn't display at first) I can see that there is a lot of latency with the…
Matsune
  • 11
  • 2
1
vote
1 answer

Overlapping Tile Layers from CSV files in Pygame

I am trying to create a display surface in pygame that has mutliple tile layers involved in the making of it. I have a background, accessories, brown_dirt, yellow_dirt, and water csv files that I am reading from. I am then matching each to its…
Elias Lind
  • 49
  • 1
  • 5
1
vote
0 answers

Constructing a Grid map based on tile indices for filtering movement in SDL2

We are building a basic game engine with a friend of mine as part of a course, and we are now in the process of implementing a grid-map. The grid map will act as a dev-tool for checking the movement filtering logic that is based on tile type i.e.,…
Stelios Papamichail
  • 955
  • 2
  • 19
  • 57
1
vote
1 answer

Phaser.js the opposite of .putTileAtWorldXY

Im trying to make a terraria/papercraft like game, and i've been using tiled for the map, and i've wanted to edit the world(break, destroy blocks) and i've looked at this…
Vatsa Pandey
  • 583
  • 2
  • 12
1
vote
1 answer

Use leaflet to display non-geographical tiled images

The leaflet documentation provides an insightful tutorial to work with non-geographical image, but it is based on imageOverlay. const imageSize = { width: 2315, height: 2315, } const maxZoom = 12 const minZoom = 8 const toLatLng = (x, y) =>…
srjjio
  • 930
  • 1
  • 8
  • 16