This is a completed version of the Endless Runner tutorial found in Project2. You can add your own sounds and animations to this game by changing the file names found in the "create" function of stateMain.js.
Make graphics with Piskel: https://www.piskelapp.com
Make sound effects with BFXR: https://www.bfxr.net
Make music with Beepbox: https://www.beepbox.co
Export your graphics as .png files and place them in the images/main directory.
Sound effects should be .wav files. Put them in the audio/sfx directory.
Music can be .wav or .mp3. Place it in the audio/background directory.
You can see how I made the Beepbox music at this url: https://www.beepbox.co/#6n31s0kbl00e0ft7m0a7g0fj7i0r1o3210T1d1c0A0F0B0V1Qc240Pad90E0341T1d1c0A0F0B0V1Q0000Pff59E0111T1d1c0A0F0B0V1Q0000Pff00E0111T2w1d1v0b4h4h8x4y4h404id48Qgh4h4h4i8h8x4h014h4h4h4h4p22KFyljjji6wd0q0Q1E3EwWqqqqqqqqqqqqqgaoY1j3M4A2j4DfIxFAdcxT2eiFwMFF-pBcBm5n3z3z1s1wXrwFEUXFUq6AMI6xX5IJHRRRwGGG0CvQzoCngbgrlJE0FDMdcscdMq0VgXd0sCIdoq0VoWM8kM40m0E5iawl0agk2F5g00
Most of the code for the game is in js/states/stateMain.js.