Author Topic: Simple Scrollable Text  (Read 2401 times)

BrendanKZN

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Simple Scrollable Text
« on: September 23, 2012, 11:41:10 AM »
Hi Aren,

I'm looking to buy your product while it's on sale and trying out all the features.
I'm stuck on creating simple lines of text scrollable like your chat example. I've tried following that example but theres no clear steps or intructions for this, I got it to a point where when i begin scrolling and all the text in the label dissapears instantly. Am I missing something? I'm trying to create a verticle Highscore list and it should display all the scores fetched from my database and should be able to scroll it up and down.

Thanks.
« Last Edit: September 23, 2012, 11:42:55 AM by BrendanKZN »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Simple Scrollable Text
« Reply #1 on: September 23, 2012, 05:48:52 PM »
The chat example uses a custom component -- UITextList. It was created as an example before the smooth scrolling logic was added to NGUI. That component itself is really simple though. To add new entries use UITextList.Add().