adinuno Posted April 14, 2015 Share Posted April 14, 2015 Hi there, I've been reading a lot about Phaser lately, but I can't find any information about how Phaser handles the spritesheets.How can I handle spritesheets that have horizontal and vertically displayed images? How can I assign the frame numbers and coordinates to an object? Thanks in advance, Link to comment Share on other sites More sharing options...
Pooya72 Posted April 15, 2015 Share Posted April 15, 2015 This example should be a complete answer to you questions if your trying to create an anmiation (like walking guy)http://phaser.io/examples/v2/sprites/spritesheetBut if you want to add all of your sprites in one png file,You need to use atlas file (texturepacker app makes them just by some clicks)http://phaser.io/examples/v2/sprites/shared-sprite-textures Link to comment Share on other sites More sharing options...
Recommended Posts