Pygame Sprites And Groups Explained!

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

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

  • @Steve-tp6fb
    @Steve-tp6fb 7 месяцев назад +4

    Excellent, thanks. I've been writing a simple game in Pygame for the last 3 weeks and have used lists rather than groups. I guess you live and learn...

  • @kristofferjohansson3768
    @kristofferjohansson3768 Год назад +13

    Really informational and condensed video! Thanks!

  • @RG75_UWU
    @RG75_UWU Год назад +4

    Thanks for this video, you explained this theme better than other authors. I think you decerve to have more subscribers and you have a nice voice)

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

    This is my 9th lesson of python and i want to learn pygame but my tutor will teach me that in a bit. However, i wanted to learn it soon so I used this tutorial. Thanks

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

    Straight to the point, great video!

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

    This is perfect video and you're professional, thank you.

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

    Great explanation! Thanks!

  • @xStream14
    @xStream14 6 месяцев назад +2

    TOP SPOT VIDEO!!! BIG HELP I HAVE LIKED AND SUBBED!!!

  • @uferis
    @uferis 7 месяцев назад

    for some reason it doesn't show sprites in a Group as yours does, for me it just stays at

  • @Netherilt
    @Netherilt Год назад +1

    Great tutorial!

  • @moklibo
    @moklibo 8 месяцев назад

    how do i use custrom sprites?

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

    why when i try my code the block just stoped dropping when i click again.. but when i copy and paste your code it worked perfectly

  • @lhomme_flaneur
    @lhomme_flaneur Год назад +1

    hey Russ! that's great, keep up please :)

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

    Great! Should have watched this video before writing this all myself using my own classes and list :-|

  • @ytk223
    @ytk223 8 дней назад

    If your heart leaves your body, you will break your opponent's eye. Please remind me of your name.

  • @Tumla
    @Tumla 8 месяцев назад

    My anti virus warns me from going to you're site? But other then that great video! Seems like a realy usefull way to use classes for games.

  • @doramon6251
    @doramon6251 8 месяцев назад

    It says error for squares.draw(screen)

  • @its_stark
    @its_stark Год назад +1

    Thank you

  • @DineshVaidyaOfficial
    @DineshVaidyaOfficial Год назад +1

    liked!! thanks

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

    in my code:
    enemy = Enemy(x, y, random.choice(colors))
    enemies.add(enemy)
    i have initialised everything before and the problem says
    expected type 'AbstractGroup[_SpriteSupportsGroup]', got 'Enemy' instead
    what does this mean exactly

  • @ArsonguyGT
    @ArsonguyGT 8 месяцев назад

    Thanks

  • @SkyFly19853
    @SkyFly19853 Год назад +10

    I love pixel art...

    • @GustonExE
      @GustonExE 11 месяцев назад +4

      me too...

    • @Flaim1
      @Flaim1 8 месяцев назад +2

      Used it for all the sprites in my first game lol

  • @idiedlastmonth
    @idiedlastmonth Год назад +4

    Wonderful! Thank you!

  • @Klannahar
    @Klannahar Год назад

    Nice one, but i still dont use sprite class. :(
    I designed my own for this what suits more with my needing, then the built in sprite group.

    • @CodingWithRuss
      @CodingWithRuss  Год назад +1

      Nice. The sprite class gives you some functionality but making your own one for specific requirements makes sense.

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

    WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO