Dr. Sam Beckett never returned home... Twitter: https://twitter.com/Quantum_Sheep Web: https://quantumsheep.itch.io
Comments
Make a button actor.
Have a rule in this actor that says:
When mouse is over actor
AND
When mouse is down
Change attribute 'Sound' to (function) Random (1,10)
Then have a rule within this that says If attribute Sound = 1 then play this sound.
Repeat for other sounds
That should do it - making a fart sim perchance?
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
"sound-"..self.randomSound..".ogg"?
But it would be great if you could do it in som other clever way. Anyone?