Page 1 of 1

A scrolling list field of visual effects

Posted: Thu Jan 09, 2025 11:37 am
by richmond62
I am looking for a drop-down menu, scrolling list field, or somesuch that will list all the visual effects available in LiveCode in the same sort of way I can populate a drop-down font menu using

Code: Select all

put the fontnames

Re: A scrolling list field of visual effects

Posted: Thu Jan 09, 2025 12:17 pm
by Klaus
I'm afraid there is no such thing in LC, you need to create your own.

But since the number of supported visual effects will not change dynamically like "the fontnames",
you will only need to create it once.

Re: A scrolling list field of visual effects

Posted: Thu Jan 09, 2025 3:06 pm
by dunbarx
Richmond.

The dictionary show the 15-odd different types:
plain
checkerboard
venetian blinds
iris close|open
zoom close|in|open|out
wipe up|down|right|left
dissolve
push up|down|right|left
reveal up|down|right|left
shrink to bottom|to center|to top
stretch from bottom|from center|from top
scroll up|left|down|right
curl up|down: (iOS only)
flip left|right: (iOS only); the background behind the flip is taken from the background color of the current stack, i.e. the card is cut out and flipped over the stack
an encoded QuickTime special effect description generated by answer effect (see Changes below)
the name of a Core Image Transition Effect (MacOS/iOS only; see note below)
You can amend with speeds and "finalImages"

Craig

Re: A scrolling list field of visual effects

Posted: Fri Jan 10, 2025 8:07 am
by richmond62
Thank you both.

I shall see if I can put something vaguely useful together this weekend.

Re: A scrolling list field of visual effects

Posted: Fri Jan 10, 2025 8:14 am
by richmond62
an encoded QuickTime special effect description generated by answer effect (see Changes below)
the name of a Core Image Transition Effect (MacOS/iOS only; see note below)
To be honest I would be inclined to exclude those (especially the ones dependent on QuickTime).

Re: A scrolling list field of visual effects

Posted: Fri Jan 10, 2025 2:05 pm
by richmond62
SShot 2025-01-10 at 15.03.06.png
-
Sets the script of the top button.

Re: A scrolling list field of visual effects

Posted: Sat Jan 11, 2025 1:06 pm
by richmond62
I wonder why 'Barn Door' is not mentioned in the Dictionary?