phaser-ce
phaser-ce copied to clipboard
Object parameters with tiled
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.
First of all, I would say what version of Tiled are you using ? which I guess is 1.2.3 as you mentioned it
yes it's 1.2.3 which is the last one i think
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
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