Pygame Top Down Shooter Tutorial in Python #1 - Setup & Player Movement

Поділитися
Вставка
  • Опубліковано 18 жов 2024
  • Learn how to create a top down shooter in pygame! I use Python 3 and pygame in this project. In the next video, we will be creating a function to make sure the player is always facing the mouse. We will also be implementing a shooting mechanic! Subscribe to keep up to date with the series, and please leave a like if you found it useful/interesting! Thanks for watching and reading.
    Code and assets:
    github.com/JCo...

КОМЕНТАРІ • 18

  • @nikosiemens9426
    @nikosiemens9426 4 місяці тому

    Good job ... i made my developer exam program with your video series.. thank you very much

  • @Alpha_1_Edits
    @Alpha_1_Edits 6 місяців тому

    holy crap man you're actually super helpful and good, getting me closer to making my fist game on my own so thank you

  • @jaecee1528
    @jaecee1528 11 місяців тому +1

    LOVE THE VIDEO, but I am really curious on how you made the sprites, specifically the player sprite with a gun. I have been searching everywhere on how to create those types of sprites but I have come up with nothing. Thanks in advance.

  • @dhex8122
    @dhex8122 Рік тому +1

    Awesome! 👍

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

    Good videos bro dont give up

  • @informatiqueisfutur-ve2ro
    @informatiqueisfutur-ve2ro 7 місяців тому

    thank you

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

    im getting an issue where my character moves faster when i move my mouse but has horrible movement when moving without it how do i fix this?

  • @Anonymousewizard
    @Anonymousewizard Рік тому +5

    cool video bro, ive been experimenting with pygame, have you seen how to import a spritesheet? funnily enough, i got 15 fps increase when i changed all my sprites to being imported from the main spritesheet; here is code.
    import pygame,
    spritesheet = pygame.image.load("art\main_spritesheet.png").convert_alpha()
    art_player = spritesheet.subsurface(pygame.Rect(x, y, width, height)) # (x,y on spritesheet, width,height of tile)
    then it just works like an imported image, eg screen.blit(art_player,(x,y))
    i think its becaue its pygame class or smth but ye 15 fps is 15 fps..

  • @BeliefBeyondBorders
    @BeliefBeyondBorders 6 місяців тому

    I have been getting 'Player_start_x' is not defined even though i copied everything you did

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

    Cool. But why are last 2 videos hidden?

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

      I fixed that. All the videos so far have been uploaded. I'll try to upload the next one as soon as I can but I'm on holiday so it may be a couple weeks. Thanks :)

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

    🙏

  • @kanyamuthukumar68
    @kanyamuthukumar68 5 місяців тому

    what IDE do you use?

    • @huegui
      @huegui 5 місяців тому

      vsc

  • @ldelamat1
    @ldelamat1 Рік тому +2

    DOESNT WORK

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

      You just didn't catch something, ALSO, DID U FORGET TO IMPORT THE TEXTURES IN