Coding Challenge #72: Frogger - Part 2
In this multi-part challenge, I create a simplified version of the classic Atari video game Frogger in Processing (Java). Code: https://thecodingtrain.com/challenges/72-frogger
π» Github Repo: https://github.com/CodingTrain/Frogger
p5.js Web Editor Sketches:
πΉοΈ Frogger: https://editor.p5js.org/codingtrain/sketches/crMMFw8vD
πΉοΈ Frogger - Refactored: https://editor.p5js.org/codingtrain/sketches/C8gqXQ3Qd
Other Parts of this Challenge:
πΊ Part 1: https://youtu.be/giXV6xErw0Y
πΊ Part 3 - Add additional elements of Frogger: https://youtu.be/hk326ZHlENQ
πΊ Part 4 - Refactoring the code: https://youtu.be/c6WdJltqEtM
π₯ Previous video: https://youtu.be/LFU5ZlrR21E?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
π Frogger on Wikipedia: https://en.wikipedia.org/wiki/Frogger
Videos:
π₯ Video of the Gameplay: https://youtu.be/l9eTOaNFwKQ
π₯ Video Games track: https://thecodingtrain.com/tracks/games
π΄ Coding Train Live 96: https://youtu.be/7BdfPG3peP4?t=4870s
Related Coding Challenges:
π #3 The Snake Game: https://youtu.be/AaGK-fj-BAM
π #46 Asteroids: https://youtu.be/hacZU523FyM
π #67 Pong!: https://youtu.be/IIrC5Qcb2G4
π #71 Minesweeper: https://youtu.be/LFU5ZlrR21E
π #91 Snakes & Ladders: https://youtu.be/JrRO3OnWs5s
π #115 Snake Game Redux: https://youtu.be/OMoVcohRgZA
Timestamps:
0:00 Part 2 -- Add cars
2:41 Add speed to the car class
4:27 Add multiple cars
11:48 Check to see whether the frog and car intersect
13:22 Add a reset function
14:36 Conclusion and next steps
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://thecodingtrain.com/discord
π 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
#gamemechanics #froggeratari #inheritance #processing
Other Videos By The Coding Train
Other Statistics
Frogger Statistics For The Coding Train
At present, The Coding Train has 203,726 views spread across 4 videos for Frogger, and about an hours worth of Frogger videos were uploaded to his channel. This is less than 0.17% of the total video content that The Coding Train has uploaded to YouTube.