Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - dogtanian

#1
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

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?
#2
Three hours.. three HOURS I have spent trying to figure this out! I've scoured the internet and checked the FAQ and tutorial manual but I've come up empty except for a guide that is from 2004 so is a little out of date. TBH I don't understand codes and I have no interest in spending years and years trying to learn complicated stuff, but since all my "game" is going to consist of is pushing buttons to play music and video clips, it shouldn't be beyond my ability.

I have started by using the default game and I am following the tutorial, I can make a message appear but I can't figure out how to play an audio file. This is the code I have typed:
Code: ags

// room script file

function spot1_Look()
{
gold1.Play();
}



What could possibly be wrong?
SMF spam blocked by CleanTalk