gamify 0 Report post Posted April 3, 2017 http://melonjs.github.io/melonJS/examples/UI/ in this above example how the UI_Assets.json is created and how the frames are and its attributes are set Share this post Link to post Share on other sites
obiot 25 Report post Posted April 3, 2017 using Texture Packer : https://www.codeandweb.com/texturepacker Tutorial here : https://www.codeandweb.com/texturepacker/tutorials/using-sprite-sheets-with-melonjs-tutorial which translates to this in the UI example : https://github.com/melonjs/melonJS/blob/master/examples/UI/js/game.js#L23-L28 https://github.com/melonjs/melonJS/blob/master/examples/UI/js/entities/UIContainer.js#L28 https://github.com/melonjs/melonJS/blob/master/examples/UI/js/entities/buttons.js#L21 Share this post Link to post Share on other sites
gamify 0 Report post Posted April 3, 2017 okay thank you so much Share this post Link to post Share on other sites