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...
Good job ... i made my developer exam program with your video series.. thank you very much
holy crap man you're actually super helpful and good, getting me closer to making my fist game on my own so thank you
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.
Awesome! 👍
Thank you ☺️
Good videos bro dont give up
thank you
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?
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..
I have been getting 'Player_start_x' is not defined even though i copied everything you did
Cool. But why are last 2 videos hidden?
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 :)
🙏
what IDE do you use?
vsc
DOESNT WORK
You just didn't catch something, ALSO, DID U FORGET TO IMPORT THE TEXTURES IN