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
0 answers

How to get the Fixture of an "Object Layer"? LOVE 2d, Lua, Tiled

I'm trying to make a weirdo edition of PacMan and I need a quick way to .draw all the points (diamonds) across the whole map. My idea was to draw a point every x,y with a loop and then check which of those collide with a wall and delete them. The…
1
vote
1 answer

Issues building .tmx file in Content Pipeline with MonoGame.Extended

I want to build a Tilemap in the Content Pipeline with MonoGame.Extendend but i get a exception. MonoGame.Extended : 3.8.0 The Tileset has been embedded (Marked checkbox before create) and the reference for Content.mgcb is set. I use Visual Studio…
Techobert
  • 11
  • 1
1
vote
1 answer

Applying texture to array of sprites(C++, SFML, tmxlite)

I'm having some difficulty applying a texture to a sprite array. I'm trying to apply the same texture to all, so that I can later setTextRect to decide which part of the texture is used as a tile in my game. The declaration of the sprite array is in…
theWEANS
  • 29
  • 5
1
vote
1 answer

why my Tiled collisions doesn´t work in my pygame project?

Im following a tutorial to make a game working with some pygame tiled and pytmx stuff, but however, we added a new object´s layer with some empty rectangles over the tiles where the player is not being able to enter, then we maked a wall´s list to…
1
vote
1 answer

tiledmap.lua:33: bad argument #2 to 'draw' (Quad expected, got nil)

Using love2d framework and Tiled to make a visual map I keep pulling a missing value error "Quad expected, nil recieved", i think it's "local tid = layers.data[index]" but i have no idea what's wrong or how to even begin fixing the problem I was…
1
vote
1 answer

I'm trying to get localisation in multidimensional array which is equal to mouse coord and put the tile id on it but array refresh everytime

I'm new to dev and i'm trying to learn JS doing game on canvas. This is a Tile Map Editor project I'm looking to create a multidimensional array with the ID's of the tiles i drew in the canvas. So when i go to export the JSON i can handle the…
1
vote
0 answers

LibGdx MapObjects empty on valid tilemap

I am currently using libgdx and it's box2d extension to make an open world platformer. I wanted to render a world from a tmx tilemap, and add physics from it. The tilemap renders fine (using OrthogonalTiledMapRenderer), but when I tried to add…
TKDKid1000
  • 33
  • 1
  • 5
1
vote
1 answer

Animated objects launch at a precise time with pytmx, pygame

I am in troubles, I am trying to make doors opening in my game. I am using pygame, and pytmx, I have built a Level made with Rooms, and in each Room I have a Renderer using pytmx, what I want to achieve is for exemple on level 0 the player has to…
SnK
  • 58
  • 1
  • 6
1
vote
1 answer

How to fix collision detection with tiled movement

What I want to achieve: When moving the player it moves in steps of 1, thus in tiles. When walking against boxes it can move those boxes as long as there is no collider in the direction in which you want to move. (Right now there is no limit on how…
Lilly
  • 61
  • 3
1
vote
1 answer

Trying to make tiled map load in JavaScript using phaser and won't work?

I am trying to use Phaser3 to create a web based game for my course and I am using tiled to create the maps. I have saved the tiled map as a .json file and I can't load the level I designed. The code I am using is from a tutorial as seen below. The…
Ahren Hart
  • 47
  • 8
1
vote
1 answer

Error Parsing tmx and JSON file in Android Studio

I'm trying to load a simple map made by Tiled inside my Android studio project. I'm using libGDX to made a simple platform game. In Tiled I've just imported a tileset, created a platform and anything else. Now I would like to understand in the witch…
DoctorWho
  • 1,044
  • 11
  • 34
1
vote
1 answer

Cocos2d-x tilmap black screen

I am a beginner with cocos2d-x and try to use it with Tiled to create maps. I created a TileMap, and here is my code, in LevelOne::init() in level_one.cpp : if (!CCLayer::init()) { return false; } _tileMap = new…
1
vote
1 answer

AssetManager unable to resolve dependencies of tmx file LibGDX

Please explain to me where I am going wrong. Here is my code. I have been trying to load a level I designed in tile in LibGDX, but have been hit with Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException:…
rachit_verma
  • 301
  • 1
  • 3
  • 8
1
vote
3 answers

How to prevent texture bleeding in a tilemap in LibGDX

I know there are quite some questions (and answers) on this topic, but they all have different solutions, and none of them seems to be working in my case. I'm developing a small test project with libGDX, in which I tried to add a simple tilemap. I…
Tobias
  • 2,547
  • 3
  • 14
  • 29
1
vote
1 answer

load tile map into libgdx in android

I tried to load tile map into libgdx. I followed so many different tutorials and built number of them from scratch. I used "Tiled" to create tmx file and used Tileset png from android-> asset folder. I also set working directory to asset…
kim
  • 9
  • 1