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

Messages - Newbie Newt

#1
I ran my registry optimization program and that fixed the problem. Perhaps there was a conflict between multiple programs. At any rate, my audio issue doesn't seem to be related to the AGS program.

Thanks
#2
I've been using AGS for several months without a problem. I recently started to incorporate audio into the game (wav files). After several hours of use I began to notice a buzzing sound coming from both speakers. The quality of the audio would degrade gradually.

I found that the only remedy to the problem was to reinstall my audio driver. I took a break from AGS for several weeks. Upon resuming use of the program the audio quality began to slowly degrade again.  Has anyone else had a similar problem? I'm not an expert so it may be that something other than AGS is causing the issue.  For what it's worth I am creating my audio clips using audacity.

Thanks
#4
I have a couple of maps(GUIs) with "close" buttons. Both GUIs perform the same function when the "close" button is clicked. Is there a way to include both button 1 & button 2 in the same mouseclick function?
Code: ags

function Bclose2_OnClick(GUIControl *control, MouseButton button)
{
  gRansom.Visible=false;
  gratmap.Visible=false;
  gRansom.Visible=false;
  gratmap.Visible=false;
}


I tried the following, but I knew it wouldn't work.
function Bclose2_OnClick || Bclose1_OnClick (GUIControl *control, MouseButton button)

Thanks
#5
I appreciate the help. Sometimes you reach a point where you can't look at the code anymore... You need a second set of eyes.

Thanks again
#6
I am relatively new to AGS scripting. I would like to make an object such as a boombox toggle on and off with each click. I'm having trouble getting a simple message to toggle between on/off.  Any help would be appreciated.

Code: ags

// room script file


bool IsBoomBoxOn=true;
function iboombox_AnyClick()

{
IsBoomBoxOn=true;
if (IsBoomBoxOn == true) {
    cksnipps.SayBackground("On");
       
}
   
  
  else cksnipps.SayBackground ("off");
  IsBoomBoxOn=false;
  }


SMF spam blocked by CleanTalk