Jump to content

Image for tile and sprite sheets / maps


mibel76
 Share

Recommended Posts

Hi,

 

I'm learning how to use the phaser framework and I'm trying to port an existing game to use it. For this game, I have a single image containing all tiles and sprites. I have successfully created a json atlas file and it works well for sprites and hand-created backgrounds. I don't understand how I can use the same file for the tile maps, it seems that the tile maps are assuming that the image containing all tiles is independent from the image containing the sprites, is that correct ? Is there a way to have a single image associated to both tiles and sprites and json files describing the tiles/sprite locations on the image and maps ?

 

Also, I would like to find the documentation or specifications for the json files used by phaser, all I can find so far are references to programs used to create them but nothing on how to create the files by hand (or write a program to do so).

 

Thanks,

Mario.

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...