- SShot 2022-06-14 at 23.11.37.png (11.14 KiB) Viewed 5264 times
Ripple Effect Button
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9476
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Ripple Effect Button
Richmond.
Nothing happens.
Craig
Nothing happens.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Ripple Effect Button
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
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
Code: Select all
wait 1
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
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Ripple Effect Button
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
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
Some time ago I tried to do something like that. Here is what I achieved, I hope it helps you.
- Attachments
-
- Ripple.zip
- (1.79 KiB) Downloaded 86 times
-
- Livecode Opensource Backer
- Posts: 9476
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Ripple Effect Button
I suffer from 2 problems:
- -
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.
- -
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.
-
- Livecode Opensource Backer
- Posts: 9476
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Ripple Effect Button
Those are certainly better than mine.Some time ago I tried to do something like that. Here is what I achieved, I hope it helps you.
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.
-
- Livecode Opensource Backer
- Posts: 9476
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Ripple Effect Button
Arguably slightly better.
-
Removed stack: see below.
Last edited by richmond62 on Wed Jun 15, 2022 12:47 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9476
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Ripple Effect Button
That previous offering was a load of b*ll*cks as the ripple effect obscured the button text.
-
-
- Attachments
-
- ripple.livecode.zip
- Stack.
- (3.36 KiB) Downloaded 74 times
Re: Ripple Effect Button
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 amALTHOUGH (inevitable dig), I am interested to know how you manage to
get away with multiple graphics with the same name.
The script is in the "Effect-Ripple-Button-MD" button, which is used as the behavior.richmond62 wrote: ↑Wed Jun 15, 2022 9:03 amI am beginning to feel very stupid indeed as an cannot find any mouseDown / mouseUp scripts
in any of the objects underlying where I click.
-
- Livecode Opensource Backer
- Posts: 9476
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Ripple Effect Button
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
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
-
- Livecode Opensource Backer
- Posts: 9476
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Ripple Effect Button
For what earthly reason would I want to do that?Do it with the Bulgarian flag.
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Ripple Effect Button
I thought you had a soft spot for Bulgaria.
Craig
Craig
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Ripple Effect Button
Scott Rossi did that some years ago with an American flag, it was very realistic. It may still be on his web site somewhere.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com