Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
When using the irrklang soundengine in form B, while game main form is form A, sound plays as expected. When game has finished, last sound is played, then irrklang.stopallsound, and form is closed (maybe even disposed). At this point, opens form A again. But the last played sound stucks in an endless loop ... and as if that is not bad enough, the form seems to be reacting only every 2 seconds on events (moving, resizing), so it is still very busy. Is there maybe a little bug in the engine? The main form of the project (menu) is always existing (just hidden). I tried to call the sound and define the soundengine in the form A (menu), not in form B (game). But that didn't solve the problem. The sound is still looping endless (despite i used stopallsounds before), when exiting the B-form with the game, and return to the menu (form A). Please help. |
||||
|
Btw.: using the irrklang with .NET (4) in VB/C. |
||||
|
Buuh, just tested something weird, and now there is no more sound stucking. It was a tricky piece of code, reactivating a timer, that started a coroutine, that made the sound and ... narf! Bad stuff ... But irrklang works propperly now. Not bug. ;-) |
||||
|
Ah, cool :) |
|