lmfname_Marco Posted September 7, 2015 Share Posted September 7, 2015 dear all, I have a problem. I make a group in the game. and create some sprite;and now I want to spriteA cover spriteB,I use this method : game.world.swap(spriteA,spriteB); But it doesn't work.can you help me? Link to comment Share on other sites More sharing options...
in mono Posted September 8, 2015 Share Posted September 8, 2015 If they're already in a group, you'd call swap() on that group, not on game.world. Link to comment Share on other sites More sharing options...
lmfname_Marco Posted September 12, 2015 Author Share Posted September 12, 2015 If they're already in a group, you'd call swap() on that group, not on game.world. thank you very much. I try it. Link to comment Share on other sites More sharing options...
Recommended Posts