greendot Posted March 24, 2017 Share Posted March 24, 2017 Hi there, I'm a web developer assigned to write a virtual pet game. I have never actually coded a game before - well, maybe many years ago when I was a kid learning how to code The pet would be able to eat, do some gestures, etc. The artist I'm going to work with will be using Adobe Animate. I found this demo to be very close to what I need: https://phaser.io/examples/v2/animation/creature-dragon I noticed there is a png file that contains the image assets, but I'm not sure what the JSON file is used for. I believe it controls the animation, but how is this file created? What tool was used? Thank you Link to comment Share on other sites More sharing options...
greendot Posted March 27, 2017 Author Share Posted March 27, 2017 Any ideas guys? Link to comment Share on other sites More sharing options...
rhennig Posted March 27, 2017 Share Posted March 27, 2017 maybe Dragonbones? (http://dragonbones.com) Link to comment Share on other sites More sharing options...
samme Posted March 27, 2017 Share Posted March 27, 2017 docs/2.6.2/Phaser.GameObjectFactory.html#creature http://www.kestrelmoon.com/creature/ Link to comment Share on other sites More sharing options...
greendot Posted March 27, 2017 Author Share Posted March 27, 2017 Thanks a lot guys for all the replies!! That Dragonbones looks quite user friendly, but I don't think it's compatible with Phaser, is it? How would you guys approach implementing this virtual pet game? I could be going on the wrong path by using this Creature tool. Link to comment Share on other sites More sharing options...
Babsobar Posted March 27, 2017 Share Posted March 27, 2017 The JSON file is likely containing information about the different frames that make the dragon animated. You don't have to use it, you could use phaser.sprite as well, there's probably more documentation and forums posts on using those than on creature. Just my 2 cents. Link to comment Share on other sites More sharing options...
Recommended Posts