Run processes/effects simultaneously with a visual effect ?

Klaus major-k klaus at major-k.de
Thu Jan 26 13:26:05 EST 2017


Hi Swami,

> Am 26.01.2017 um 19:09 schrieb Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com>:
> 
> I'm looking to "dress" up our new app with more elegant visuals.
> I was using send in time to a handle that changes the blendlevel of small objects… this works well and is none blocking.
> But someone asked "Why don't you just use dissolve?"
> Duh.. the dictionary doesn't give the platforms that work with dissolve but apparently, it runs just fine on iOS and Android.

works also on the desktop (Mac and Win)!

> So,  I did some tests…wondering about the engine's timing work with visual effects:

Use "the effectrate" to set the duration of the "very slowly" (sic!) visual effect.
Mentally a bit challenging, but works! :-D

> ...
> Are simultaneous visual effects + some process even possible? The dictionary does not explicitly declare visual effect to be blocking. But all my tests indicate it is.  I hope I am wrong.

Yes, visual effects are in fact blocking unfortunately!

But maybe you can use something like:
...
set the effectrate to 500
lock screen for visual effect
show image "burger"
hide image "shot"
unlock screen with visual effect dissolve very slowly
...
?

> BR

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list