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

Pages: [1]
1
Support / Re: UILayoutContainerSizer at Runtime
« on: August 06, 2014, 05:30:38 am »
Thanks.  Worked it out from that code.  :)


2
Support / UILayoutContainerSizer at Runtime
« on: August 05, 2014, 05:39:05 pm »
Hi,
I'm adding buttons to a UI element at runtime, and i'm using the Tk2dUILayoutContainerSizer to layout my buttons.  I cant seem to figure out how to have the UILayoutContainerSizer rearrage my buttons are runtime.  When I add a button at design time, 2 buttons (i.e. 'Fixed Size' and 'Proportional') appear in Unity Inspector for UILayoutContainerSizer.  I can then click one of these, and my buttons get rearraged correctly.  I do not get these buttons at runtime however, and I would like to know how to rearrange my buttons using the UILayoutContainerSizer at runtime.

What can I do here?  Thanks.

3
Support / Re: Distorted Sprite In Sprite Collection
« on: July 28, 2014, 01:04:00 am »
I've noticed that the atlas generated by 2d toolkit is indeed 16bit.  I checked all the settings, and they were correct.

I managed to produce a 32bit atlas by deleting the old one and having the sprite collection editor generate a new atlas.  This fixed the problem.

Thanks for the help.

4
Support / Distorted Sprite In Sprite Collection
« on: July 25, 2014, 07:23:00 am »
Hi,
I have a sprite that i have put into a sprite collection.  When i use this sprite in game, the gradient looks distorted.  See below image.  The top image is the sprite being displayed correctly, the bottom image shows the distorted behavior i am talking about.  (Note the dark area to the right of the bottom image is supposed to be there, so ignore that)



This seems to be related to sprite collection the sprite belongs to.  If i make another sprite collection and add this sprite to that, i don't get the same problem.

Whats going wrong here?

Pages: [1]