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
0
votes
1 answer

LibGDX - TILEDmap - why is layer offset not rendered?

Rendering a TiledMap is easy in LibGDX, however the layer offsets are not rendered at all but appears correct in TILED (Tiled Map Editor). The rendered map appears as all offsets are at 0 (no offsets at all). Is this feature even supported in…
Gabriel
  • 21
  • 2
0
votes
1 answer

LWJGL + LibGDX + TiledMap 2D Platformer Graphics (Beginning)

I want to start working with LWJGL,LibGDX and TiledMap on a 2D Platformer game (JAVA). At start I want to learn how to load the Background and the Player. As I learned, for the player, I have to create a png with multiple positions of a player and…
STUDENT_LIFE
  • 37
  • 1
  • 7
0
votes
1 answer

create a Sprite list from a tmx map (TiledMap) in LibGdx

After many search on the internet I cannot find the answer .. What is the situation ? I'm a student in computer science at university (in belgium) and i have to make a tower defense in Java with the graphic library LibGdx. What is the problem ? In…
0
votes
1 answer

Tiled Map Editor, Green Lines on the collisions

I'm working on a map in Tiled Map Editor. When I run the game my player is standing on the border collisions I made with the Rectangel Object. That's good. But I don't want the green lines to be visible.…
Filip
  • 127
  • 11
0
votes
1 answer

LibGdx Tiled Map Rendering Issue

Im trying to study a book to learn LibGDX game engine but i have a problem with rendering tiled maps. i think i wrote the same code with book but i couldnt get the same result. its a simple game with a character and a map. When i rendered my…
Ali Lei
  • 1
  • 2
0
votes
0 answers

Screen will not render unless resized in libgdx using tiled map

It was all working great and then I tried to run it on an android and this started happening. I worked on it for a while then thought, ok let's go back to the bare bones and see if I can fix it there, no such luck. I have Main screen and a intro…
user1810577
  • 13
  • 1
  • 4
0
votes
1 answer

cocos2d-x tiledMap create return null?

I am currently following Ray's tutorial on cocos2d-x tile map and my very simple code is not working at all. So here is my code, _tileMap = TMXTiledMap::create("TileMap.tmx"); this->addChild(_tileMap); and according to the debugger, _tileMap is…
Sdiao
  • 13
  • 2
0
votes
0 answers

Finding out the x and y value of each Tile in a layer in Tiled

So i am using a Tiled Map in Sprite Kit and i want to place tile on a new layer "enemy" so i can place where all the enemy's will start on the map. This is a platform based game i am developing, I was wondering if this was easy to do or if there are…
Ben Wilson
  • 31
  • 8
0
votes
1 answer

Showing actor movement range on tiles

I am trying to write something that will take a X and Y coordinate and a value that represents the available movement points the selected actor has. It should then output a list of the reachable locations so that I can highlight those tiles when the…
sistergodiva
  • 23
  • 1
  • 3
0
votes
1 answer

Loading .terrain files from tiled to plain javascript

I'd like to ask if its possible to load .terrain maps from "Tiled" in plain javascript without any frameworks or something...? Or do you recommend using another map editor supported by plain javascript on websites? It will be used in canvas as a map…
strangereu
  • 81
  • 1
  • 8
0
votes
1 answer

How to Incorporate tilemap (from tiled) into phaser

I'm basically trying to create a platform game using Phaser. I created a JSON file in Tiled, and am now trying to add it to the world. I've actually been trying to add it for the past three hours, but have not been successful. I looked at many posts…
Leonard Parisi
  • 200
  • 1
  • 3
  • 12
0
votes
1 answer

Tileset background black? phaser

I have made a map with Tiled. ] When I render the map on phaser i get this ] It seems that the background of the tiles is not transparent. I want to make the black background of the tiles to be green as the grass like they are in Tiled
0
votes
1 answer

MapEditor export as JSON - Object encrypted?

I have used MapEditor for my choice of map creation with my particular TileMaps that i have made. My question is this: When exporting a created map VIA JSON, Usually it seems most map's are shown as their tile id as shown in the snippet below. { …
SenjuXo
  • 157
  • 10
0
votes
1 answer

How to change a tile dynamically in Tiled? (AndEngine)

I want to fall down a tile on my tilemap when player walks over that specific tile after a few seconds.How would I do that? Edit: I'm developing a 2D platformer game...I want when player jumps on a platform,that platform fall down after a specified…
Mary
  • 487
  • 4
  • 18
0
votes
1 answer

Libgdx TiledMap renders partial tiles

I am having issues with Tiled and Libgdx. I am making a scroll platform game and I am trying to make 1 (for now) background that will repeat itself. The main map in Tiled is composed of various images stacked one next to the other, once I fill all…
Benjamin Vison
  • 469
  • 9
  • 20