box2d collision sounds demo

^_^ it took alot of trial and error but here is an example of collision sounds in box2d. i used a picture of homer simpson and his trademark "doh" for comic value
Attachment:
as3impactsounddemp.zip
Nice. 🙂. If you want to tweak it a bit:
  • Make the collision sound only play when the force of the collision is above a certain threshold.
  • Create a minimum delay between playing the sounds.
  • Adjust the volume depending on the force of the impact. (Though in this case that probably wouldn't be needed)

Original thread: https://box2d.org/forum/viewtopic.php?t=3076