The McLeodGaming forums were permanently closed on April 30th, 2020. You are currently viewing a read-only archive.
View unanswered posts | View active topics It is currently Fri May 15, 2020 9:25 am



 [ 4 posts ] 
Game Maker: help 
Author Message
User avatar

Joined: Sun Nov 01, 2009 10:01 am
Posts: 865
Country: Chile (cl)
Gender: Female
MGN Username: 194
Currently Playing: most likely Celeste
Waifu: Curly Brace
Hello all.
I'm recoding my shooter game from scratch, and I'm having a weird problem.

The BGM is coded in a control object, and is a .mp3 file. It starts as soon as the room is created.
Also, the game is coded to trigger a .wav sound when I fire a laser.

Problem is, firing a laser makes the .wav sound... but stops completely the .mp3 BGM.
I have revised all the code, and can't find what is causing the problem.
Could you help me to find some answers?

PD: I'm using Win7 Ultimate 32 bit and Game Maker Pro 8.1

_________________
Image

Avatar and signature pics by Semicolon.


Mon Sep 26, 2011 1:09 pm
User avatar

Joined: Tue Jun 16, 2009 2:48 am
Posts: 834
Location: Australia.
Gender: Male
Skype: snoble7
it sounds like something to do with the audio channels (is that the right word?)

you'll need to put the separate sounds on different audio channels (f*** im not sure if "channels" is even the word) to get them to play separately without stopping each other


Tue Sep 27, 2011 8:47 am
User avatar

Joined: Fri Sep 17, 2010 12:31 am
Posts: 2229
Gender: N/A
Are you running all the sounds off of one event?
That would definitely cause the problem.

_________________
Image


Tue Sep 27, 2011 9:24 am
User avatar

Joined: Sun Nov 01, 2009 10:01 am
Posts: 865
Country: Chile (cl)
Gender: Female
MGN Username: 194
Currently Playing: most likely Celeste
Waifu: Curly Brace
No. In fact, every sound is generated by different objects (the lasers trigger their own sound, while a control invisible object generates the BGM)

_________________
Image

Avatar and signature pics by Semicolon.


Tue Sep 27, 2011 1:20 pm
Display posts from previous:  Sort by  
 [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.