Blockland Forums > Suggestions & Requests
Wind rushing SFX (CLIENT SIDE)
<< < (5/6) > >>
Chrono:

--- Quote from: Mr.Noßody on May 02, 2012, 10:58:34 PM ---I was actually going to use 2D Music as a reference, but decided not to.
Same thing happened here..

--- End quote ---
Or you can just use the built in datablock value to do footsteps with just one line of code.
phflack:
lol, off topic with footsteps?
anyway, on topic, this shouldn't be too hard to make if there's a sound we can use, as there's a default function to give you the players speed
all it'd need is a loop and an if statement, maybe even a switch statement for different sounds based on speed
Sheath:

--- Quote from: Mr.Noßody on May 02, 2012, 06:28:46 PM ---Does this mean footstep sounds are possible? How come nobody made them yet?
This would be cool.

--- End quote ---

I've always wanted footsteps, but ones that sound like shoes on glass when you stand on transparent. :c

Onneee dayyy.
Aide33:

--- Quote from: phflack on May 03, 2012, 09:53:13 PM ---lol, off topic with footsteps?
anyway, on topic, this shouldn't be too hard to make if there's a sound we can use, as there's a default function to give you the players speed
all it'd need is a loop and an if statement, maybe even a switch statement for different sounds based on speed

--- End quote ---
Whats the function to get the players speed
phflack:
it's something that sounds obvious but i can't remember it
anyway, kalph gets positions with serverConnection.getControlOb ject().getPosition();, which can then find velocity
i feel like getting velocity is similar, maybe even getVelocity(); instead?

just checked drendran's speedometer, he uses getcontrolobjectspeed();
Navigation
Message Index
Next page
Previous page

Go to full version