Tiled is a general purpose tile map editor.
0
votes
0answers
27 views
Tiled2unity problem. Every tile is one color
I'm trying to get Tiled2Unity working on ubuntu. I followed the instructions for Tiled2Unity Lite and I got it running by using the following command:
mono $CSSCRIPT_DIR/cscs.exe Tiled2UnityLite.cs ...
0
votes
0answers
27 views
How to get the position of my layer in tiled map?
I'm trying to make a 2D grid in my isometric map, butI want to start my position from my specific layer, no the entire map itself. I can't use the getPosition() or getBoundingBox() since it's ...
0
votes
0answers
32 views
How can I pass the xy coordinates coming thought websocket to moveToXY to move the sprite
//Code for received coordinates
/************ON RECEIVING MESSAGES VIA WEBSOCKET *////
ws.onmessage = function(event) {
var mySpan = document.getElementById("messageGoesHere");
var mySpan2 = ...
0
votes
1answer
26 views
LibGDX Tiled Map - Get MapObject ID
I have a MapLayer with MapObjects and i want to know the ID of the MapObjects in this Layer, any idea how to get the ID?
0
votes
1answer
63 views
LibGDX - Managing and starting new levels
I have a Manic Miner style game where you need to collect all the items from a screen before you can advance to the next screen.
I have a screen class called "PlayScreen" wich starts out by loading ...
0
votes
0answers
51 views
Travian Map with tiled staggered isometric in xamarin cocossharp
I want to create a static staggered isometric like Travian map in Xamarin (Nothing moves on it , just like travian)
Is Tiled with CocosSharp the way to create it ?
(Please gimme a link to a guide if ...
2
votes
0answers
49 views
How to go about implementing pathfinding in Unity with Tiled2Unity map prefabs?
I have created a map using Tiled application and have added collision boxes and used Tiled2Unity to import the map to Unity. The collisions are working with key inputs.
I want to implement ...
1
vote
2answers
58 views
How to handle Tilled Map z index order with player in libgdx?
The below 1st image is the example how I render tiled map with player, I can properly change the player z index, If I want to make the player below the box i just set the z index to 0. But the problem ...
1
vote
1answer
72 views
Programatically Build List of Custom Class Objects (prefabs)
This seems like it should be a simple thing, but I cannot seem to figure out a method.
Currently, I have a public List<MapGraphItem> roomList variable, and in the inspector, I add prefabs from ...
1
vote
1answer
72 views
Can't make sprite collide with tilemap made with Tiled
I'm a newbie who just started learning phaser.
I have created a tile map with Tiled.
It is composed of two tiled layer: background & collision.
In collision layer I put some walls.
And in the ...
1
vote
0answers
25 views
Rectangle in object-layer has wrong coordinates in game
I extended the SuperKoalio LibGDX Example about an Tiled Object Layer in the Tiled Level-Editor and draw a rectangle on this layer.
Now I would like to draw this rectangle in my game using the ...
1
vote
0answers
50 views
Level data for Mario or similar platform game [closed]
It has become a widespread to implement a Mario-clone to practise writing platform games or in order to demonstrate how a game engine works.
For that reason I expected it to be easy to find level ...
4
votes
1answer
181 views
Is it cheaper to let each tile have its own collision?
I'm just now playing around with Tiled, and I think this is the way I'm going to go to create tilesets for my game maps, but I'm curious about the cost (memory/CPU) difference between setting a ...
1
vote
1answer
121 views
How to integrate Tiled maps and collision detection with pygame?
I have been using pygame to make a simple rpg pokemon style game. To create maps I have used the Tiled map editor and then loading them into pygame using pytmx.
I have heard that you can add object ...
1
vote
1answer
36 views
My displayed Tiled map is rendered with different tile indexes than in the editor in Slick2D. Why?
The first picture is what I have in the editor and the second one is what I got when I rendered my map.
@Override
public void init(GameContainer container) throws SlickException {
this.container =...
1
vote
0answers
189 views
Box2dMapObjectParser isometric map - bodies have wrong position and size
I'm using Box2dMapObjectParser to load Tiled objects layer onto my IsometricTiledMapRenderer'ed TiledMap.
It works OK with a UnitScale of 1 but the position is wrong and some shapes have weird ...
0
votes
0answers
65 views
TiledMap Safe Area for different screen resolutions
I'm creating a Tower Defense game using libGDX (w/ scene2d) and TiledMap.
I've been reading extensively about viewports and how I can better manage various screen sizes.
I want my Tiled Map to take ...
1
vote
3answers
83 views
Tiled height level collision
I have created the below tilemap in tiled and I am wondering about a good approach to "separate" these two different heights in the map. I would like to keep it tile based, so adding a object layer ...
1
vote
2answers
120 views
Why is my character passing through in Box2D?
I have a collision problem in Box2D.
I am trying to do a simple platform game with Libgdx, Box2D and TiledMap.
I have a map made with TiledMap:
I load the map in my Android game. I read all the "...
0
votes
1answer
80 views
LibGdx Tiled Map Rendering Problem
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 ...
0
votes
0answers
93 views
Libgdx and Box2D TiledMap render is not smooth
I'm building simple side scroller game. My player (square) move fast and it interacts with other world objects. Problem is when my player is moving it seems that all world is rendering somehow strange ...
1
vote
1answer
196 views
Make game camera stay inside of tiled map boundaries [LibGDX]
I am creating a little 2D platform game, with the LibGDX framework. So far I have created a simple prototype level in Tiled, and loaded this map into my LibGDX game. I can use mouse and keyboard ...
0
votes
0answers
144 views
libGDX render 2 tiled maps at different coordinates
I am currently learning libGDX and I want to make a game that loads multiple tiled maps and renders them. This is what I have now:
public class PlayScreen implements Screen{
private Main game;
...
1
vote
1answer
71 views
Error When Loading a .tmx TILED map through the TiledMap class
So I made a map using the TILED application and I have it as a .tmx for reasons, but whenever I use the TildMap class in the Slick2D library to render the map on the screen, it gives me an error. Here ...
0
votes
0answers
49 views
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 ...
1
vote
1answer
124 views
How to replace tiles in Tiled in AndEngine?
in my Game I Create object layers and interpret the shapes in the engine as collision objects...now I want when Player collide with object,
after a few seconds object falls...this works properly but ...
4
votes
1answer
256 views
Creation of a tiled map editor polyline in box2d is not working correctly
I'm currently trying to create a box2d polyline object in my libgdx game, but it's not working as expected.
To get a better picture of my subject, have a look at how it should look like, and how it ...
2
votes
1answer
147 views
How to use 16/32 square pixel tiles in tilemap on arbitrarily sized canvas in Phaser
My question is about Phaser and Tiled but I'm not quite sure how to ask it so please bear with me.
Do I need to make the size of the canvas or area on which I want to display my tilemap a multiple ...
2
votes
0answers
70 views
Get a body from TiledMap via MapBodyBuilder and draw a sprite on it in LibGDX?
I use a various of MapBodyBuilder in my Libgdx project. I created a body from map.tmx via my MapBodyBuilder and in my SpriteBuilder buildSprite method i created its sprite:
sprite = new Sprite(atlas....
0
votes
2answers
114 views
How do I properly load maps?
I'm trying to load my map properly, but it takes some time (after the games has been started) to be how it should. Am I doing something wrong? Why is this happening?
AndroidStudio:
Tiled (map editor)...
2
votes
1answer
136 views
How to use Tiled Editor to recreate a 2D map?
Alright, to familiarize ourselves with the Tiled Editor, the teacher asked us to replicate a tile-based map of a 2D platformer.
He gave us pretty much these two things:
1.) A selection of maps to ...
4
votes
1answer
501 views
Why is libGDX's HexagonalTiledMapRenderer adding extra space?
Why are there large spaces between the hexes when rendered by HexagonalTiledMapRenderer? The tiles ARE black bordered, but that doesn't account for all the extra space. I was also able to get them ...
1
vote
1answer
156 views
Box2D - Platformer tiled map problem
I'm using C++, Box2D and SFML.
I convert a Tiled map to world in my platformer game and I get stuck when I go against a block when I go forward like that :
I can use a circle as foot of my character ...
1
vote
2answers
317 views
Static spawning locations for players, creatures, items in Tiled map editor
I am using Tiled map editor. I am trying to add static spawning locations (x,y) for various entities (lets say 15) in my game. The best idea I had so far is something like this:
I am using a polygon ...
0
votes
2answers
1k views
Tiled object layer draw sprites
I added some tiles to some object layers in my tiled map and now I want to draw them in game.
I tried to render everything with
mapRender.render();
but the tiles doesn't show up.
Then I tried to ...
1
vote
1answer
170 views
Tiled tilemapper - isometric
I'm attempting to move from oblique mapping (45 degree angles) to isometric (30 degree angles) in Tiled.
I made a test tile in Photoshop:
Made an isometric map:
But my tile appears completely ...
2
votes
2answers
364 views
LibGDX - Tilemap Wall Collision Detection Issues
I cribbed some code from another web tutorial (SuperKoalio - https://github.com/libgdx/libgdx/blob/master/tests/gdx-tests/src/com/badlogic/gdx/tests/superkoalio/SuperKoalio.java) about detecting a ...
0
votes
0answers
157 views
Unity Quality Reduction only reduces my player sprite quality
I created a small map in tiled then imported it into Unity. A small sprite character is controlled by the player to roam about the map. I am experimenting with this for University and wanted to see ...
0
votes
2answers
1k views
Java libgdx Game Screens and rendering tile map [closed]
I'm working on a 2D tiled game with Java and libGDX. I'm having problems implementing gamescreens. I'm trying to set the screen to gameScreen and start rendering tiles, but I'm getting a nullpointer ...
0
votes
1answer
86 views
Sharing Tiled Maps [closed]
Where can share my existing Tiled maps, as well as download and use other people's existing maps?
2
votes
1answer
80 views
Libgdx, tiled map - how to reload layer?
In the simple platform game I'm making, when player collects coin, its cell is set to null. Is it possible to recover all cells from layer "coins" after player dies? I have tried multiple things but ...
1
vote
1answer
1k views
LibGDX Tiled Map - how to get embedded objects
I am using LibGDX to learn Game Development. I have reached the phase I am learning to use Tiled Maps.
In Tiled map editor, there is a feature where we can pick a tile in the tile set, go to View -> ...
0
votes
1answer
340 views
Store metadata for tile in Tiled Map Editor
In my tilemap-based game, I need to associate lights with light switches, buttons with doors etc. I am using the Tiled map editor (mapeditor.org), but I have yet to find a way to store these ...
0
votes
1answer
308 views
Datastructure for infinite 2D map [duplicate]
I started a 2D Tilegame programmed with libgdx which needs potentially infinite tiles. That means when the player arrives the border of the map it should be possible to generate even more tiles. So a ...
0
votes
1answer
341 views
Tiled PolygonObjects rendering wrong in libgdx
this is how I render the polygons in Tiled
this is how they get rendered in libgdx. Notice the top part of the triangles is straight instead of being hollow.
here is the code I use to convert the ...
0
votes
1answer
54 views
How to handle dimension changes on tileset? (Tiled)
I am using Tiled map editor.
My question is:
What should I do if I would like to change the dimensions of the graphic file for the tileset? The IDs will shift if I will not adapt the graphic ...
0
votes
0answers
307 views
Maximum tile and texture size for tiled maps
I'm currently making a game using libGDX and Tiled.
Everything was running fine until I changed the tile size from 96x96 to 300x300. Most layers are still displayed correctly but the tiles of a ...
0
votes
1answer
179 views
Rendering mountains around a tile layer [closed]
When making a 2D Pokémon game, I just faked elevation by putting mountain tiles underneath the land. Now my tiles are 3D models, so I'm using layer properties to define their elevation. What I don't ...
1
vote
1answer
167 views
Handling creation of entities on level creation
I'm currently working on a 2d physics based plat former, kinda in the style of super meat boy. In super meat boy, you have multiple levels and I want a similar sort of thing but is there a general way ...
1
vote
1answer
2k views
Draw image layer in tmx map - libgdx
I created a map only with an image layer in tiled map editor.
When I want to load the map the layer isn't shown. Only the background color.
Followed the tutorial from
http://www.gamefromscratch.com/...