Hello (excuse my english),
in a car game.
how can I do to have a continuous sound of car engine when I press a button.
sound without cutting and clean.
And immediately stops when I release the button.
Thank you it work's very well !
Develop games in your browser. Powerful, performant & highly capable.
And I ask, does Construct allows to pitch sound? Higher RMPs of engine = Higher pitch of sound :]
korbaach > it work's with key of keyboard but when i want make the same thing with touch object for playing, the sound is jerky.
How do I ?
Try Touch -> Is Touching Object
Thank you Lazarus1988 but with "Is Touching Object" the sound is jerky.
I changed the way I do I run the sound to the speed of the car and it works much better.
-if "Physics X velocity" > 20 play sound "engine" looping
-if "Physics X velocity" < 20 stop "engine" sound
I also thank you, your solution might be usefull for me