Rotating Sprite - ArturoNereu/TinyCookbook GitHub Wiki

One of the simplest transformations we can apply to an object (besides translating) is the rotation. Achieving this with Tiny is very simple.
-
Create a new Component named Rotate. The component definition should be similar to our example here.
-
Add the Rotate Component to the Entity you want to rotate.
-
Create a new C# System named RotationSystem in your Tiny project. For a basic rotation around the entity's center, see this system.