Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 9:57 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Scroll animated text
PostPosted: August 15th, 2012, 3:13 am 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Hi Opus Lovers!!!

I need help on a problem. I read many topics and even seeing some examples, none applied to the problem I'm having.
Scrolling texts are not new into Opus. There are ready actions, many animations available, but ...
Well.. I am attaching the zipped file with the imp Opus 7 file and font used.

I need the same effect exists in the screen credits of films.
The text would be much better if he had chosen the animation.
There are many lines of text, paragraphs... the page title can not disappear.
The user should not interact with the text, so I do not put the scroll bar.

I need the text to move vertically upwards within the existing area to show the last line, always adhering to the style of animation has chosen.
At the end of the list of credits, the page closes by going to the Start page of the publication.
The Scroll to End action fails...
Much of the text is skipped, without showing the animation of the same.

Do we can solve the problem in scripts (variables, functions...)?

I look forward to suggestions ....

Thanks!!!!


You do not have the required permissions to view the files attached to this post.

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


Top
 Profile  
 
 Post subject: Re: Scroll animated text
PostPosted: August 15th, 2012, 1:42 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Nilson,

I played with the IMP, tried a loop with "LineDown" , but couldn't get it to scroll smoothly. Maybe, a different approach, first suggested by Brendon Knifton in this forum (with sample IMP file) could work:

viewtopic.php?f=4&t=1966&hilit=scroll.imp

This uses an animation instead of scroll actions.

Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject: Scroll animated text
PostPosted: August 15th, 2012, 6:23 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Hello Stephen.

I appreciate the suggestion, but still not what I need.

I had examinated the topic before, but there is a big problem in this model.

The text runs across the page, as a directional path, the bottom ... lower to higher ...

But I need to scroll the text is limited in its area. because the estatic title is there.

I tried putting the text inside a frame, but the scrolling did not work ...

To tell the truth, until the animation of the text will not be missed, but the text goes into your box space is what I really need ...

Still no solution ...

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


Top
 Profile  
 
 Post subject: Re: Scroll animated text
PostPosted: August 15th, 2012, 7:29 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Nilson,

I did find that if you first set up variable = true (OnShow for page), then create a loop on the page (can be same page OnShow trigger) that continues while the variable is true, then use "LineDown" and a small wait (for example, .25), for this loop, the scroll will advance to the end. However, not a smooth scrolling, and changing the wait time, didn't make it sufficiently smooth. (I didn't use the other scroll scripting items, which have timing as a parameter, but if number of lines is used in one of these, plus time parameter, this could help?)

Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject: Scroll animated text
PostPosted: August 16th, 2012, 12:51 am 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Stephen, thanks for your replies...

I read your answer several times, but did not understand the exact way to make this business work right ...

Should I use scripts, ready actions, custom actions?
Where do I put the function in the text shows, in the entrance page?
I'm lost here ...

Do you could post a template as a sample, so that I can adapt?

Again, appreciate ...

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


Top
 Profile  
 
 Post subject: Re: Scroll animated text
PostPosted: August 16th, 2012, 1:27 am 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Nilson,

I added the scripting to the second page of your IMP and attached it. It still does not scroll smoothly. Also, as mentioned, the letter-by-letter animation stops working in the scrolled text.

So, unfortunately, not very useful. But, maybe it will provide some way to move forward?

HTH

Regards,


You do not have the required permissions to view the files attached to this post.

_________________
Stephen


Top
 Profile  
 
 Post subject: Scroll animated text
PostPosted: August 16th, 2012, 1:05 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Hello Stephen,

I added the script to my work, had not understood the correct way to do it.

I removed the animation of text, it no makes much difference.

In the scrolling, I think the feeling of jumping is the way the script "LineDown" up one row at a time ...

If the script work with measures of motion, coordinate, millimeters, or points, I think the scrolling text would be smoother.

I do not know how to change it, but the way it's already helped me a lot.

Thank you for your dedication and time spent in solving the problem.

Regards...

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


Top
 Profile  
 
 Post subject: Re: Scroll animated text
PostPosted: August 19th, 2012, 10:48 pm 
Offline

Joined: November 25th, 2004, 1:24 pm
Posts: 512
Location: Scotland
Opus: 9.75
OS: Win 10
System: Asus i7-7700K 16Gb
have you tried putting the text in a text box which is situated off screen at the bottom, then attaching an action to move the text box vertical by the pixel height of the text box in 30 or 60 seconds. It produces a fairly good scroll. Very easy. no scripting

_________________
Whoever designed this, never actually used it!


Top
 Profile  
 
 Post subject: Scroll animated text
PostPosted: August 21st, 2012, 2:42 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Master Sandy, how long ...

No scripts? I learned with you and other partners from this forum to like the solutions in scripts ... is an exercise for the mind ...

I appreciate the tip, but the result of the movement, though soft does not fit my need.

I need to move the text within your area on the page, because there are other elements - title, footer, lines and navigation buttons that I can not leave hidden...

So I put this model for solving ideas. Not the text block to move the page, but text lines moving upward within a delimited space already.

If the text vai pounding, patience .. do not even know how to get around this ...

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


Top
 Profile  
 
 Post subject: Re: Scroll animated text
PostPosted: August 21st, 2012, 4:28 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Nilson,

Here is a different idea for an approach you may try. It is something I 'played with' and experimented some long time ago -- so I do not know where to find my example any more (it is only a part of a Page in many small tests I ran).

But here is the method:
1. Let's say you want to display 5 lines of movie credits.
Create 5 Page Variables. e.g., L1, L2, L3... L5

2. Build your Text object to display appropriate 'credits'.
You have a couple (two) choices at least: Either make ONE text box and use Insert Variable L1, hit Enter for a new line and Insert Variable L2, and so on.
Or, you can create FIVE text boxes arranged on-top of one another. Insert a variable in each one separately. eg, L1, L2, L3.

3. Now you just need an Action or a Script to operate what could be called a Barrel-shifter. Most folks here would simplify this by simply using an Array Variable to start with (e.g., L[1], L[2], L[3], L[4], L[5] ), or as Sandyn suggested to use the array to hold values for text read from the source and then manipulate the array.
However you choose, here is the goal:
Start with
L1 = line1 (of your source text)
L2 = line2
etc
L5 = line5

Then using a Ticker, or an action for Delay, or if in Script... use the wait(t) command.
Next
L1 = line2
L2 = line3
etc
L5 = line6

So, do you get the idea?

I do not know how you are reading the text, and how you are referring to the lines (that is, how they are indexed or called). So I leave it to you for creating the specifics, and figuring out how or when to stop as you run-out of text.

Cheers.

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject: Re: Scroll animated text
PostPosted: August 21st, 2012, 11:45 pm 
Offline

Joined: November 25th, 2004, 1:24 pm
Posts: 512
Location: Scotland
Opus: 9.75
OS: Win 10
System: Asus i7-7700K 16Gb
I think it can still be done using a text box and moving the box. The delimited area can be created by using rectangles to mask areas, then headers, footers can be added on top of the masked areas.
If you want to use scripting, try adding this script to a page 'on show' trigger this will move Text_12 500 pixels upwards, but the real key to smooth scrolling is to set the text properties to antialiasing level 2. You will get a near perfect scroll.


Code:
for (i=0;i=500;i++)
{
Text_12.Move(0,-1,.01)

}


_________________
Whoever designed this, never actually used it!


Top
 Profile  
 
 Post subject: Scroll animated text
PostPosted: August 24th, 2012, 6:13 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Lar and Sandy,

I appreciated the tips...

I will try and post the results here so soon...

More hard work away...

Thanks!!!

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group