2D Toolkit Forum

2D Toolkit => Support => Topic started by: mamamia on May 27, 2013, 09:48:01 am

Title: About the new UI System and list of items
Post by: mamamia on May 27, 2013, 09:48:01 am
Hi!,

I have been playing a bit with the new UI system and it seems really nice and lightweight. Is there any possibility to create horizontal and vertical list of items? I would like to use this for my iaps. May I resking everything?

Thanks in advance.
Title: Re: About the new UI System and list of items
Post by: unikronsoftware on May 27, 2013, 11:55:31 am
Properly supported lists are coming in a future update - planned to include snapping to list elements, etc. For now, you can create a list of objects manually and attach them to the content object of a listbox. You will need to work out the ContentLength property manually, but if you know the height of one of your "list" entries you can work this out easily.
Title: Re: About the new UI System and list of items
Post by: mamamia on May 27, 2013, 12:50:06 pm
Thanks for the quick reply.

Another little question. I develop on android, I have seen some post about the shaders used for clipping and I wonder if they are supported by v6 devices. Can I use this shaders with this kind of devices? I remember something about NGui commenting there was problem with its clipping shaders (One of them was if statements not supported, etc...).

Thanks in advance.
Title: Re: About the new UI System and list of items
Post by: unikronsoftware on May 27, 2013, 12:59:28 pm
tk2d UI doesn't use clipping shaders.
It will work with crappy fixed function devices too :)