Page 1 of 3
Ripple Effect Button
Posted: Tue Jun 14, 2022 9:13 pm
by richmond62

- SShot 2022-06-14 at 23.11.37.png (11.14 KiB) Viewed 7424 times
Re: Ripple Effect Button
Posted: Tue Jun 14, 2022 10:29 pm
by dunbarx
Richmond.
Nothing happens.
Craig
Re: Ripple Effect Button
Posted: Tue Jun 14, 2022 10:51 pm
by dunbarx
Richmond.
Looking at your code it seems like the grc grows far too quickly to the limit you set, and then returns to something small. Try putting
in the loop somewhere.
Also, the image never goes away, so the grc is really not seen. Lose that image in the prep work and restore it afterwards, if it contributes somehow to your overall idea.
Craig
Re: Ripple Effect Button
Posted: Tue Jun 14, 2022 11:01 pm
by dunbarx
Richmond.
Why do you call it "Ripple". I was excited when I first saw it, thinking it made some sort of wave-like effect, not that it just got larger.
Hey, why not try your hand at that? You are the image guy.
I can imagine a string of images that appear in sequence, each slightly different that express a true "ripple", would be really cool. These together could act like a single waving button, as long as you had a mouseUp handler in the card script.
Do it with the Bulgarian flag. Remember to loop back to the beginning at the end.
Craig
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 5:25 am
by andresdt
Some time ago I tried to do something like that. Here is what I achieved, I hope it helps you.
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 8:57 am
by richmond62
I suffer from 2 problems:
-

- SShot 2022-06-15 at 10.53.16.png (55.68 KiB) Viewed 7342 times
-
1. I have red hair, so I burn in the sun.
-
https://livecode.com/megabundle/whats-in-it/
-
-
2. I am incredibly mean when it comes to money.
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 9:03 am
by richmond62
Some time ago I tried to do something like that. Here is what I achieved, I hope it helps you.
Those are certainly better than mine.
ALTHOUGH (inevitable dig), I am interested to know how you manage to
get away with multiple graphics with the same name.
Well, it helps me only insofar as letting me know that my attempt is not up to much.
I am beginning to feel very stupid indeed as an cannot find any mouseDown / mouseUp scripts
in any of the objects underlying where I click.
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 12:40 pm
by richmond62
-
Arguably slightly better.
-
Removed stack: see below.
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 12:47 pm
by richmond62
That previous offering was a load of b*ll*cks as the ripple effect obscured the button text.
-
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 1:53 pm
by andresdt
richmond62 wrote: ↑Wed Jun 15, 2022 9:03 am
ALTHOUGH (inevitable dig), I am interested to know how you manage to
get away with multiple graphics with the same name.
Instead of referring to the graphics by their name, I do so by the number they occupy within the group.
richmond62 wrote: ↑Wed Jun 15, 2022 9:03 am
I am beginning to feel very stupid indeed as an cannot find any mouseDown / mouseUp scripts
in any of the objects underlying where I click.
The script is in the "Effect-Ripple-Button-MD" button, which is used as the behavior.
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 1:55 pm
by richmond62
Thanks for the helpful answers.
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 2:36 pm
by dunbarx
All.
Still think that a "waving flag" button, what I originally thought was the intended effect, is a task worth pursuing. It should be straightforward, as I wrote above, and would actually earn the moniker "ripple".
Craig
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 2:55 pm
by richmond62
Do it with the Bulgarian flag.
For what earthly reason would I want to do that?
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 4:55 pm
by dunbarx
I thought you had a soft spot for Bulgaria.
Craig
Re: Ripple Effect Button
Posted: Wed Jun 15, 2022 5:08 pm
by jacque
dunbarx wrote: ↑Wed Jun 15, 2022 2:36 pm
Still think that a "waving flag" button, what I originally thought was the intended effect, is a task worth pursuing.
Scott Rossi did that some years ago with an American flag, it was very realistic. It may still be on his web site somewhere.