2D Toolkit Forum
2D Toolkit => Support => Topic started by: alcove on November 02, 2012, 08:24:12 pm
-
Just learning this now, and was confused because the documentation seems to refer to placing items via pixel units that are interpreted by the toolkit camera -- but the examples, such as the sheep in the field, seem to have transform values for x and y between 0 and 1.
Am I missing something basic?
Thanks,
Scott
-
There are two options - use a normal ortho camera (units will be whatever arbitrary ortho size you pick), or use the tk2dCamera, where the units are pixel sizes. The tk2dCamera is used in sample 11.
-
Thanks for the quick response. I was confused by the number of references to pixel units and then the use of the normal camera in most of the examples.