mokargas Posted December 12, 2013 Share Posted December 12, 2013 Let's say I have a row of aliens shooting sprites down. How can I make the individual bullet sprites spin via the update loop? Currently the only thing I can get to spin is the group containing the sprites, which isn't ideal. Link to comment Share on other sites More sharing options...
rich Posted December 12, 2013 Share Posted December 12, 2013 In your update loop you could run one of the Group methods that updates a sprite property, for example I think Group.addAll() could be useful for this, but only if each sprite should rotate at the same speed. Link to comment Share on other sites More sharing options...
mokargas Posted December 12, 2013 Author Share Posted December 12, 2013 That would be acceptable, since they are variations of the same bullet sprite. I'll investigate further Link to comment Share on other sites More sharing options...
mokargas Posted December 13, 2013 Author Share Posted December 13, 2013 Thanks Rich, that idea worked perfectly! Link to comment Share on other sites More sharing options...
Recommended Posts