phaser-ce icon indicating copy to clipboard operation
phaser-ce copied to clipboard

Object parameters with tiled

Open thomasMeynckens opened this issue 5 years ago • 4 comments

as i Described in this post on the forum : https://phaser.discourse.group/t/object-parameters-with-tiled/2154

the function "createFromObjects" seems not to work with 1.2.3 version of tiled when trying to pass parameter to objects from tiled.

thomasMeynckens avatar Apr 18 '19 23:04 thomasMeynckens

First of all, I would say what version of Tiled are you using ? which I guess is 1.2.3 as you mentioned it

nazimboudeffa avatar Apr 18 '19 23:04 nazimboudeffa

yes it's 1.2.3 which is the last one i think

thomasMeynckens avatar Apr 18 '19 23:04 thomasMeynckens

Enable the json1 plugin and export in Tiled 1.1 format.

I guess we’ll have to update the parser. 🙁

  • https://github.com/photonstorm/phaser/issues/3998
  • https://github.com/bjorn/tiled/issues/2034
  • https://github.com/bjorn/tiled/issues/2058

samme avatar Apr 20 '19 18:04 samme

I am checking how it's possible to parse a Json export made with Tiled v0.14 and it seems that the way it is exported now has changed with 1.2

Also I want to know which version of Tiled was used to parse the Json exports with the available algorithm in the actual version of Phaser CE because there is a way to go back to it with the diffrent available releases you can check it on the Tiled repository https://github.com/bjorn/tiled/releases

nazimboudeffa avatar Apr 23 '19 21:04 nazimboudeffa