Skip to content

Add sound effects #38

@SebastianJay

Description

@SebastianJay

Start adding in the sound effects we have to the player and environment objects. For certain objects it will be sufficient to have a script implementing OnTriggerEnter2D or OnCollisionEnter2D calling AudioSource.Play()

For the player, it should be a bit more sophisticated - I'm thinking of having a separate script which is a container for all the different AudioSources for jumping, bouncing, etc. And PlayerBallControl would call these different AudioSources as necessary.
Consider using http://answers.unity3d.com/questions/175995/can-i-play-multiple-audiosources-from-one-gameobje.html for some help.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions