phaserjs / phaser-ce

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
http://phaser.io
MIT License
1.34k stars 491 forks source link

Object parameters with tiled #623

Open thomasMeynckens opened 5 years ago

thomasMeynckens commented 5 years ago

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.

nazimboudeffa commented 5 years ago

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

thomasMeynckens commented 5 years ago

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

samme commented 5 years ago

Enable the json1 plugin and export in Tiled 1.1 format.

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

nazimboudeffa commented 5 years ago

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