henrikkee Posted October 4, 2015 Share Posted October 4, 2015 Hello, How can i put a object that is on a tilemap using Atlas? what's the code? Thanks Link to comment Share on other sites More sharing options...
megmut Posted October 5, 2015 Share Posted October 5, 2015 Can you elaborate? I don't really understand what you are trying to do? Thanks Nick Link to comment Share on other sites More sharing options...
henrikkee Posted October 5, 2015 Author Share Posted October 5, 2015 Can you elaborate? I don't really understand what you are trying to do? Thanks Nick Sorry, i'm trying to do this: map.createFromObjects('camadaMoedas', 23, 'coins', 0, true, false, coins); but with Atlas. Now to work i'm doing this:map.createFromObjects('agua', 13,'sprites', 0, true, false, agua);agua.callAll('animations.add', 'animations', 'onda', Phaser.Animation.generateFrameNames('agua',0,4,''), 10, true);agua.callAll('animations.play', 'animations', 'onda');i want to know if it has any command that put directly the sprite without using the animation.i don't know if i explained right, but i hope so. Link to comment Share on other sites More sharing options...
Recommended Posts