Skip to content

Instantly share code, notes, and snippets.

@corpsefilth
Created February 16, 2015 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corpsefilth/8570b7f4c2ef1fb68ab8 to your computer and use it in GitHub Desktop.
Save corpsefilth/8570b7f4c2ef1fb68ab8 to your computer and use it in GitHub Desktop.
More info on Phaser groups
// A group can act like a giant sprite, so it has the same properties you can edit
group.x;
group.y;
group.alpha;
group.angle;
// Return the number of living members in the group
group.countLiving();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment