2D Toolkit Forum
2D Toolkit => Support => Topic started by: mamamia on October 26, 2012, 11:07:36 pm
-
Hi,
For me it would be really handy to set sprites in screen pixels. I mean for example 0,0 would be top/left or bottom/left and 0,480 would be top/right or bottom/right if resolution is 480x320. Is it possible with 2d toolkit?
If this is not possible how do you position things correclty in the screen? It is a bit hard to use world coordiantes. I'm so used to things lake gamemaker...
Thanks in advance.
-
Use the tk2dCamera, everything is in pixels there. (0, 0) is bottom left of the screen. (100, 100) is 100 by 100 pixels from the bottom left. Spend a bit of time learning how it works and it'll really help.
-
Thanks for the fast answer.