» Some basic IrrKlang help
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Some basic IrrKlang help

question open using-vvvv

effe 07/01/12 - 08:16

Hi all,

I've been tinkering around a bit with the IrrKlang plugin, trying to get sounds to trigger and have a presence at a certain position. Unfortunately, while I've been able to get bits and pieces working, I haven't been able to achieve what I ultimately need.

Here is what I'm trying to do, in a bit more detail:

I'd like to have a sound which is triggered by a collision between box2d objects, and I'd like the volume of this sound to change based upon the proximity of a user controlled object to the point of collision. So, for example, if there was a collision at "x250,y10" and the user controlled object was at "x100,y10" the sound would be very dim, but if the user controlled object was at "x240,y10", the sound would play much more loudly.

I've got triggering working fine, but no matter how I fiddle with the "position XYZ" and "view XYZ" values, either nothing or very little happens.

Can anyone help me with the basic principles required to make this work?
(There's a help patch, but it seems to be broken.)

Also, I'm using beta27, and the IrrKlang plugin was built a fair while ago; is there any chance that a bug might be interfering with things running the way they should?

Thanks a lot,

effe

2 replies 0 new

I’m also trying to trigger sounds with collisions using IrrKlang. The problem is that the collision event is often very short, and sometime more than one object collides with each other. The IrrKklang seems to play samples only as long as “play” is active, which results that the samples are cut off after some milliseconds. Did you found a way to let a sound play till it’s end when triggered once?

link | Flag this reply as a solution. tonfilm (devvvv) 14/07/2012 - 18:07

try MonoFlop (Animation) also make sure you know all nodes listed here: FUN

anonymous user login

Shoutbox

~10h ago

mediadog: @evvvvil you dawwwwg! #1 place I want to go that I haven't been. Enjoy it!

~13h ago

dannielmach: @evvvvil tel whatsapp 55 32 9913 2509

~18h ago

evvvvil: @danielmach: Eu sou "evvvvil" no skype, Qual e seu skype ou email? Nao posso achar no seu vvvv perfil...

~18h ago

evvvvil: @danielmach: Shame Brazil is such a huge country. I might go to Belo Horizonte, if so i'll be in touch :)

~18h ago

evvvvil: @everyoneishappy: Kyle, if you come I will learn juggling and introduce you to my wife's sisters.

~18h ago

dannielmach: I am currently out of money to go matias barbosa mg is 10 km :(

~18h ago

dannielmach: @ evvvil 1073.41 km de juiz de fora mg

~1d ago

everyoneishappy: @evvvvil no, but might come over, that sounds not too shabby

~1d ago

mino: anyone know good text layout engine for dx9? like adobe illustrator, set line height, kerning, ...

~1d ago

evvvvil: alguém em BAHIA, BRASIL? Pode me encontrar na praia de Arraial D'Ajuda fazendo shader & fumando maconhia Brazileira pra 5 semanas