Create the Viral Satisfying Bouncing Balls Game from Scratch - Python Beginner Tutorial

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

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

  • @Hiesu19
    @Hiesu19 3 месяца назад +1

    Hello Dung Lai, this is the first comment for new channel

    • @LaiProgramming
      @LaiProgramming  3 месяца назад +2

      Thank you Nguyen Thai Hieu for your support! First comment in my channel.

  • @joan.ps1
    @joan.ps1 5 дней назад

    This video was super interesting and of high quality! You definitely deserve more subscribers

  • @KashafNoor-q5u
    @KashafNoor-q5u 2 месяца назад +1

    I purchased course just waste of money they give me video without voice recorded and you explain every line of code So well highly appreciated hats off 👍 Thanks for putting so much ch effort. May Allah give you more

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

    This is the clearest explanation I've ever seen. I can't wait to see more videos.

  • @lucasmedeiros9755
    @lucasmedeiros9755 2 месяца назад +7

    Can you do a part 2 with song synchronization and sounds on collision?

    • @MdFakhruddin-v7x
      @MdFakhruddin-v7x Месяц назад +1

      Need 2nd part how to add sound.

    • @MdFakhruddin-v7x
      @MdFakhruddin-v7x Месяц назад

      Need 2nd part how to add sound.

    • @MdFakhruddin-v7x
      @MdFakhruddin-v7x Месяц назад +1

      Need 2nd part how to add sound.

    • @LaiProgramming
      @LaiProgramming  2 дня назад

      You can download a midi file for your song and use mido library from python to play each note. However, it's not suitable for this program particularly because there are exponentionally more collisions towards the ends. It wouldn't sound nice at all. A slower paced simulation would be more suitable.

  • @TAMCHUMINH
    @TAMCHUMINH 3 месяца назад

    Really impressive, keep going Lai !

  • @francescoruggeri933
    @francescoruggeri933 2 месяца назад

    you are a king, great video!!!!!

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

    Thank you bro really, thank you 🙏

  • @Nairobin
    @Nairobin 7 дней назад

    Hey, just curious about how to add/create the draw function you used for the arc. For some reason it has not been working in my program. I imported math, pygame and numpy. Should I simply make the function and call it or is it already in existence?
    Edit: Never Mind, just saw it. Must have missed it accidentally! Thanks!

    • @LaiProgramming
      @LaiProgramming  7 дней назад

      @@Nairobin check out the code for each step I post on Github

  • @鷹-n7u
    @鷹-n7u 2 месяца назад

    W teacher

  • @Jonathan-zd7bd
    @Jonathan-zd7bd 3 месяца назад +1

    and this is the second :D

  • @Orvellius
    @Orvellius 2 дня назад

    Just curious, how would you add sound effects to the ball? Is it possible to add something like a song to it everytime it hit the circle?

    • @LaiProgramming
      @LaiProgramming  2 дня назад +1

      You can download a midi file for your song and use mido library from python to play each note. However, it's not suitable for this program particularly because there are exponentionally more collisions towards the ends. It wouldn't sound nice at all. A slower paced simulation would be more suitable.

    • @Orvellius
      @Orvellius День назад

      @@LaiProgramming Ah! That would probably work with another version of this I was recently working on! (I was working on a version where the ball simply grows larger within the circle, thereby rendering the arc-part unnecessary, unless you want to see whether or not the ball can get out before it gets too big) The only issue I ran into was that everytime I tried to get the ball to only play the audio file when it hit the larger circle, it would play the same file everytime it hit. Which just sounds horrible, but maybe a midi file could help deal with that?

    • @LaiProgramming
      @LaiProgramming  День назад +1

      @@Orvellius Yes, there are 2 ways.
      1. Use a typical mp3 but divide it into chunks then play each chunks on collisions
      2. Use a midi file like I said, it will play each notes on collisions. I tried it on my pc, works wells, you can use chatgpt for help with this part.

  • @karreevn9085
    @karreevn9085 3 месяца назад

    Uii, thầy tui nè
    Huhu năm ngoái e bảo định qua Deakin với thầy, nmà e bị đưa qua Macquarie rùi 😞

    • @LaiProgramming
      @LaiProgramming  2 месяца назад

      @@karreevn9085 goodluck in macquarie

  • @gamerzilc5884
    @gamerzilc5884 2 месяца назад

    How did you make the video? :)) Did you do a voice-over or did you record a brand new one in English?

    • @LaiProgramming
      @LaiProgramming  2 месяца назад

      @@gamerzilc5884 it's a new video, idea and code is the same so It's a bit faster

  • @SummerChill-SC
    @SummerChill-SC 2 месяца назад +1

    Hi teacher

  • @callofsteve6487
    @callofsteve6487 3 месяца назад

    This is the third one XD

  • @shandorbiczok7844
    @shandorbiczok7844 2 месяца назад

    W Ai rizz

    • @LaiProgramming
      @LaiProgramming  2 месяца назад

      @@shandorbiczok7844 Looking to see the progress on your assignment soon. Data should very processed by now for training using lstm.

  • @viaticalbow9300
    @viaticalbow9300 2 месяца назад

    W teacher