Urrghhhh, either my computer is mentally challenged or I am. Okay, first up I think I have put the video file into the right place. I first tried an avi. file which I put into the "compiled" folder and I get a "cannnot find video" message. so I tried converting to ogv. format and I put that file into the Game folder (where the agf. file is) and I get a "cannot load theora video" message.
here is my code (hotspot number 2):
Code: ags
Have I made a mistake?
here is my code (hotspot number 2):
function hHotspot1_Look()
{
Display("I am about to play sound!");
AudioChannel* soundChannel = gold1.Play();
soundChannel.Volume = 100;
}
function hHotspot2_AnyClick()
{
PlayVideo("splash.ogv",eVideoSkipNotAllowed, 0);
}
Have I made a mistake?