Slideshow
Posted: Sun Sep 24, 2017 3:53 pm
I had an idea about creating a dynamic slideshow. The wipes are working as programmed. Unfortunately they are too jittery to be effective. But if they worked smoothly, it would look great. The screenshots show the halfway points of the wipes, as one image stretches horizontally while the other is squashed.
Mr. K, any suggestions?
Mr. K, any suggestions?
Code: Select all
''
Slideshow by rbytes
September 2017
''
#.scrview(#.normal)
x,y = #.scrsize()
marg = 140
i = #.image ' image template
i.width = 1000
i.height = 750
i.x = marg
i.y = 20
i.stretch = 1
a = i
a.source = "Jen trike by Mira.jpg"
b = i
b.source = "Miss P.jpg"
#.delay(1)
#.show(a)
#.scroff()
' slide 1 expand from left
> t,1..1000,2
a.width = t
#.scr()
<
#.delay(1)
' slide 2 expand from right, squashing slide 1 off
#.show(b)
> t,1..1000,2
a.width = 1000 - t
b.width = t
b.x = 1000 + marg - t
#.scr()
<
#.delay(1)
' slide 3 expand from left, squashing slide 2 off
a.source = "Elbow.jpg"
> t,1..1000,2
? a.width = 500, #.delay(5)
b.width = 1000 - t
b.x = marg + t
a.width = t
#.scr()
<
#.delay(5)