No announcement yet.

[CLIK]ScrollingList with different itemrenderers?

  • Filter
  • Time
  • Show
Clear All
new posts

    [CLIK]ScrollingList with different itemrenderers?

    Anyone knows if it is possible to use multiple ListItemRenderer objects in one scrolling list.

    I tried poking around with the propery "rendererInstanceName" but I can't get it to work correctly.

    What I want to do is to make a list with buttons that have their own graphic. A level select screen where one button in the list represents one level.

    You would have to rewrite or sublcass list to be able to use multiple item renderers. At present, I don't believe you can do what you want the way you are trying to do it.

    However, there's no reason you can't include a graphic background in the array for each list item that gets displayed. You'll just need to figure out how to store it, call it, and display it. I believe you will find a similar approach in our UDK UI files, specifically the files related to selecting a map. These use a list, and display an image for each level as you move through the list.