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

Tiled leaves all values 1 too high

Not sure if this is the best place to ask about tiled, but I know it does have very quick responses so off I go. I am using tiled to generate a tile map for the Ludum Dare, but whenever I export it, it always leaves all of the values 1 too high.…
Jqmfg
  • 141
  • 3
  • 11
0
votes
2 answers

Cocos2d-x: Crash when initiating TMXTiledMap from string

I'm having problems creating a tmx map from string input. bool LevelManager::initLevel(int currentLevel) { const char* map; try { map = LevelManager::getLevel(currentLevel); } catch (int) { throw 1; } if(map !=…
Jimmy
  • 212
  • 1
  • 11
-1
votes
0 answers

How can I impot tile map(created from images collection) into my pygame code?

I'm trying to code platformer (like Supermario) and I'm trying to load my map which was created in Tiled but not in sprite sheet mode but as a collection of image , can someone recommend how realize it properly? How import that set of images if…
pupsik
  • 1
-1
votes
1 answer

Console outputs Uncaught TypeError for .add in JavaScript

I am making a 2D platformer game in which I am using the Phaser-framework (version 3.15.1) to make life easier, and a Tiled map for the first level of the game. I have exported the map from Tiled as a .json file, and read into the main JS file.…
Sputn1k
  • 51
  • 7
-1
votes
1 answer

LNK2019 error trying to compile project using tmxlite

I keep getting these errors: LNK2019 unresolved external symbol _mz_inflateInit referenced in function "bool __cdecl tmx::decompress(char const *,class std::vector &,int,int)"…
-1
votes
1 answer

The collision with TiledSharp don't work

I have tried to make a collision with my player and my map but he don't work My code: http://pastebin.com/yWRuQkEr Its a picture of the error: the image. I'm french and VS don't translate all of the messages. The Key its absent of the…
-1
votes
1 answer

Loading a .tmx file on a Server and send it to a Client

I have a TiledMap where I want to store the .tmx-File on a Server. When a Player is connecting he should recieve the .tmx file as a "Class"/"Ressource"(?) and then load the Map with the .tmx file. My Problem is, in which Object can i store the .tmx…
Liquidz
  • 283
  • 1
  • 4
  • 11
-1
votes
1 answer

How to parse a and displat TMX map object in SDL using tmxparser ?/How to make a platform game using tiled editor and SDL?

I am newbie in this field getting too much trouble in simple platform game for one of my project module if you guys could help or share some code. This is what I have done till now. I could parse a Tmx Map (created using tiled map editor)and…
-1
votes
1 answer

PyTMX/Tiled some tiles aren't appearing

I used PyTMX to help to create a 2d RPG type game in Pygame. The problem I have encountered is that only a certain tile/certain type of tile gets displayed. What I want the map to look like: What I get: My code: import pygame import os from pytmx…
NezamiZero
  • 11
  • 4
-1
votes
1 answer

How to prevent map hacking in MMO

I'm making a java 2D online game. I use a tiledmap and I've been thinking about a way to prevent map hack. My idea is to send the player's map file (compressed) which contains all cells and collision cells to the server and to compare it with the…
OmiCroh
  • 13
  • 2
-1
votes
1 answer

How to stop player from travelling through a layer?

I am working on a tile-based game. However, due to things such as furniture my map has multiple layers. I have (for the time being) created a square to represent my player. In order to stop my player walking on furniture, I need to make a function…
Forrest4096
  • 159
  • 1
  • 8
-1
votes
1 answer

Pattern of falling objects for a particular level

Note: Please refer to the attached image for better understanding. I need to have a particular pattern of falling objects for a particular level, therefore I want to know if I should use tiled map with objects drawn or use code to create pattern for…
Deeyo
  • 27
  • 3
  • 9
-1
votes
1 answer

How to getTileProperty while using multi-layer map?

I'm new to Slick2D, and I'm using Tiled to make .tmx map. for (int xAxis = 0; xAxis < map.getWidth(); xAxis++) { for (int yAxis = 0; yAxis < map.getHeight(); yAxis++) { int tileID = map.getTileId(xAxis, yAxis, 0); String value =…
Fuuka Adachi
  • 23
  • 1
  • 7
-1
votes
1 answer

Objects in isometric tile games using XNA and Tiled

Since a few days ago that I'm trying to make a game using XNA. I'm using tiles for my game and I've decided to make it look isometrical. I've seen tutorials that explain how to do a game engine using matrices for the position of the tiles but since…
-2
votes
2 answers

Issue Importing Tiled Map into Flutter Flame Tiled: Unexpected Lines Appearing

I am currently following this tutorial: https://www.youtube.com/watch?v=D1ZQFlH4g0E I have an issue when I import my map that I created on Tiled with Flutter Flame Tiled; I get lines appearing in certain places as you can see in the screenshot, I…
Milaethe
  • 43
  • 5
1 2 3
25
26