2D Toolkit Forum

2D Toolkit => Support => Topic started by: test84 on December 30, 2013, 03:19:18 pm

Title: Anchors question.
Post by: test84 on December 30, 2013, 03:19:18 pm
Hi,

I've read the documentation but could not understand their purpose. Are they for moving a sprite so you would know where they start moving from? Are they for multi-resolution swapping?

A brief description is much appreciated!

Thanks.
Title: Re: Anchors question.
Post by: unikronsoftware on December 30, 2013, 04:45:09 pm
Its to keep them anchored to a particular point on screen, even when resolutions change, etc. If you want a health bar on the top left regardless of the resolution the game is running on, then you'd use an anchor for this.