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 Box2D create Bodies

in my libgdx tiles 2D jump and run game I want to create Bodies every second at the positin of my cannons, but as far as I am, only one cannon shoots every second. Can anyone help me how to fix this? Heres where I create my cannons: //create cannon…
Tobls
  • 67
  • 7
0
votes
2 answers

LibGDX importing TMX files

Ive been learning to code games in java and libgdx. My most hated part of any language Ive attempted is the Level Editor (.TMX , tiled) parsing. The Github for libgdx says there is a helpful class made for this which Ive been trying to follow the…
I_Keep_Trying
  • 395
  • 3
  • 17
0
votes
2 answers

Phaser - how to select a Tiled map layer and set it as collision layer

I'm quite new to using Phaser and the Tiled map editor and I'm currently making a platformer game using a Tiled map I made. I haven't been able to find any information in the Tiled or Phaser documentation, or in tutorials or forums on how to select…
kylieo
  • 11
  • 2
0
votes
1 answer

How to load polygon objects from Tiled in Slick2d?

I need to load polygon objects drawn in Tiled into my slick2d game. I can load objects that are rectangles, and create collision boxes out of them, but I can't seem to find any way to load polygons?? (verticies and so on). Is this possible in…
Tholok
  • 53
  • 7
0
votes
2 answers

LibGDX - Displaying player in fron or behind the object

I'm creating a game where you can to all four directions ( up, down, right, left ) and I've encoutered a problem: I can't find a way to make player to be displayed behind the object if player is behind that object. While I was doing it totally…
Sw3das
  • 157
  • 1
  • 12
0
votes
1 answer

Clicklistener - different coordinates while resizing

I have a tiled map on which I set characters(every character is of the size of one tile). I managed to make them clickable, even when screen resizes everything works perfect. Every time I click on character I want a button to show up above it. For a…
Dick Tracy
  • 57
  • 1
  • 4
0
votes
1 answer

Box2D wrong body rotation

I making a map with Tiled and load all box2d bodies with Box2DMapObjectParser to my world and everything just work fine except one thing. I'm using a newer version of Tiled where implemented body rotation. I'm trying to implement it in…
0
votes
1 answer

How to use Tiled in Java

I am fairly new to Java and totally new to Tiled. I want to use Tiled to try a couple of things with AI. I found this to use Tiled in Java: https://github.com/bjorn/tiled I installed it, made the Jar and added the library. But I cannot find any…
MoeSattler
  • 6,684
  • 6
  • 24
  • 44
0
votes
1 answer

How to make mystery box like in mario games in Tiled map Editor?

I'am making simple platformer (C++, Tiled). But dont't understand how to implement mystery box. It must be an object or tile? If it better to be tile, then how animate tiles in tmx map.
JustOneMan
  • 231
  • 1
  • 9
  • 34
0
votes
1 answer

LibGDX - Sanity Check - Tiled Maps & The Player

everyone! This is my first post on StackOverflow, and I thought I might start off on the website with a desperate cry for assistance! I'm currently making a game in LibGDX, and am trying to get my player to collide with a Tiled map, which I believe…
0
votes
0 answers

Pass objects from the app 'Tiled' to XCode [Swift]

I am having trouble passing the objects from my tile map using the app Tiled to my app on XCode. How should I loop / create a method to do that? I have tried this but it seems that it doesn't work: if let ice = group.objectsNamed("IceObject") as?…
toom4ny
  • 63
  • 5
0
votes
1 answer

Tilemap displaying incorrectly on iOS using Cocos2D

I used Tiled to create a tilemap to use in one of my games for iOS; however, it displays incorrectly when I run it. I've tried making multiple different .tmx files with different file sizes for phone, phonehd, tablet, and tablethd. The tilemap is…
Ninwinz
  • 50
  • 6
0
votes
1 answer

Drawing a layered tile based map

So I'm trying to draw a layered tile based map, as the title says. I have this so far. The tiles i am using are (32, 32). It's currently drawing only 1 type of tile as the whole tile map. When it should be drawing out several different types of…
KGSB
  • 39
  • 7
0
votes
0 answers

How do i import .tmx assets from Tiled into Monogame using XTiled

How do i import .tmx assets frome Tiled into Monogame using XTiled? I am trying to get the Content pipeline to use a custom processor for the .tmx files provided by XTiled. I looked at Monogame's documentation on their content pipeline but i don't…
KGSB
  • 39
  • 7
0
votes
1 answer

How to make TMXTiledMap responsive?

My game is a 2D car-based one, with a straight infinite map where I've finally been able to add some random obstacles. There are only 3 positions the car can be at, and everything is working fine. The point is that I've recently noticed that it is…
jjimenezg93
  • 162
  • 4
  • 16