How do I add various advanced sounds to a target

Get help using Construct 2

Post » Sat Jun 03, 2017 8:09 am

I'm trying to figure how add various sounds to a target/object , one looping and other "one time" each X seconds with multiple instances around the layout.

I have an enemy and i want this enemy have:
Looping sound for footsteps
Every Random(1,3) seconds Choose(1,2,3,4,5,6) for different roar SFX.

Also i want to customize the fade-out sound when the player is far the object but is always the same reduction. The unique way is create another event using an expresion like "0-(distance(hero.X,hero.y,spritetest.X,spritetest.y)/50)".

But having lots of sounds that reproduces one time and others looping for the same target/object what have multiple instances around the layout is a nightmare, i have no idea how organize to keep all clean and simple.

Somebody did this before? Any template or idea how manage to do this? :S
B
24
S
10
G
3
Posts: 553
Reputation: 4,483

Return to How do I....?

Who is online

Users browsing this forum: ASHKAR, brunopalermo, ItsAstro and 20 guests