Shaku Gfx Demo: Sprites Group

This demo uses a Sprites Group to draw a collection of sprites with parent transformations.
This method is useful when you need to group together a bunch of sprites and move, rotate and scale them as a single unit. In this case the sprites we have are tank wheels, body, and turret.

Use Arrows or WASD to drive the tank, and Z/X to rotate the turret.
Press 1-3 to change tank body color.
Click anywhere to switch turret control from keyboard to mouse (press Z/X again to restore keyboard control).

Tank image is from: https://opengameart.org/content/top-down-vehicle
Grass image is from: https://opengameart.org/content/10-seamless-grass-textures-that-are-2048-x-2048-grass-1png