Dynamically change patch contents?

Q&A about the latest versions
Post Reply
MClementson
Posts: 19
Joined: Fri Aug 25, 2017 11:48 am

I have a video patch showing an idle animation for a character. What I would like is to be able to swap that video for a different video on mouseover (preferably defined by a polygon hotspot, but not essential), and then a third video on mouse click. Is this possible?

Thanks.
MClementson
Posts: 19
Joined: Fri Aug 25, 2017 11:48 am

I resolved this by having 3 separate patches overlaid and toggling visibility, rather than trying to dynamically swap the patch contents.
QUINTADIM
Posts: 1
Joined: Thu Dec 22, 2022 10:57 pm

hello!
it's possible view the result?
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi MClementson,
I would have suggested two options.
The first would be to do what you have done as this is far eiser to do.

But I would also look at using a video element.
If you do this you can use a Set Value action to change the video, you would probably use a splash screen to cover the panorama so the video gets time to load.

Convert teh patch to a point hotspot then add a video element.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply