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

libGDX - My application freezes in the middle pasting a tiled region

Im copying a region of tiles by camera viewport to a clipboard. From there I am pasting the clipboard back to the map in a certain area. Like so: public void render(float delta) { if(camera.frustum.pointInFrustum(0, 0, 0)) { …
Divergent
  • 141
  • 2
  • 19
0
votes
1 answer

libGDX - How to copy tiles in a camera viewport instead of by layer?

I am trying to copy a set of tiles(Using Tiled and libGDX) that are within the camera's viewport. Right now I have a copy and paste code: package com.divergent.tapdown; import com.badlogic.gdx.Gdx; import…
Divergent
  • 141
  • 2
  • 19
0
votes
1 answer

Tiled MapObject size

I am loading Tiled map via TmxMapLoader and I have no trouble getting tiles, etc. But when I want to extract values from Object Layer, I am only able to get x, y with this code: MapProperties props = layer.getObjects().get(i).getProperties(); float…
Vilda
  • 1,675
  • 1
  • 20
  • 50
0
votes
1 answer

Correct image size for iPhone developing

I am working on an iPhone game in spritekit, for the past while I have been using random graphics but as my game play is beginning to shape up. I think it's time I look into my own graphics development. My level is designed in Tiled, So I would…
Jennifer
  • 89
  • 7
0
votes
2 answers

Tiled game libGDX - couldn't load file (Exception in thread "LWJGL Application")

I am following a java tiled game tutorial using libGDX and I met the following errors : Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: gaming creation/herbe16.png at…
0
votes
1 answer

how to get property name and value in Tiled-software

I am using libgdx, box2d and software called Tiled. in software called Tiled I have create 2 objects on object layer. each objects I have given different property name, and value. my question is that how can I get the property name and value using…
user1924249
  • 540
  • 3
  • 13
  • 38
0
votes
1 answer

Corona use object properties from Tiled layers

I am new to Lua scripting, and game development. So please I am just a noob in Lua. I have searched the net for solutions to my problems, without any luck. I use Photoshop, Corona, Dusk, json and Tiled on windows7. I am creating a "board" like game,…
Nicolai
  • 1
  • 1
0
votes
2 answers

TMX Tiled Andengine Android - FATAL EXCEPTION -

Just getting started with using tmx tiled maps files as maps for my 2d platformer. This is the code I have so far. private void loadLevel() { // TODO Auto-generated method stub try { TMXLoader tmxLoader = new TMXLoader( …
GoodyGreen
  • 13
  • 3
0
votes
0 answers

AndEngine could not load TMXTiledMap from asset error

I've been trying to create a class that mimics the AndEngine TMXTiledMapExample and I cannot get my simple class to load a TMXTiledMap from my assets. Can someone help me understand what's going on? I've set up my asset base path and almost…
0
votes
1 answer

Is it possible to have a repeating object in Tiled/Sprite Kit?

I'm currently building a game using Xcode, sprite kit and now tiled. The game is simple, a person jumping from 1 block to another, but if they hit the side it will be game over. Now is their anyway through tiled to create a block for the person to…
user1483652
  • 799
  • 1
  • 9
  • 16
0
votes
1 answer

libgdx TiledMap Rendering Performance Issue

So I had performance issues with my libgdx project and I tracked it down to the map rendering. I isolated the issue by creating an empty project and do as little as possible, just the map rendering. This is the code I came up with: The Desktop start…
pixlhero
  • 41
  • 4
0
votes
1 answer

Cocos2dX endless map

i'm a newbie with cocos2dx, i'm trying to create a game using tilemaps with cocos2dx and tiled (.tmx), I don't know what if it's the good way to go, but I want to create an endless map, a game when you can run and run for ever if you want. I was…
caraie
  • 1,094
  • 7
  • 18
0
votes
2 answers

Where to add the atlas property for AtlasTmxMapLoader

I am refactorying my game i would like to use the AltasTmxMapLoader to increase the renderingperformance of my TiledMaps. I stuck at adding the atlas property into the map. Where do i need to put it in this map for example?
bemeyer
  • 6,154
  • 4
  • 36
  • 86
0
votes
1 answer

bitwise numbers python

I'm using tiled map editor to make 2d maps for making a game with pyglet. The tiles are numbered and saved to a .tmx file. The tiles numbers start at 1 and keeps ascending but when you flip a tile that tile number is changed with bitwise so when you…
0
votes
0 answers

LIBGDX TiledMapTileLayer index out of range layer?

just trying to load a layer from my tilemap in for collision detection, but having problems. Apparently it tells me my layer is out of range. private void getTiles(int startX, int startY, int endX, int endY, Array tiles) { …
1 2 3
25
26