Python Pygame Tutorial - Episode 8! Creating Player Power-Ups and Collectible Speed Boost Objects!

Поділитися
Вставка
  • Опубліковано 29 жов 2024

КОМЕНТАРІ • 11

  • @MatHEWStorm
    @MatHEWStorm 2 роки тому +1

    cool :) i followed along to the end, then added some of my own stuff. I added lives, starts at 3 and only game over when you hit 0, and I also added a second ball that comes in if score - damage > 15. the damage variable goes up by 15 whenever you lose a life. the second ball speedscales slower than the first, and both balls scale speed down with damage, as another difficulty modifier :) also I added a red life boost that spawns randomly every 20-40 points

    • @lemastertech
      @lemastertech  2 роки тому

      Those are sweet additions!! Sounds like an awesome game you’ve got built! Hope you’re enjoying the videos :)

  • @haouatzakaria9128
    @haouatzakaria9128 7 місяців тому +1

    thank you

    • @lemastertech
      @lemastertech  7 місяців тому

      You’re welcome thank you for watching!!

  • @konstantinoskatsikeros3335
    @konstantinoskatsikeros3335 2 роки тому +1

    Hello and thank you for these videos. I am a beginner in Python and followed all 8 episodes to create the same ball bouncer game. My only issue is that pygame is lagging significantly in my computer. I also used pyinstaller to make it an exe but it keeps lagging. My computer build is very strong allowing AAA games to ultra graphics so I guess it is not a hardware issue. Do you have any idea why my pygame is lagging?

    • @lemastertech
      @lemastertech  2 роки тому

      Hello! Are you using a timer to fix the frame rate? I can’t remember if I covered that in the ball bouncing tutorial, but if you check out the flappy bird or Wordle tutorials I go over it right in the beginning! Setting up a pygame timer then regulating a fixed frame rate around 60fps usually really helps with gameplay quality! Hope that helps! Let me know if it doesn’t

  • @xkm7821
    @xkm7821 Рік тому

    I tried implementing this but in an endless runner game instead and for some reason the collectible does not show up on the run, any help please?

    • @lemastertech
      @lemastertech  Рік тому

      Well if you’re drawing it the same way we did in this tutorial video, and it isn’t showing up, you might be trying to draw it before you fill the screen with a background or something is overwriting it? Hard to say with such a generic problem

  • @Ray-sb8qi
    @Ray-sb8qi Рік тому

    player object has no attribute colliderect? can someone please help me out

    • @lemastertech
      @lemastertech  Рік тому

      Hi, is your player something other than a basic pygame shape like I used in the tutorial? You need to have a pygame shape like a circle or rectangle to be able to use the .colliderect function! Hope that helps!

    • @Ray-sb8qi
      @Ray-sb8qi Рік тому

      @@lemastertech thanks 😊