Jerenaux / phaserquest

Reproduction of Mozilla's BrowserQuest using Phaser, socket.io and Node.js
http://www.dynetisgames.com/2017/03/18/phaser-quest/
MIT License
371 stars 127 forks source link

How to edit the sprites #7

Closed joaompinto closed 5 years ago

joaompinto commented 7 years ago

Is there a specific tool that we can use to easily edit the sprites JSON and PNG, or are there some kind of atlas format files missing ?

Jerenaux commented 7 years ago

I don't have a tool to edit existing atlases, but to create them I used a slightly adapter version of a python script called Pypacker, from https://github.com/jwezorek/pypacker . My workflow was to put all the assets of an atlas within a directory, and to pack the content of the directory together. If you want I can add these scripts to the repository, I would just need to order them a bit.

joaompinto commented 7 years ago

As I am planning to replace most of the assets (I have a very specific idea for a MMO survival game) I will just use pypacker and incrementally move to the new atlas. Anyway when you have the time I think it would be a good idea to have the assets / atlas build script on the repository. That would allow for sprite assets contribution, which is kind of hard to do now. BTW thanks for your great work on the code, documentation, and description of the MMO main issues with the development of Phaser Quest.

Pastew commented 5 years ago

Hi @joaompinto ,

Did you manage to achieve what you mentioned above? If so, could you share it?

joaompinto commented 5 years ago

@Pastew I was not able to do it, meanwhile abandoned the project :(