tubeshowcase●913,533 videos♡ My collection 0
← Learn to Code

Learn to Code18:36

Coding Challenge #41: Clappy Bird!

The Coding Train ↗

From the creator

Sure, flappy bird is fun, but what happens if we take away the button and control the bird with clapping! Yes, it's time for Clappy Bird! Code: https://thecodingtrain.com/challenges/41-clappy-bird 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/tL29haKoC 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 🔊 p5.sound: https://p5js.org/reference/#/libraries/p5.sound 🗒️ p5.AudioIn: https://p5js.org/reference/#/p5.AudioIn Related Coding Challenges: 🚂 #31 Flappy Bird: https://youtu.be/cXgA1d_E-jY 🚂 #147 Chrome Dinosaur Game: https://youtu.be/l0HoJHc-63Q 🚂 #100 Neuroevolution Flappy Bird: https://youtu.be/c6y21FkaUqw Timestamps: 0:00 Welcome! 0:34 About the positioning of the pipes 2:10 Implementing spacing to the pipe object 3:35 Moving the center of the space between the pipes to a random location 7:05 Adding a random spacing 8:03 Implementing sound interaction 11:31 Adjusting the threshold with a slider 14:21 Adding another threshold to apply the force only once 17:02 Testing the clappy bird! 17:50 Come up with your own ideas! Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: http://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box 💡 GitHub: https://github.com/CodingTrain 💬 Discord: https://discord.gg/hPuGy2g 💖 Membership: http://youtube.com/

Published 2016-10-20 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code