Visual Effect in layer
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Visual Effect in layer
I know that we can limit visual effects to take place within a distinct rect, but is there any way to have a visual effect only take place within a layer and not have an impact on the material beneath that layer?
Say you have a text field, not opaque, with an image layered below it and we restrict the rect of the effect to the rect of the field. Using "dissolve" you can give the appearance at least that the image beneath is not changing (even though it really is). But the other effects will have a clear visual impact upon the image data beneath the field. It would be great to be able to (say) scroll a new word into that rect without the image changing underneath.
Everything I have read tells me we can't do this, but thought I would ask.
Say you have a text field, not opaque, with an image layered below it and we restrict the rect of the effect to the rect of the field. Using "dissolve" you can give the appearance at least that the image beneath is not changing (even though it really is). But the other effects will have a clear visual impact upon the image data beneath the field. It would be great to be able to (say) scroll a new word into that rect without the image changing underneath.
Everything I have read tells me we can't do this, but thought I would ask.
-
- Livecode Opensource Backer
- Posts: 10123
- Joined: Fri Feb 19, 2010 10:17 am
Re: Visual Effect in layer
I love messing around:
When you can't do it, fake it.
When you can't do it, fake it.
Last edited by richmond62 on Sun Dec 04, 2016 7:49 pm, edited 2 times in total.
-
- Livecode Opensource Backer
- Posts: 10123
- Joined: Fri Feb 19, 2010 10:17 am
Re: Visual Effect in layer
Sorry: in my wild enthusiasm I didn't read your message that carefully;
here's a "dissolve".
here's a "dissolve".
Last edited by richmond62 on Sun Dec 04, 2016 7:50 pm, edited 1 time in total.
Re: Visual Effect in layer
There's no way to limit visual effects to layers, but you can do a lot with scripted animation. "Ticker tape" scrolls can be done by script, and the "move" command is useful in some cases. What type of effect would you like to see?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Opensource Backer
- Posts: 10123
- Joined: Fri Feb 19, 2010 10:17 am
Re: Visual Effect in layer
as I demonstrated in one of my 2 earlier postings.and the "move" command is useful in some cases.
The other one used blendLevel.
Re: Visual Effect in layer
I almost never download stacks from the forum, so I didn't see yours. It's too time consuming and I'm not always at my computer anyway.
If the relevant info isn't posted as either a description or a script snippet I won't see it.
If the relevant info isn't posted as either a description or a script snippet I won't see it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Opensource Backer
- Posts: 10123
- Joined: Fri Feb 19, 2010 10:17 am
Re: Visual Effect in layer
That's a valid point.If the relevant info isn't posted as either a description or a script snippet I won't see it.
I have made good that omission above.
-
- Livecode Opensource Backer
- Posts: 10123
- Joined: Fri Feb 19, 2010 10:17 am
Re: Visual Effect in layer
And here's a sort of concertina thing that's quite effective: