1 hour 2D Breakout in JavaScript!

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025

Комментарии • 47

  • @MrBrady95
    @MrBrady95 10 месяцев назад

    Cool, thanks for putting the fun in function! And since we're on a fun kick: @33:00 //check for wall hits ... is what I do on the cat track ... when I'm riding on my snow board! Cheers!

  • @jdabbasi990
    @jdabbasi990 10 месяцев назад +15

    The real Daenerys Targaryen our teacher!

  • @haythem5101
    @haythem5101 10 месяцев назад +1

    Many thanks for this lesson! as always useful and clear!

  • @AndreColon
    @AndreColon 10 месяцев назад

    Thank you , this was fun - I am excited to jump on the next 1 hour app in JS. Well Done!

  • @Kenbomp
    @Kenbomp 8 месяцев назад +1

    Some ultra name refactor needed but for the scope it liveable

  • @RAVISHARMA-hk5ll
    @RAVISHARMA-hk5ll 10 месяцев назад +1

    hello, I watch again this wonderful js work because it's game + fun - thanks

  • @RAVISHARMA-hk5ll
    @RAVISHARMA-hk5ll 10 месяцев назад +1

    Thanks Ania , this is my favourite game , thanks for sharing it's wonderful js flow .

    • @aniakubow
      @aniakubow  10 месяцев назад +1

      Aw thank you!

  • @jamesp9823
    @jamesp9823 6 месяцев назад

    Thanks for this. Currently refreshing my JavaScript skills and this helps a lot.
    I would recommend using "Extract Variables" or "Introduce Explaining Variables" to make the code more readable.

    • @aniakubow
      @aniakubow  6 месяцев назад

      Thanks so much for watching 🤗🤗🤗

  • @ahmad-murery
    @ahmad-murery 10 месяцев назад

    Nice little game Ania
    I like making such games when teaching Young people, it keeps them engaged and having fun at the same time.
    about 2 years ago I taught a 12y/o kid the fundamentals of frontend development and for the final project he was able to build a similar game (with some advanced features) and I really didn't expect he can understand all concepts, anyway, I think he was smarter than me😎.
    Thanks!

  • @jakubfrei3757
    @jakubfrei3757 10 месяцев назад +1

    I did this a while ago, was fun

  • @zughbor
    @zughbor 10 месяцев назад

    Hi Ánia I love your videos, can you teach us theThree.js please ❤

  • @VADC-dev
    @VADC-dev 10 месяцев назад

    0% boring
    She is definitely a good teacher

  • @toby9999
    @toby9999 Месяц назад

    I created breakout 40 years ago using assember on C64. Can't get my head around JS, though.

  • @tanguy_chenier
    @tanguy_chenier 10 месяцев назад

    Thanks for this.

  • @hilmanzaki2842
    @hilmanzaki2842 9 месяцев назад

    You are absolutley amazing and beautiful keep it up 🙌

  • @Romcikkas
    @Romcikkas 10 месяцев назад

    Hello.Good job, done the same with react, added change ball speed functionality.
    Also instead of blocks array, I create function for blocks drawing:
    const numRows = 3;
    const numBlocksInRow = 5;
    const blocks = Array(numRows)
    .fill()
    .map((_, rowIndex) => {
    return Array(numBlocksInRow)
    .fill()
    .map((_, blockInRowIndex) => {
    const xAxis = 10 + blockInRowIndex * (blockWidth + 10);
    const yAxis = 270 - rowIndex * (blockHeight + 10);
    return new Block(xAxis, yAxis);
    });
    })
    .flat();

    • @aniakubow
      @aniakubow  10 месяцев назад +1

      Thanks for sharing!

  • @VADC-dev
    @VADC-dev 10 месяцев назад

    How it's says some comments are 2 days older while this posted just a 46 minutes ago?

  • @anresu3031
    @anresu3031 10 месяцев назад

    I just watched an ad for Candy Crush and the person narrating it had a voice nearly identical to yours. Did you ever work with King?

    • @aniakubow
      @aniakubow  10 месяцев назад +1

      That’s so cool! I did not sadly :)

  • @TheMetalMag
    @TheMetalMag 10 месяцев назад

    thank you

  • @youknowitItsTecH
    @youknowitItsTecH 10 месяцев назад

    Thank you Mother of dragon 🐲🐉 really it's nice video❤

  • @mojaffarahamed437
    @mojaffarahamed437 10 месяцев назад

    Are real or ai generated a model?

  • @rajunaidu7751
    @rajunaidu7751 10 месяцев назад

    Space invaders meets pong

  • @thunde7226
    @thunde7226 10 месяцев назад

    awesome....................................KUbow..................................great video...................;) bye

  • @Fogaca135
    @Fogaca135 10 месяцев назад

    Love it! thx.

  • @carloanimationTV
    @carloanimationTV 10 месяцев назад +1

    well, you look pretty on the thumbnail by the way...

    • @NK-rm7kc
      @NK-rm7kc 10 месяцев назад

      No, it looks idiotic. Sorry. What’s that expression called? blowjobreadiness? Inappropriate.

  • @abhisheksingh-ck7wp
    @abhisheksingh-ck7wp 10 месяцев назад +1

    I am a model developer, you are a model and developer❤

  • @JohnDoe-df8bj
    @JohnDoe-df8bj 10 месяцев назад +2

    First

  • @minvac7784
    @minvac7784 10 месяцев назад

    You still so beautiful and what you do

  • @asimhero2057
    @asimhero2057 10 месяцев назад

    Code with kitty

  • @SunnyPsychosis13
    @SunnyPsychosis13 10 месяцев назад

    Maybe we should do yoga together..?.

  • @w-justice7526
    @w-justice7526 10 месяцев назад

    two

  • @w-justice7526
    @w-justice7526 10 месяцев назад

    thirst

  • @YositokuTukukita
    @YositokuTukukita 10 месяцев назад

    When will we have an 0nly-Fans channel of you? =)

    • @_travis5957
      @_travis5957 10 месяцев назад

      I hope you're not being disrespectful

  • @moseskiprono8594
    @moseskiprono8594 10 месяцев назад

    Hello @ania_kubow, with the launch of Devin, do I as a developer have a future?

  • @hafezmustafa9530
    @hafezmustafa9530 5 месяцев назад

    Thank you