Pyxel Edit and Phaser Framework

gnarvingnarvin Posts: 1
edited July 2014 in General
Hi, I just started using both Pyxel Edit and Phaser, I'm trying to get tiled maps working but can't seem to get it. When I say and export as a json file it tells me that Phaser only supports orthogonal maps. Is there a setting for this, or does Pyxel edit just not support that or am I just doing everything wrong completely. If anyone has used both PE and Phaser together and could help me out it would be greatly appreciated.

Comments

  • seitenseiseitensei Posts: 7
    gnarvin,

    To my understanding, Phaser specifically supports JSON files that follow Tiled's JSON format. There are a number of differences between the JSON exported by PyxelEdit and the JSON exported by Tiled, which is to say that Phaser doesn't support the JSON Tilemaps exported by PyxelEdit without modification (to my understanding).
  • DanikDanik Posts: 777
    Like Seitensei said, Phaser uses a different tilemap format so you'd have to implement the loading.

    Maybe this AS3 example is helpful since AS3 and Javascript are very similar: https://github.com/Danik/Pyxel-Edit/blob/master/examples/as3/TilemapLoading.as3
Sign In or Register to comment.