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

Pages: [1]
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.

2
Releases / Re: 2D Toolkit UI 1.0 beta 3
« on: April 23, 2013, 11:37:32 am »
Is it possible to automatically set the content height of the scrollable area to the height of the text mesh?  I have a text mesh that has varying height depending on the actual text fetched from the server.

3
Releases / Re: 2D Toolkit UI 1.0 beta 3
« on: April 22, 2013, 02:40:04 pm »
Finally got it to work!  I have accidentally set my raycast layer mask to only that of the scrollable area layer.

Thanks a lot for your help.  =)

4
Releases / Re: 2D Toolkit UI 1.0 beta 3
« on: April 22, 2013, 11:59:02 am »
The UIcamera has to be the camera that "sees" the GUI, whichever that may be.

The camera that sees the UI is the scrollable camera but it still does not receive touch events.

5
Releases / Re: 2D Toolkit UI 1.0 beta 3
« on: April 22, 2013, 10:30:22 am »

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?

I dragged in the prefab.  Set the scrollable area to a scrollable camera.  However, my UI camera for the tk2duimanager is pointing to my existing tk2dcamera instead of another camera and it has a orthographic size of 480.  Will that be an issue?

6
Releases / Re: 2D Toolkit UI 1.0 beta 3
« on: April 22, 2013, 07:35:54 am »
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...

I am unable to scroll the scrollable area though I can see it visible on screen.

7
Releases / Re: 2D Toolkit UI 1.0 beta 3
« on: April 21, 2013, 05:42:17 am »
My scrollable area does not seem to be receiving any touch events.

This is what I did.

1. The UI Camera of tk2DUIManager is pointing to my existing tk2DCamera of my current project.
2. As per instruction in the PDF for scrollable area, I created the scrollable area including the camera and layer.

I can see the scrollable area but unable to scroll it.  Please advise.  Thanks.

Will you consider having prefabs that can work with current tk2dcamera instead of a separate camera?

8
Releases / Re: 2D Toolkit UI 1.0 beta 2
« on: April 19, 2013, 09:54:52 am »
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.

My concern is will having too many cameras in a scene affect the performance especially for mobile devices.

Anyway thanks and looking forward for the new update.  :)

9
Releases / Re: 2D Toolkit UI 1.0 beta 2
« on: April 18, 2013, 02:47:31 am »
I must've broken the build script. Thanks for letting me know.

Will you be uploading the new one or I can just take reference from the older version?

One question.  It seems that for the 2D UI to work, I need to setup another camera in addition to tk2dcamera or can I reuse that?  Also if I need to setup a scrollable area, I will need another camera. 

10
Releases / Re: 2D Toolkit UI 1.0 beta 2
« on: April 16, 2013, 11:31:23 pm »
There is a PDF doc included in the package. Autogenerated doxygen docs will be in the next release.

The latest package does not come with it.  Only managed to find it in the earlier alpha version.

11
Support / Re: Sprite Collection name issue
« on: March 26, 2012, 11:19:44 pm »
Nope.  I have not changed its name.  I simply dragged all the textures into the an existing collection I have and encountered this issue.  I tried to remove all the textures and re-added them but I am still having the same issue.

12
Support / Sprite Collection name issue
« on: March 26, 2012, 01:58:01 pm »
I just added a bunch of textures into a sprite collection and click on the commit button.  However, upon clicking on edit, I realized the names in the dropdown list are all pointing to the wrong images.  How can I resolve this?

Pages: [1]