Coding Challenge #41: Clappy Bird!

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=aKiyCeIuwn4



Duration: 18:36
92,696 views
1,559


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/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#flappybird #gamedevelopment #clappybird #javascript #p5js







Tags:
flappy
bird
p5.js
p5js
creative coding
javascript
tutorial
coding challenge
p5 js
flappy bird
coding
challenge
flappy bird challenge
flappy bird javascript
flappy bird clone
web flappy bird code
how to program flappy bird
sound
play
p5.js sound library
p5.js audio
javascript audio
javascript sound
javascript audio tutorial
microphone web browser
microphone p5.js
sound input
clappy bird
sound reactive game
flappy bird sound
audio responsive game