GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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. Posts: 956Member

    @WGPark

    When player collides with ground play sound "walk"

  • WGParkWGPark Posts: 3Member

    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 Posts: 1,276Member
    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.Posts: 12,822Member

    @WGPark said:

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

  • WGParkWGPark Posts: 3Member

    @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.