Coding Challenge #72.3: Frogger – Part 3

[ad_1]
In the third part of the Frogger coding challenge, I implement the rows of logs/turtles that the frog jumps onto.

Part 1:
Part 2:
Part 4:

Source code for this challenge:

Here is the community made Frogger in p5.js (thanks to meiamsome):

Support this channel on Patreon:
To buy Coding Train merchandise:
To Support the Processing Foundation:

Send me your questions and coding challenges!:

Contact:
Twitter:
The Coding Train website:

Links discussed in this video:
Frogger on Wikipedia:
Video of the Gameplay:

Source Code for the all Video Lessons:

p5.js:
Processing:

For More Classic Video Games:
For More Coding Challenges:
For an Intro to Programming using p5.js:

Help us caption & translate this video!


Posted

in

by

Tags:

Comments

19 responses to “Coding Challenge #72.3: Frogger – Part 3”

  1. Monge Dos Games Avatar

    I made one cool frogger project program on processing in my Programming class at school… It is actually pretty cool if u wanna see it… I can email you or send the code

  2. Valera Klimin Avatar

    The right is if (frog.y < height-grid*5 && frog.y > grid) else the eighth row of logs will dont work. Frog will not attach and think that is safety zone.

  3. Callum Smith Avatar

    I think I might of been his 300,000 sub not sure

  4. MrMyhz Avatar

    @The Coding Train At 20:00 If you move to a log, stay on it for a bit and then step back to the safety lane the frog's position may no longer be evenly divisible by 50 as it's position is no longer being multiplied by the grid length, but is instead altered relative to the speed of the log it's currently attached to.

    Essentially this makes it possible for part of the frog to go off the screen, an issue which you originally fixed in an earlier video. Not sure if it matters, just found it a bit interesting. Well, one possible issue off the top of my head is that may need to be "on the grid" to hit the lillypads depending on how you calculate the intersection there.

    Great work as always though, absolutely love your videos.

  5. C0m1xCr42y Avatar

    is it just me or does java look much more complex than javascript?

  6. Tom Burris Avatar

    Great video Dan! Next time you do a coding challenge, could you make a video focused on how to refactor code and the process you go through to accomplish it? Thanks 🙂

  7. John Appleseed Avatar

    In methods comparing with another thing, instead of calling it "other", you should call it "that" 😛

  8. I'maHater Avatar

    You know… Im just 11 years old and learn coding! That is all because you, other you tubers are boring in this kind of videos! But you… You are funny smart, informercial and so "NOT BORING" (: You can code something very fast, faster than other people. Please never stop with youtube! You are funnier than comedy you-tuber but you are a developer and funny that is sooo cool! Be glad that your 275k fans are all cool guys!!!!!!! (-: Have a nice day!

  9. Sanjay Nielsen-Betts Avatar

    Hey i have been watching some of your videos and i was wonder what text editor you use and is it better that sublime 3
    sincerely Questioning watcher

  10. Abhishek Tripathi Avatar

    best coding channel on YouTube.

  11. Person Man Avatar

    Anyone else see the highlighters at the bottom of the screen? 😉

  12. UsbStick Avatar

    Hi, im using Processing 3 and i want to upload my Program in an HTML file. How can i do this? PS: Great work, you make me happy 🙂

  13. FloRyan TheLion à la FloRaiando Codename Glyphosat Avatar

    I am really struggling with using sound in my android app created with processing. Can someone help me?

  14. TheFireBroz // TFB Avatar

    Make a challenge and code in the default Java way using no libraries whatsoever..
    I believe creating your own game loop, and rendering the frames by the default would be much more challenging than using a simple library.

  15. RelapiK Avatar

    Hi, could anyone tell me how i can create a new window with processing, eg in a game menu where i press start and get right into the game. (Yeah, im new to processing)

  16. Tanveer Singh Avatar

    Can you please tell me what should i do next if i have knowledge of html5 and css3, but zero knowledge about javascript ,php and other stuff.
    where should i approach next?? after completing basic languages like html5 and css3!!

  17. MAXYANKEE5 Avatar

    NEED HELP!!!

    Im using eclipse and slick 2D, i'm not experienced in making games, but I want to know how I could make falling images come down from the top of the screen that spawn in random locations. Any help would be great!

  18. Sudo Hyde Avatar

    Hello,
    do you think about the videos before you start filming? your decisions look pretty well thought

  19. Marwan Asker Avatar

    hands down best coding channel on yt

Leave a Reply

Your email address will not be published. Required fields are marked *