Skill Tree Activated

The quest to become an indie game developer

#100DaysOfCode#100DaysOfGameDevC#CodingGame DevIllogical BaconMusic & SoundUnity

Flappy Pig – Background Music and SoundFX

Day 079 #100DaysOfCode
Day 043 #100DaysOfGameDev

Having watched Flappy Pig fly in silence for too long now, it was time to do something about that.

Adding background music was the easy part: create a new GameObject, add the AudioSource component, then assign the background music asset as the AudioClip.

background music

The sound effects based on Flappy Pig himself, colliding with an object and flapping his wings, were implemented without much difficulty, but hitting the ground and scoring a point did not work as expected. Those, it seems, will require something else to make them work. I will tackle that problem tomorrow.

Leave a Reply

Your email address will not be published. Required fields are marked *