Author Topic: Scrolling vertical text - multi color  (Read 3643 times)

Offline prof

  • Newbie
  • *
  • Posts: 12
    • View Profile
Scrolling vertical text - multi color
« on: July 04, 2014, 04:24:24 AM »
Saw the Jul 3 video with the use of \n (new line) in the text to get vertically scrolling text.

For the total number of lines of text required, the trick is to have each of the individual lines of text match that value by adding \n in the correct locations.

For example for three lines of text

Line 1: TEXT1\n\n
Line 2: \nTEXT2\n
Line 3: \n\nTEXT3

I could scale this up to get 8 lines of different colored text scrolling vertically - but the caveat is that the fonts for all lines of text need to be the same and the two effect speeds also need to be the same otherwise they will not be in sync.

[attachment deleted by admin]

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Scrolling vertical text - multi color
« Reply #1 on: July 04, 2014, 07:52:57 AM »
Good point. Thanks
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline deacon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Scrolling vertical text - multi color
« Reply #2 on: July 04, 2014, 09:31:57 AM »
I unfortunately missed this tutorial last night.  Does this work the same for horizontally scrolling text? I'm really new to NC and was trying to figure out multiple lines of text with different colors scrolling horizontal.

Offline Akentut

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Scrolling vertical text - multi color
« Reply #3 on: July 06, 2014, 07:53:40 PM »
It was me. Yep, I asked for the scrolling text down with multiple lines. Got the solution by you on a message via the Aussie site. Thanks for the explanation Sean. I tried it out and it works just fine.

Now see how to incorporate it into Vixen 3. :) Probably need a bit of timing to do some of the things I want, like maybe some words to the songs as it's playing the sequence. Then again, maybe I'm biting off more than I can chew. Which reminds me of a phrase my wife uses; 'How do you eat an elephant? One bite at a time.'

Alan

Offline JonB256

  • Hero Member
  • *****
  • Posts: 832
    • View Profile
    • My Christmas Website
Re: Scrolling vertical text - multi color
« Reply #4 on: July 08, 2014, 05:57:00 PM »
I must have slept through a demo. :(

I tried the \n entries and it moves a line of text up or down.

What is the advantage to using that for text positioning over just using the Position Slider??

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Scrolling vertical text - multi color
« Reply #5 on: July 08, 2014, 11:05:29 PM »
I must have slept through a demo. :(

I tried the \n entries and it moves a line of text up or down.

What is the advantage to using that for text positioning over just using the Position Slider??

when you have multiple text lines and you want them all to go down, you cant move them up or down. the position slider moves text left and right when you pick down. the same position slider moves text up and down if your are moving left/right
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62