Fall 2020 Final Project
- Gaurav Singh
- Dec 22, 2020
- 1 min read
For this project I used an image as a background as well as sounds to convey punches and hits. I also used many sources such as stackoverflow, the p5 library, coding YouTube channels, github, and as well as other games that were already made as a basis for some of the functions such as the punch and hit sound effects.
Sources used:
stick fight
https://codepen.io/tonimain/pen/RmNGGP
fencing
https://onsclom.itch.io/fencing-fighting-game-trainer
footsiesgame
https://github.com/onsclom/footsiesgame
Gif coding\
https://stackoverflow.com/questions/56018372/adding-a-gif-to-a-p5-js-artwork
//movement
//https://www.geeksforgeeks.org/p5-js-keyboard-keyisdown/#:~:text=The%20keyIsDown%20%28%29%20function%20in%20p5.js%20checks%20the,behavior%20simultaneously%2C%20such%20as%20moving%20a%20sprite%20diagonally.
//hit
//https://www.youtube.com/watch?v=LO3Awjn_gyU
//reset
//https://stackoverflow.com/questions/51140032/reset-the-content-without-reloading-page-p5
//sound
//https://github.com/processing/p5.js-sound
Comments