Walking sound for my FPS

Blitz3D Forums/Blitz3D Programming/Walking sound for my FPS

panton(Posted 2008) [#1]
I'm creating a little FPS game.
But I don't know how to get walking sound in my game and plays it when im walking.
Can anybody give me an example or something?
Thank you.


Ross C(Posted 2008) [#2]
Find a walking sound. Load it at the beginning of your code. Then play it everytime your players footstep hits the ground. You can query what frame of animation of your character is on by using AnimTime()


panton(Posted 2008) [#3]
can't. it isn't a 3rd person shooter. I told you it's a FPS game. So I don't need my own player model. Only the gun with hands.


t3K|Mac(Posted 2008) [#4]
if you have some dodging, use this as a step sound generator.


chi(Posted 2008) [#5]
from the beginners area... with tap-sound and headbang. maybe its usefull

http://www.blitzbasic.com/Community/posts.php?topic=51700#587612

cheers, chi


Ross C(Posted 2008) [#6]
Just play the sound when he's walking then. Even easier :o) Create some of of timer between the sounds playing.


panton(Posted 2008) [#7]
Ok thank you Ross C, i t works!