Hello Guest

Author Topic: About the new UI System and list of items  (Read 4417 times)

mamamia

  • Guest
About the new UI System and list of items
« 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: About the new UI System and list of items
« Reply #1 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.

mamamia

  • Guest
Re: About the new UI System and list of items
« Reply #2 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: About the new UI System and list of items
« Reply #3 on: May 27, 2013, 12:59:28 pm »
tk2d UI doesn't use clipping shaders.
It will work with crappy fixed function devices too :)