Python Beginner Project Tutorial | Analog Clock

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

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

  • @carlfranz6805
    @carlfranz6805 2 года назад

    Just two things:
    1) this was both elegant and brilliant,
    2) you spent way to much of your life on this...
    And, we appreciate it.
    Next, of course, we need to do the hands in silver, the numbers in gold, and put a 'Timex' on it. 🤣 Oh, yes, and a dot in the center where the hands attach to the spindle. Also, it might be fun to add an altimeter and a stopwatch. At some point, of course, we'll need to change the 'Timex' to 'Rolex' and get our sorry butts sued. What fun. 👍
    Thank you, this killed a boring winter evening in February 2022. I wish you luck and success.
    [edit]: I did play with the colors a bit and it really does look quite slick. Yes, I'm that bored. I've been working on programming Space Invaders for 2 weeks now. This was an excellent change of pace.

    • @giovannicode9393
      @giovannicode9393  2 года назад

      Thanks! Comments like this keeps me motivated to create projects like this!

  • @yaasseen
    @yaasseen Год назад +2

    Hi, this was a really helpful video! 👌👍 I just wanted to ask: what would I need to change to make it all anticlockwise? (So the numbers go from 12 to 1 the other way and the second, minute and hour hands move in the anticlockwise way.)

  • @TDNoteBook
    @TDNoteBook 2 года назад

    I appreciate for your excellent program of Analog clock. And as a beginner it is so difficult for me to do it but I will learn it. And I am little bit confuse of mathematics. Thank you very much.

  • @giovannicode9393
    @giovannicode9393  3 года назад +3

    Hello! Somehow I wrote "Digital Clock" instead of "Analog Clock "setting Pygame's set_caption. Please don't be harsh on me, I'm only human :)

    • @xtremegamemaker
      @xtremegamemaker 3 года назад

      k bro no prob😁

    • @carlfranz6805
      @carlfranz6805 2 года назад

      Geeez. Typical programmer. 🤣

    • @giovannicode9393
      @giovannicode9393  2 года назад

      @Laura Hi!. 1) put your image in the project catalog. 2) load it with "background = pygame.image.load("background.jpg")" after line "pygame.init()". 3) In the main() function instead of line "screen.fill(BLACK)", put "screen.blit(background, (0, 0))". It will draw your image at 0, 0 coordinates. You may need to adjust image size to the pygame window size to fill all the window.

  • @minhtri7525
    @minhtri7525 3 года назад

    Can you do the movement of game characters (horizontal move, jump, crouch,...) in Python?

    • @giovannicode9393
      @giovannicode9393  3 года назад

      Hi! It could be that I will do it in near future.

    • @carlfranz6805
      @carlfranz6805 2 года назад +1

      Lookup 'Clear Code' on RUclips, if I remember properly. Or '2D-Mario-style-platformer' either in RUclips or GitHub. He also has tutorials on Pygame animation. Or, at least, animation is part of the tutorial.

  • @xtremegamemaker
    @xtremegamemaker 3 года назад

    Hi brother nice vid.

  • @minhtri7525
    @minhtri7525 3 года назад

    Good job 💙😄

  • @philtoa334
    @philtoa334 3 года назад

    thx.

  • @sahilshakya3875
    @sahilshakya3875 2 года назад

    Bro please speak in clear voice u r voice is not clearly audible and please go slow while you write the code..

    • @giovannicode9393
      @giovannicode9393  2 года назад

      Thanks for the comment. Check my new videos with "new voice" :)