Hello I am just wondering how to add different walking sounds depending on if there is a collision with grass or a road object is there a way to add a looping sound then when a key is press released function to stop playing the sound completely then start up again once you press a key? Cause I’m making a top down shooter game and was trying to figure this out but cannot seam to do so?
You could do something like:
Conditions:
Player is moving
Player is in collision with Grass
Trigger once
Action:
Play waking on grass sound
Conditions:
Player is moving
Player is in collision with Road
Trigger once
Action:
Play walking on road sound
Condition:
Player is not moving
Action:
Stop playing sound
*edited based on diana23570’s insight
1 Like
Thank you I’ll try that hopefully that works
tank you both of you for the advice I appreciate it
1 Like
thanks so very much your advice worked I did what you guys said it worked
1 Like