Ready quick tips: Player walk (Animation with the sprites)

6 Likes

How to add walking sounds?

2 Likes

You must have a looped sound file. After you added it on the Player object in the editor, set the loop for it - yes (In the settings) and make a new events. Events Example:

Event1:

Button/Sensing/Touch Down
  Player/Sound/MySound/Play

Event2:

Button/Sensing/Touch Held
  Player/Position/Move Right In Over Time/1 m.s

Event3:

Button/Sensing/Touch Up
   Player/Sound/MySound/ Stop Playing

Another method, you can playing the your sound every time when this need, for example:

Turn off the loop in the settings for the your sound and make a new events:

Event1:

Button/Sensing/Touch Held

AND

System/Runtime/Repeat Every/0,5 sec
  Player/Sound/MySound/Play

Event2:

Button/Sensing/Touch Held
  Player/Position/Move Right In Over Time/1 m.s

Event3:

Button/Sensing/Touch Up
   Player/Sound/MySound/ Stop Playing
2 Likes