Doodle Jump in JavaScript! 2024 version

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 27. 08. 2024
  • Found this hard? Learn the fundamentals of coding here: www.codewithan...
    🚀 Sign up to www.codewithan... to receive access for the final code.
    ____
    ⭐ Check out my IDE here and get 1 month free: jb.gg/get_webs...
    ⭐ New to code and none of this is making sense? Watch my '12hr+ CZcams Coding Bootcamp' in which you will learn HTML, CSS and JavaScript Fundamentals completely from scratch. It's on my channel and its 100% free.
    ⭐ In most videos I use Tabnine as my A.I autocompletion tool. You can download it for free here (I get no commission from this link, but am in a partnership): bit.ly/tabnine-...
    ⭐ You can get a blockchain domain with my affiliate link here: bit.ly/get-a-cr...
    ⭐ If you would like to buy me a coffee, well thank you very much that is mega kind! : www.buymeacoff...
    ⭐ Sign up for weekly coding tips from my newsletter partnership: bit.ly/JS-tips
    You can also find me on:
    Twitter: / ania_kubow
    Instagram: / aniakubow

Komentáƙe • 34

  • @dev_ression
    @dev_ression Pƙed 8 měsĂ­ci +6

    You’re a legend, thank you for making this!,

  • @ewertonfrancissantos6912
    @ewertonfrancissantos6912 Pƙed 8 měsĂ­ci +2

    Thank you for this tutorial, Ania, I was very happy to complete it, get out of the frameworks a little and learn more about Vanilla js, I still have a lot to learn, thank you!

  • @likandokayombo
    @likandokayombo Pƙed 8 měsĂ­ci +2

    Counting down with Ania 👏

  • @user-qn7dx9iq4m
    @user-qn7dx9iq4m Pƙed 8 měsĂ­ci +2

    00:01 Learn to build Doodle Jump game in JavaScript.
    02:13 Setting up project files and linking stylesheet.
    06:36 Preparing JavaScript and adding necessary images and files for Doodle Jump game.
    08:43 Create a doodler using JavaScript method.
    13:10 Creating platforms using classes and constructor
    15:33 Creating multiple platforms with equal spacing.
    20:06 Adjust doodler position to interact with platforms
    22:25 Creating and moving platforms in the game
    26:49 Setting up variables, timers, gravity, and speed for Doodle Jump game logic.
    29:11 Handling game over and implementing clean up
    33:44 Handling left and right movement in JavaScript
    35:56 Implementing left and right movement for the doodler
    40:34 Implementing the 'move straight' function

  • @salmanjaani7826
    @salmanjaani7826 Pƙed 8 měsĂ­ci +3

    Thanks mam it's really helpful and amazing ❀❀

  • @Damzel_Gould
    @Damzel_Gould Pƙed 7 měsĂ­ci

    Wow! I'm so glad to learn from you.

  • @THECMYKFILTER
    @THECMYKFILTER Pƙed 4 měsĂ­ci

    AMAZING! SO NICE YOU EXIST TO TEACH US!

  • @braveitor
    @braveitor Pƙed 8 měsĂ­ci +2

    It's quite good but I'd have done several things differently. First of all, destroying and creating objects is quite expensive, so you could simply put at the top in a random lateral position any platform that goes below the lower part. That way the performance would be much better (with more objects, this is quite a simple game).
    But I don't think that using so many intervals is a good option. You could have used velocity variables instead, so there could be just one main interval for the whole game and movement. If you press right, increase vx and so on. Just another way to implement this (and simpler, imho)

    • @reuven2010
      @reuven2010 Pƙed 8 měsĂ­ci

      u are really good where did you learn

    • @braveitor
      @braveitor Pƙed 8 měsĂ­ci

      @@reuven2010 Just from the experience, reading a lot about javascript and game development, other tutorials... This channel is a really good reference for javascript game programming: www.youtube.com/@Frankslaboratory

    • @dgtldrft
      @dgtldrft Pƙed 7 měsĂ­ci

      Could you share an example, plz?

  • @asyncrohan
    @asyncrohan Pƙed 8 měsĂ­ci +3

    Thanks a lot for this one , i am trying to built some games in js because of you , you gave me this vision 😅 that i can do anything with js only😊

  • @felipecaro420
    @felipecaro420 Pƙed 7 měsĂ­ci

    Hola hoy iniciamos clase en desarrollo de software creo que estarĂ© por aquĂ­ mĂĄs seguido 😅🎉

  • @micanal5533
    @micanal5533 Pƙed 7 měsĂ­ci

    Nice Tutorial!

  • @rajunaidu7751
    @rajunaidu7751 Pƙed 8 měsĂ­ci +2

    you think youre flappy bird now

  • @user-mh1km3mv7z
    @user-mh1km3mv7z Pƙed 8 měsĂ­ci

    trying to find stuff to do for winter break but code with ania is for sure not it!

  • @you_tuber_coder
    @you_tuber_coder Pƙed 8 měsĂ­ci +1

    Start pls

  • @pigderp9682
    @pigderp9682 Pƙed 6 měsĂ­ci

    how does the move function work? doodlerbottom is 150. why is the if parameter set to > 200?

    • @user-cy7dm6lg2l
      @user-cy7dm6lg2l Pƙed 6 měsĂ­ci

      I wondered the same thing, so I set the if condition to "if(doodlerBottomSpace > 149)

  • @valenciawalker6498
    @valenciawalker6498 Pƙed 8 měsĂ­ci

    Thank you Ania.

  • @user-mh1km3mv7z
    @user-mh1km3mv7z Pƙed 8 měsĂ­ci

    i cant follow your tutorial
    senior cs major at cmu :/

    • @aniakubow
      @aniakubow  Pƙed 8 měsĂ­ci +2

      I’m sorry you are having trouble. You can find the code to compare yours to on my GitHub. Coding can be hard. It’s important to keep at it đŸ’Ș

  • @user-qn7dx9iq4m
    @user-qn7dx9iq4m Pƙed 8 měsĂ­ci +1

    Hloo

  • @thunde7226
    @thunde7226 Pƙed 8 měsĂ­ci

    short.... and great.................;) bye

  • @RAVISHARMA-hk5ll
    @RAVISHARMA-hk5ll Pƙed 8 měsĂ­ci

    Awesome

  • @mickme8914
    @mickme8914 Pƙed 8 měsĂ­ci

    You would have to be THE most attractive person i have ever seen on this planet!. I would attempt to put words to just how attractive you are. However it would only fall far short, and end up being offensive to your beauty. I think i have just found myself in a crush đŸ„°đŸ„°đŸ„°

  • @konstantinkurlayev9242
    @konstantinkurlayev9242 Pƙed 8 měsĂ­ci

    Nice coding, 😎

  • @fluxsiarski
    @fluxsiarski Pƙed 7 měsĂ­ci

    đŸ‡”đŸ‡±

  • @seryjsk
    @seryjsk Pƙed 8 měsĂ­ci

    КаĐș Ń‚Đ°ĐŒ Đ°ĐžŃˆĐœĐžĐșĐž разĐČĐžĐČаются¡¿.

    • @seryjsk
      @seryjsk Pƙed 8 měsĂ­ci

      ..ĐŽĐ° Đž ĐŒŃƒĐ·Đ”Đž ĐșĐ°Đș.

  • @konstantinkurlayev9242
    @konstantinkurlayev9242 Pƙed 8 měsĂ­ci

    It is a child play for your