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
1
vote
2 answers

How to get a tiled map into Java

I've been trying to figure out how to put a map from tiled into my Java project, but my finds tell me to convert a tiled map to .xml and my version of tiled doesn't have that type available. The version I have is 0.17.1
1
vote
2 answers

LibGDX Tiled get object property on collision

I'm working on a game in LibGDX, and have a map set up with Tiled. I added a custom String property to objects in a specific layer to get further information, what object it represents. I have a ContactListener set up, that calls a method in the…
Johannes Mols
  • 890
  • 1
  • 12
  • 35
1
vote
1 answer

How can I get the location of a tile from a cell in libGDX using floats?

I am currently making a game. It is a 2D tile based game. I tried to make it so that when you step on water your players speed and size changes. I am running this every 60th of a second: if(map.getTileTypeByCoordinate(0, player.sprite.getX()/4.0f,…
xBegin
  • 13
  • 2
1
vote
0 answers

Big TiledMap shows black tiles with Cocos Creator

I have made a big TiledMap with Tiled tool. The map is 50x500 tiles. Each tile is 48x48 pixel. I use "Camera" technique to follow the player on the map. However I can see only 70% of tiles. Other tiles on the map appears black. Is the number of…
Alex
  • 163
  • 11
1
vote
1 answer

Accessing custom properties in 'Tiled' level map (C#, Monogame)

I've managed to read a file into my platform game made by the 'Tiled' level editor, using the TiledSharp library. I finally managed to get a level loaded and displaying properly in my game, but I can't work out how to access the custom properties…
Andy Latham
  • 377
  • 3
  • 10
1
vote
1 answer

cocos2dx cast Value to property string

I have defined a property as tag in tiled map editor, and what to retrieve that in cocos2dx Here is how I do that: for (int h=0; h< size.height; h++){ for (int w=0;wtileAt(Vec2(w,h)); …
armnotstrong
  • 8,605
  • 16
  • 65
  • 130
1
vote
1 answer

Moving tile by tile

I have done a map with Tiled. Every single tile of it measures 32x32 px so does my main character sprite. In my class Player.cpp, I have some functions that calculates a deltaY/X which decide if you are going Left/Right/Up/Down and then you use them…
James
  • 95
  • 1
  • 9
1
vote
2 answers

Black Screen when using Tiled in LibGDX

For the game I'm making I use Tiled to make and edit maps. However, these maps don't load in the sample I've made so far: package com.bluezamx.magillion.screens; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import…
JasperMW
  • 465
  • 3
  • 7
  • 22
1
vote
1 answer

Use tmx file to create map in java

I use Tiled to create tiled map. I create tmx file but I don't know how I can use this file to create a tiled map in javafx. I search and find I have to convert tmx file to XML file. But I don't know how I use from the XML file. please help me to…
ali
  • 15
  • 3
1
vote
1 answer

Get tile player is standing on (player doesn't move according to (isometric) TiledMap LibGDX

I'm developing a game resembling the popular 'Warlock' custom map from WC3. For the game I am using a tiledmap, however the player does not (and is not supposed to) move using the LibGDX tiledmap api. Instead the player moves by vectors. I'm trying…
1
vote
0 answers

Tiledmap stays dark after world rotation in Phaser

I want to create a top down game, on which the "camera" rotates with the character (like in Tap Tap Dash). But Phaser does not implement camera rotation, so I followed this thread to create a world group, which will be rotated. As you can see in…
besserwisser
  • 2,590
  • 3
  • 13
  • 16
1
vote
1 answer

How to implement a SpriteKit tiled background 2d Platform

When it comes to SpriteKit, there is not a lot of "Good" tutorials out there, so I call on the Stack overflow Gods to help me out. I'm building a 2d platformer game for iOS. the map will scroll in all directions depending on character movement. I…
Discoveringmypath
  • 1,049
  • 9
  • 23
1
vote
1 answer

libGDX creating a minimap of a tiledmap

I am developing a top-down 2D game with a TiledMap. Currently i want to create a minimap of my TiledMap, but i´m really confused how to do this. I´ve read something that i should create another camera, zoom out and render the map again, but how…
Liquidz
  • 283
  • 1
  • 4
  • 11
1
vote
1 answer

The collision work but I don't know how know the collsiion direction

I have do a collision with my map the collision work but when my player have a collision I stop the movement of the player and he don't walk because I don't know how stop the player for one direction its my code collision under the player and the…
1
vote
1 answer

TMXLoader error when using Android Studio with AndEngineTMXTileExtension

I am trying to create a tower defense like game. I have created a tiled isometric map with Tiled Map Editor and have saved it is the assets folder in android studio. I am currently using andengine to load the map in my activity. My…
Neel Patel
  • 113
  • 6