Scrolling text -- like movie credits
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
- Location: London, UK
Re: Scrolling text -- like movie credits
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Scrolling text -- like movie credits
Did I miss something?
I do not see a solution to the original question, to have a smooth "Star Wars" type of scroll where each line reduces in textSize almost to invisibility as it scrolls toward the top and out to oblivion.
What have the other examples have to do with that? Or is the original query dead, and i just don't know it?
Craig
I do not see a solution to the original question, to have a smooth "Star Wars" type of scroll where each line reduces in textSize almost to invisibility as it scrolls toward the top and out to oblivion.
What have the other examples have to do with that? Or is the original query dead, and i just don't know it?
Craig
-
- VIP Livecode Opensource Backer
- Posts: 9833
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Scrolling text -- like movie credits
As far as I can tell, the original request was for just scrolling a list without scrollbars. The Star Wars effect was introduced into the discussion two posts later by Richmond.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Scrolling text -- like movie credits
Richard,
True. I guess I just got caught up with the Star Wars thing. Still working on it...
Craig
True. I guess I just got caught up with the Star Wars thing. Still working on it...
Craig
-
- Livecode Opensource Backer
- Posts: 9380
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Scrolling text -- like movie credits
Guilty as charged.The Star Wars effect was introduced into the discussion two posts later by Richmond.
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Scrolling text -- like movie credits
Richmond.
So glad you did.
But this is a challenge, or at least it is for me, to make LC do whatever we dream up. It seems as though it should be possible. I am having trouble though, since there is no "textHeight" property that can be applied to individual lines, only whole fields.
Craig
So glad you did.
But this is a challenge, or at least it is for me, to make LC do whatever we dream up. It seems as though it should be possible. I am having trouble though, since there is no "textHeight" property that can be applied to individual lines, only whole fields.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 9833
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Scrolling text -- like movie credits
You could replace the text with the formattedText to make apparent (non-parapraph) lines independently adjustable.
But I think no matter how hard you try to do this by manipulating field contents, it won't likely perform as well as how other systems handle it.
The key is that it becomes a much harder problem attempting that with actual text, instead working with the image of the pre-rendered text.
If LC had a distort operation for images which would let us bring the top two corners together, that would help a lot.
If one had a critical need for this in LC it could be done quite nicely, by wrapping a compiled graphics library with an external or a Builder library.
But I think no matter how hard you try to do this by manipulating field contents, it won't likely perform as well as how other systems handle it.
The key is that it becomes a much harder problem attempting that with actual text, instead working with the image of the pre-rendered text.
If LC had a distort operation for images which would let us bring the top two corners together, that would help a lot.
If one had a critical need for this in LC it could be done quite nicely, by wrapping a compiled graphics library with an external or a Builder library.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Scrolling text -- like movie credits
Richard.
I am sure that solutions out of the "normal" LC world (or my normal world) can do anything at all.
I just like to kludge stuff together.
But what would the formattedText do for me? I am not concerned with line wrapping (or not), only with the appearance and smoothness of a continuously reducing textSize/textHeight scrolling gadget.
Craig
I am sure that solutions out of the "normal" LC world (or my normal world) can do anything at all.
I just like to kludge stuff together.
But what would the formattedText do for me? I am not concerned with line wrapping (or not), only with the appearance and smoothness of a continuously reducing textSize/textHeight scrolling gadget.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 9833
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Scrolling text -- like movie credits
FormattedText will convert soft wraps to hard wraps, simplifying per-line adjustments.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Scrolling text -- like movie credits
Craig: you're right that textheight only applies to a whole field, but you could experiment with textshift to push the smaller lines down. I haven't tried it and it would probably be fiddly.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Scrolling text -- like movie credits
Jacque.
Good idea. I had thought about setting the margins, but that property is for the field as a whole as well. But reading about the textShift, it seems that it can apply to chunks, and I can exploit that.
XXX
Craig
Good idea. I had thought about setting the margins, but that property is for the field as a whole as well. But reading about the textShift, it seems that it can apply to chunks, and I can exploit that.
XXX
Craig
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
- Location: London, UK
Re: Scrolling text -- like movie credits
Silly question perhaps but has anyone else ever put an acknowledgements page into an app, and did you ask permission before including a persons name?
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
-
- Livecode Opensource Backer
- Posts: 9380
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Scrolling text -- like movie credits
I have put a "thanks" page into my Devawriter and did NOT ask anyone's permission.
- -
Come to think of things, as my father is dead, asking his permission would have been a bit difficult.
You are welcome at any time to thank me in any of your work, and I will not object in the slightest.
- -
Come to think of things, as my father is dead, asking his permission would have been a bit difficult.
You are welcome at any time to thank me in any of your work, and I will not object in the slightest.
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
- Location: London, UK
Re: Scrolling text -- like movie credits
Thank you Richmond. I appreciate being able to do that. Anyone else have an opinion on this, one way or the other?richmond62 wrote: ↑Mon Dec 21, 2020 2:38 pmYou are welcome at any time to thank me in any of your work, and I will not object in the slightest.
Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Scrolling text -- like movie credits
I've put acknowledgments into an About dialog but those were requested by the author of the content. I haven't needed to thank anyone independent of that. However, my name was included in the LC acknowledgments some years ago and they didn't ask (there were dozens of us.)
On the other hand, a client saw my name there and thought there was some kind of collusion going on between me and LC and got pretty angry. I had to ask the team to remove my name in case someone else made the same wildly inaccurate assumption.
So I'd say if in doubt, ask. On the other, other hand if they'd asked me I'd have said "sure!", never dreaming it could be misconstrued that way.
On the other hand, a client saw my name there and thought there was some kind of collusion going on between me and LC and got pretty angry. I had to ask the team to remove my name in case someone else made the same wildly inaccurate assumption.
So I'd say if in doubt, ask. On the other, other hand if they'd asked me I'd have said "sure!", never dreaming it could be misconstrued that way.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com