1
Releases / Re: 2D Toolkit 2.2 beta 1
« on: August 15, 2013, 10:22:34 pm »
Terrific! Wonderful work to a constantly improving toolset. Digital beers all around!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi Fanglon,
With the force resolution tickbox, you have to make sure your game viewport is the same resolution as well for it to work correctly. You will see stretched sprites if the aspect ratios don't match correctly.
In this case, using a normal ortho camera could be a better choice, as you seem to want the sprites to fill up whatever space is available rather than to keep pixel perfection. A normal ortho camera will automatically do this. The tk2dCamera is targetted towards UI / overlay elements / other cases where having pixel sized world units is a nicety.
unikron
If you don't use the tk2dCamera, make sure your target resolution and camera size in the sprite collection editor is correct, and that your game window is the right size. Creating a sprite then will make it 1:1. Make sure you set up your game view to be the right resolution using the dropdown, otherwise it may be scaled up.
If you're using tk2dCamera (and the sprite collection has been created with the Use tk2dCamera option), the size should automatically be 1:1, unless you're using an override.