Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Proper Way to handle music and sound effects

mack
Registered User
Quote
2013-02-12 08:45:03

Hello,

I am designing a small 2D game engine and would like to know how exactly Irrklang is handling things behind the scenes. The way I would like to design everything is to have a Music handler and a effect handler, separated from each other - the music will be streamed/looped (from harddisk) On the other hand, the effects would be played a lot more - and be several small files.

My question here is, should I be managing the list of effects in my own code or will irrklang do this itself? Or, should I let irrklang handle everything automatically?


niko
Moderator
Quote
2013-02-24 21:26:13

When you play something, you usually get an ISound pointer back. With that, you can influence every single sound and music while it is playing, including the volume. That's the way to do it.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact