How Do I Make A Walking Sound Effect?

(Mac GameSalad)
Hello, currently I have a level and I have a constrain attribute behaviour telling it to move on the X axis for the speed of 400. However, I cannot find any tutorial on how to play a walking sound whenever the player walks on a platform. How can I do this?

Answers

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    @WGPark

    When player collides with ground play sound "walk"

  • WGParkWGPark Member Posts: 3

    Ok I got that to work. Now I am trying to make it play a random sound. I did some research and found that I can make an attribute called "walk sound" as an integer and whenever the player collides with the platform to set the value randomly from 1-4 (I have 4 different walk sound effects). Then, create a rule saying if the attribute is 1, play sound 1 etc. However, I can't seem to make these sounds loop (always playing as long as there is collision). I tried the loop group, however, the sound plays too fast.

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276
    edited April 2015

    You could try a timer inside the rule. For example, "every 0.5 seconds, play sound".

    Mental Donkey Games
    Website - Facebook - Twitter

  • SocksSocks London, UK.Member Posts: 12,822

    @WGPark said:

    Is your walking character animated (using the Animation behaviour) ?

  • WGParkWGPark Member Posts: 3

    @Socks said:
    Is your walking character animated (using the Animation behaviour) ?

    Not yet, but I do plan on adding one.

Sign In or Register to comment.