Author Topic: About ScrollingText module  (Read 1606 times)

kent79

  • Sr. Member
  • ****
  • Posts: 484
    • View Profile
About ScrollingText module
« on: December 27, 2015, 12:06:47 AM »
I am looking at ScrollingText module, but no setting as below. Could someone add it or teach me how to do? Thanks.

Display static Text hold on 5 sec. and then beginning Scrolling

Expect coding:

local scroller = ScrollingText.add( "[Title]", 0, 0, 100, 75, ScrollType.HORIZONTAL_LEFT );
scroller.settings.holdon = 3000
scroller.settings.delay = 3000;

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
Re: About ScrollingText module
« Reply #1 on: December 28, 2015, 04:51:09 AM »
I'm not sure what you are asking to do. What do you mean by "hold on".. only display text when you hold a button?

kent79

  • Sr. Member
  • ****
  • Posts: 484
    • View Profile
Re: About ScrollingText module
« Reply #2 on: December 28, 2015, 07:51:45 AM »
I'm not sure what you are asking to do. What do you mean by "hold on".. only display text when you hold a button?

Sorry, my English doesn't good enough.

As below script,  scrolling is starting from x axis 600 to 25. Can it change to start at 25?

local scroller = ScrollingText.add( "[Title]", 25, 50, 600, 75, ScrollType.HORIZONTAL_LEFT );

Current Scrolling:
https://youtu.be/0e70K3cjDuE

My idea Scrolling:
https://youtu.be/8ZFQTdVvL7A
« Last Edit: December 29, 2015, 05:17:02 AM by kent79 »

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
Re: About ScrollingText module
« Reply #3 on: December 29, 2015, 02:11:41 PM »
No worries about your english! I understand.. I may be able to add an option for where to start the scrolling from, I also need to update it to make use of the new "measure text" feature for newer attract mode. Might take me some time, but I'll try to get something ready soon.

kent79

  • Sr. Member
  • ****
  • Posts: 484
    • View Profile
Re: About ScrollingText module
« Reply #4 on: December 29, 2015, 06:54:54 PM »
No worries about your english! I understand.. I may be able to add an option for where to start the scrolling from, I also need to update it to make use of the new "measure text" feature for newer attract mode. Might take me some time, but I'll try to get something ready soon.

"measure text" is great. You hit the point that I also would like to say.   Many Thanks and waiting for good news.  :)
« Last Edit: December 30, 2015, 06:45:31 AM by kent79 »

kent79

  • Sr. Member
  • ****
  • Posts: 484
    • View Profile
Re: About ScrollingText module
« Reply #5 on: December 30, 2015, 08:49:12 PM »
I have further request. Please kindly also consider.

1. If the text is shorter than text box width, please add option to disable scrolling effect

2. As below clip period 00:06 - 00:09, the title area is empty since waiting for next. Can you make it sequence? Don't appear this empty gap. Thanks.

https://www.youtube.com/watch?v=8ZFQTdVvL7A&feature=youtu.be
« Last Edit: December 30, 2015, 09:14:55 PM by kent79 »

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
Re: About ScrollingText module
« Reply #6 on: January 01, 2016, 07:01:11 AM »
I'll see what I can do. The empty gap is because I didn't have a way to know the actual width of the text object, but the measure text option should fix that. There is a 'fixed_width' setting you can use, but it's not very helpful if the text size changes (different title lengths).