Sprite options
There are many options related to sprites, some more commonly used than others, but all of them have their uses depending on the situation.
Sprite origins
We will start with the most used option of any sprite, the origin.
The sprite origin defines the center point of a sprite. The origin is made up of two values, the X axis and the Y axis. The X and Y axes allow us to define the center point of a sprite on a 2D plane. A common place for a sprite origin is the middle of a circle, or the top left of a button.
The origin is represented by a gray cross on the image.
Sprite origin can be very useful when it comes to positioning and rotation. When placing an object in a room, the object locks to the grid based on the sprite origin attached to it. If the origin is in the middle of the object, then the object will look to the middle on the grid. When rotating a sprite, the origin is used as the pivot point. When creating something like a turret, you will put the origin on the place where...