
Visual Effects
Forum rules
Be kind.
Be kind.
- richmond62
- Posts: 4833
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Visual Effects
HOWEVER: I thought I understood the words 'right', 'left', 'vertical', and 'horizontal': but it seems, in terms of xTalk at least, I was wrong. 

https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3210
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Visual Effects
That is part of the engine, in C++ code.richmond62 wrote: ↑Mon Jan 13, 2025 8:18 am I dunno what programming language that:is written in, but it doth not speak to me at all.I'd expect the correct behaviour to be the Windows one, as:
you can see there are three case statements in there (and one for dealing with if it's unhandled). It has no case statement for right or left, so that's why it can't currently do that.
It does get a bit more complicated, a bit further on, but that's the short version.
- richmond62
- Posts: 4833
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Visual Effects
Aha: so that is, presumably, why the LC Dictionary tells LIES.It has no case statement for right or left
And there I was, naive as ever, thinking the thing was ONLY outdated.

https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 4833
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Visual Effects
As I am at work today I do NOT have access to my G3 iMac with MacOS 9.2.2 so I cannot see if HyperCard or HyperStudio managed left-right transitions: but I suspect they could.
MCUnreachable()
makes me suspect that when the MetaCard people made a UNIX clone of HyperCard left-right transitions got lost.
The left-right transitions work in Hyperacrd (just tested in that emulator).
MCUnreachable()
makes me suspect that when the MetaCard people made a UNIX clone of HyperCard left-right transitions got lost.
The left-right transitions work in Hyperacrd (just tested in that emulator).
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3210
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Visual Effects
Just to confirm, I mean the left/right transitions for that effect only.richmond62 wrote: ↑Mon Jan 13, 2025 10:57 am The left-right transitions work in Hyperacrd (just tested in that emulator).
visual effect "push right" or visual effect "push left" works fine for example.
What I mean is, visual effect "stretch to right" doesn't because there's nothing in there to describe what to do if "right" is specified, on that effect.
- richmond62
- Posts: 4833
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Visual Effects
Aha: so the LC Dictionary is not lying (well, in this respect) as it only mentions:
and work as advertised.
-
andstretch from bottom|from center|from top
andshrink to bottom|to center|to top
Code: Select all
scroll right
Code: Select all
scroll left
-
- Attachments
-
- SCROLLERS.oxtstack
- (2.38 KiB) Downloaded 24 times
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3210
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Visual Effects
Yes, those work fine.richmond62 wrote: ↑Mon Jan 13, 2025 1:07 pm Aha: so the LC Dictionary is not lying (well, in this respect)...
andandCode: Select all
scroll right
work as advertised.Code: Select all
scroll left
I may look at building some more visual effects when I get a moment, but will need a bit of experimentation.
edit: some experimentation:
Code: Select all
on mouseUp
visual effect concertina
go next
end mouseUp
- richmond62
- Posts: 4833
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Visual Effects
- Attachments
-
- SCROLLERS 3.5.oxtstack
- (9.72 KiB) Downloaded 10 times
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3210
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Visual Effects
This just executes the scroll right effect, waits until that's done - then stretches from top.
It won't process them together at the same time, so you get one transition happening after the other.
(Transitions only stack one after the other unfortunately, they can't work alongside eachother at the same time). I seem to remember Supercard was capable of that.
It won't process them together at the same time, so you get one transition happening after the other.
(Transitions only stack one after the other unfortunately, they can't work alongside eachother at the same time). I seem to remember Supercard was capable of that.
- richmond62
- Posts: 4833
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Visual Effects
I know: I was just feeling bloody-minded this morning: our car is snowed in so had to drag through the snow to the bus, and generally . . .
https://richmondmathewson.owlstown.net/
- OpenXTalkPaul
- Posts: 2633
- Joined: Sat Sep 11, 2021 4:19 pm
- Contact:
Re: Visual Effects
Are you sure the page-curl doesn't work? I think that has special requirements to use the effects, they are CoreImage transitions (and not exclusive to defunct Quicktime), so I believe you have to provide some extra parameters for those to work (on MacOS only).
There's a demo stack for CoreImage that was included in the IDE, half of the examples in that stack still worked for me (on macOS 11 BigSur).
I did wrap a lot of the CoreImage image effects in Extension Builder (that's what made that animated OXT logo gif), but iirc I only set up the effects of the ones that applied to a single image. They work with image transitions but could not sure if they can be applied to card transitions. I wonder if custom 'transitions' could be scripted by using exported-to-variables images of the two cards.
There's a demo stack for CoreImage that was included in the IDE, half of the examples in that stack still worked for me (on macOS 11 BigSur).
I did wrap a lot of the CoreImage image effects in Extension Builder (that's what made that animated OXT logo gif), but iirc I only set up the effects of the ones that applied to a single image. They work with image transitions but could not sure if they can be applied to card transitions. I wonder if custom 'transitions' could be scripted by using exported-to-variables images of the two cards.
Who is online
Users browsing this forum: No registered users and 5 guests