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 - xikky

Pages: 1 [2]
16
Support / Re: using tk2dCamera help
« on: February 01, 2013, 01:41:36 pm »
Thank you for your reply unikron.

One last small thing.. when I click on the "1:1" (make pixel perfect) button on the sprite, it is scaled a much bigger size. Why is this so? when should I use this button?

17
Support / Re: Animated Sprite collider not being created properly
« on: January 31, 2013, 06:01:17 pm »
Thank you this one helped me too.

similar to this ... I cannot change the scale of a box collider on a sprite. The only way that the box collider can be scaled is by scaling the sprite itself. Am I missing something here?

18
Support / using tk2dCamera help
« on: January 31, 2013, 09:57:59 am »
I am having problems when using the tk2dCamera object and would really appreciate some help.

So what I am doing? I created a background image for testing purposes with a resolution of 1280x720 which I have put in a sprite collection (with use tk2dCamera ticked) and produced a sprite object with this background image texture. I have then added a tk2dCamera and I am now trying to fix the whole image on the screen.

I have set camera size to 100
I have set the native resolution to 1280x720
I also set the camera resolution to 640x360 and also fixed the game window to match the same resolution

Went back to the background sprite inspector, and clicked 1:1 button for pixel perfect texture. The texture was scaled from 1 to 360 in all axis and this resulted in the camera displaying a zoomed area of the image.

I went back to the camera object and added an override resolution of 640x360 and a scale of 0.0014. And as a result, the whole image was now displayed on the camera.

If I delete the tk2dCamera and create a normal unity camera object with size 100, and then I go in the sprite collection and untick the use with tk2dCamera and set the height to 720, and click on the 1:1 button on the sprite object, the whole image is displayed in the camera.

I would like to ask you if in both cases the background image is at pixel perfect? and what is the difference between the two as in features, advantages and disadvantages?

Pages: 1 [2]