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 - Hamlet Archer

Pages: [1]
1
Support / tk2d camera and webplayer zoom issue
« on: November 23, 2012, 09:07:01 am »
i am using the tk2d camera with the unity webplayer. the field of vision changes when the player zooms in/out on the web browser.

more details: the background is normally 1024x768, and i have set the tk2d camera resolution, player resolution, etc all to that. when the browser zoom level is at 100%, everything is displayed as expected. when i press ctrl + to zoom in, the webplayer canvas enlarges, leaving black edges and some off screen objects on the top and the right. this doesn't seem to happen with the default unity camera.

2
Support / Re: iTween Camera Fade
« on: November 05, 2012, 12:14:13 am »
Thanks! I agree it's better to not add a camera just for that fade effect. I just didn't understand why it wasn't working before... Thanks for responding though.  ;)

3
Support / Re: iTween Camera Fade
« on: November 04, 2012, 10:32:21 am »
looking through the itween code, i think i have found the answer to my own question:

the iTween.CameraFadeAdd creates a GUITexture as overlay, which is not rendered in the default tk2dCamera because it doesn't have a GUILayer component. it works once i have added that... just in case anyone else runs into the same problem.  :P

4
Support / iTween Camera Fade
« on: November 04, 2012, 02:21:05 am »
Hello! I cannot get the tk2dCamera to work with the iTween.CameraFade. I use the following code to fade in the whole scene:

Code: [Select]
iTween.CameraFadeAdd(cameraTexture, 100);
iTween.CameraFadeFrom(1, 1);

The fade works on the default Unity camera, but not on the tk2dCamera. Is there a way to get 2D Toolkit to work with iTween? Or might there be a convenient way to fade in/out stuff without having to setup my own custom overlays? Thanks!  ;D

Pages: [1]