Moving Waves script
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 10090
- Joined: Fri Feb 19, 2010 10:17 am
Re: Moving Waves script
That is extremely easy:
First of all have a look at the first wave, image "w1" in the properties palette,
and change the values so the image resizes to what you require:
First of all have a look at the first wave, image "w1" in the properties palette,
and change the values so the image resizes to what you require:
Re: Moving Waves script
I know that, but when I did that look what happened they all return to the same location of your version why!
Re: Moving Waves script
richmond62
Lafamya wrote:I know that, but when I did that look what happened they all return to the same location of your version why!
-
- Livecode Opensource Backer
- Posts: 10090
- Joined: Fri Feb 19, 2010 10:17 am
Re: Moving Waves script
Hang on a minute . . . just uploading something for you . . .
Ah; there we are: https://www.dropbox.com/s/qh84ragh4mjh0 ... 2.zip?dl=0
see what happens when you click on the "HIGH TIDE" button.
Then have a look at the script inside that button
Ah; there we are: https://www.dropbox.com/s/qh84ragh4mjh0 ... 2.zip?dl=0
see what happens when you click on the "HIGH TIDE" button.
Then have a look at the script inside that button

Last edited by richmond62 on Fri Dec 11, 2015 10:35 pm, edited 1 time in total.
Re: Moving Waves script
Please take a look at the checkbox above the red rectangle in Richmond's image, and then look at your inspector for that namely image!Lafamya wrote:I know that, but when I did that look what happened they all return to the same location of your version why!
Re: Moving Waves script
Wow the script has too many names that I have no idea which is responsible to change the location for the waves and the parities, can you please underline the number the responsible about the locations please, I really appreciate your help so muchrichmond62 wrote:Hang on a minute . . . just uploading something for you . . .
Ah; there we are: https://www.dropbox.com/s/qh84ragh4mjh0 ... 2.zip?dl=0
see what happens when you click on the "HIGH TIDE" button.
The have a look at the script inside that button

Re: Moving Waves script
Hi Lafamya,
do yourself a favour and check most, if not all of these stacks to learn the very basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
do yourself a favour and check most, if not all of these stacks to learn the very basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
Re: Moving Waves script
Oh thank you thank you thank you so muchKlaus wrote:Hi Lafamya,
do yourself a favour and check most, if not all of these stacks to learn the very basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus

Best regards
Re: Moving Waves script
I hope if you could just answer me what is the following name for ?!richmond62 wrote:Hang on a minute . . . just uploading something for you . . .
Ah; there we are: https://www.dropbox.com/s/qh84ragh4mjh0 ... 2.zip?dl=0
see what happens when you click on the "HIGH TIDE" button.
The have a look at the script inside that button
KOUNT
Kfree
Thanks
-
- Livecode Opensource Backer
- Posts: 10090
- Joined: Fri Feb 19, 2010 10:17 am
Re: Moving Waves script
KOUNT is just the name I chose for my variable to 'count' round the REPEAT loops.
Kfree is the name I chose for the variable that holds the value of KOUNT*3.
I chose those names so I could remember what their jobs were and so they didn't
conflict with reserved words in LiveCode.
I do suggest you follow Klaus's extremely good advice as this sort of explanation
is "baby stuff" which you should be able to work out for yourself with a little bit
of thinking and digging in the built-in help system and all the marvellous resources
on the LiveCode website.
Kfree is the name I chose for the variable that holds the value of KOUNT*3.
I chose those names so I could remember what their jobs were and so they didn't
conflict with reserved words in LiveCode.
I do suggest you follow Klaus's extremely good advice as this sort of explanation
is "baby stuff" which you should be able to work out for yourself with a little bit
of thinking and digging in the built-in help system and all the marvellous resources
on the LiveCode website.