Hello Guest

Show Posts

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.


Messages - ilyahan

Pages: [1]
1
Support / Set sprite size in pixels
« on: July 09, 2013, 01:13:01 pm »
I have a sprite which size is 14x14 px. How can I set size of this sprite in pixels?(I use tk2dCamera)
My code:
Code: [Select]
scale.x=newSize.x/14f;
scale.y=newSize.y/14f;
But it doesn't work :(

Pages: [1]