x


Showing pixels in transform

I'm making a 2D game, and am used to working with pixels to set size and position of sprites. What units are used in the Transform component in the inspector? Is it possible to get it to show pixels for position instead?

more ▼

asked Feb 20 '12 at 12:44 AM

Sharon Hanlon gravatar image

Sharon Hanlon
31 2 3

I think we will need more info about how you display those sprites.

Feb 20 '12 at 02:15 AM Berenger
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I'm using the tk2dSprite plugin. However, it's not the sprites themselves that I'm questioning - it's the Transform component in the inspector, that shows for all game objects, regardless of type. What I want is for the position part of that to show in pixels (or at least to know what kind of unit it does use).

more ▼

answered Feb 20 '12 at 02:17 AM

Sharon Hanlon gravatar image

Sharon Hanlon
31 2 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1332
x33

asked: Feb 20 '12 at 12:44 AM

Seen: 320 times

Last Updated: Feb 20 '12 at 02:17 AM