1
Releases / Re: 2D Toolkit UI 1.0 beta 3
« on: April 23, 2013, 11:40:38 pm »
That doesn't seem to give me the right height. I am expecting a height of between 1-2 but it is giving me a very large value.
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.
The UIcamera has to be the camera that "sees" the GUI, whichever that may be.
That should definitely work - I've used it in a project with tk2dCamera set on the sprite collection and also on a perspective camera. Did you simply drag in the prefab and configure from there, or did you set it up yourself?
It does work, just that it needs the sprites built for that resolution. Obviously then the sizes of things will be different, but I guess you're changing the dimensions of things when you customize anyway, aren't you? I have a script that will rescale appropriately when switching sprite collection, but I'm not sure its worth including in the system as its a bit rough around the edges...
The next beta will have that fixed in there - I don't usually reupload versions without incrementing version numbers - just for sanitys sake. I'm just waiting on testing some new fixes before releasing a new version.
Also to answer your question - you can use a tk2dCamera no problem, but the default skin is set up without a tk2dCamera, so its going to be tiny in there. You're free to change stuff though - you'll have to reposition labels, sprites, etc, but it definitely does work, and doesn't require any scripting. I'm using it in another project with tk2dCamera.
Yes, for the scrollable area - you will need another camera. It keeps things really quite efficient that way, as no CPU clipping is required like this.
I must've broken the build script. Thanks for letting me know.
There is a PDF doc included in the package. Autogenerated doxygen docs will be in the next release.