Collision sound:

Implementing collision sounds was relatively easy at first. After learning how to use the HTML 5 audio API for the backing track I could replicate the same process for the collision sounds and then simply call the sound play function inside my collision function. Each sound needed its own volume node with its values being updated with the change volume slider.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s