Saved Games and Audio

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Saved Games and Audio

Postby jfcwilson » Tue Feb 03, 2009 9:00 pm

Hello,

Sorry if this has been asked before.
Is there a way to save a game and restore it to that very same place,
and have music playing like it was when you saved?

Thanks,
James
jfcwilson
Member
 
Posts: 57
Joined: Fri Jul 18, 2008 7:54 pm

Postby Lyberodoggy » Tue Feb 03, 2009 10:28 pm

Not with the current system... To do that you should create an OCX to externally render the sound file and save the exact position with a pointer to it (advanced programming)

Too much work for something that was hardly ever used in games so far...
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Not what I meant

Postby jfcwilson » Tue Feb 03, 2009 11:50 pm

Sorry, what I meant was: have the music TRACK starting to play when the game is restored, rather than having to force the saved game to a diffrent location to insure that sound plays.
jfcwilson
Member
 
Posts: 57
Joined: Fri Jul 18, 2008 7:54 pm

Postby mercedes » Wed Feb 04, 2009 1:00 am

Hi there...:D

i don't see why not..you can simply add music in the first channel in the Frame Properties...of the very first frame..--this is as long as its starting from scratch..the music/ sound..I guess the question is are u wanting to start a sound/music from scratch..or have it take off where it left off in the game..?

Peace
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Imari » Wed Feb 04, 2009 1:52 am

I'm not sure that I understand what you want to do, but you might take a look at Shadowhunter's EZTalk.
User avatar
Imari
VIP
 
Posts: 872
Joined: Fri Jun 20, 2003 4:49 pm
Location: Virginia, USA

Postby Lyberodoggy » Wed Feb 04, 2009 2:06 pm

I understood.

Tou can do this:
Copy paste the codes for playing a sound and stoping it.
Alter them so that if the sound is being played a variable is set to 1 by adding the code

varname=1

in the playsound procedure and

varname=0

in the stopsound procedure.
Now, use this:

if varname=0 then PlaySound "soundname.extention", False

in the frame properties
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby jfcwilson » Wed Feb 04, 2009 6:56 pm

Thank you! You've been a great help.

Regards,
James
jfcwilson
Member
 
Posts: 57
Joined: Fri Jul 18, 2008 7:54 pm

Postby Lyberodoggy » Wed Feb 04, 2009 9:12 pm

No problem ;)
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests