Jump to content

map.createFromObjects using Atlas?


henrikkee
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...