PyGame Scrolling Shooter Game Beginner Tutorial in Python - PART 2 | Keyboard Input

preview_player
Показать описание
In this Python tutorial I code a Scrolling Shooter Game using the PyGame module. I'm going to cover creation of an event handler and how to use it to process key presses to move the character around

Credits for assets used:

Check out my other PyGame tutorials:
Рекомендации по теме
Комментарии
Автор

I like how you break it down from the beginning in each video series so people can start on any series in the channel and feel comfortable. For someone like me, who's watching all the videos sequentially, you're reinforcing the foundations again and again, which is helping them stick. Meanwhile if we're revisiting something I feel confident about, I'm either trying to get ahead of you while the video plays, to quiz myself, or thinking about how I'm going to be combining these concepts on my personal projects and trying to identify potential obstacles there.

I'm excited to get all the way through your PyGame and python content and move on to Godot. I honestly didn't plan on learning Godot at first, but now I'm thinking I'll try it out.

khargos
Автор

any one who is learning python dont check any other tutorial, just follow this coding with Russ and watch this tutorial you will learn every thing in a most fun way. i have been watching a lot of useless tutorials that wasted my time. i dont know why i found this great guy so late who is explaining every single thing in detail. thumbs up coding with Russ.

AbdulRahman-ws
Автор

Russ, these videos are just amazing, thanks for everything you do! Merry Christmas my friend!

TrainofThought
Автор

I don't know if you will see this but I LOVE LOVE LOVE the way you explain things so well
and in a timely manner, I have only finished the second video but I noticed that every time something is
wrong it is because I did something wrong lol
Other tutorials will mess up and leave me confused and no way to figure out how its supposed to look

FRAMEDSKATEKREW
Автор

The best programming channel ever i thin the next part will be after 2 days

itcode
Автор

Many thanks for this series. I'm just starting with my first pygame game and I was so happy to actually see my character moving around :D I am actually doing a bit of a different type of a game (something sort of The Binding of the Isaac you could say), so my character is moving also upwards and downwards. However I guess the easier part in my case it's that my character won't be doing any jumping😃 Also I was lucky to get the images of my character facing upwards downward left and right so I just changed the image of my character with each movement instead of creating this flip function as you did. Looking forward for next steps. Thanks again :)

kakakakaka
Автор

Hope to try it out! Thanks for the great effort you put into the video!

dhartdata
Автор

Completed your coin collecting game tutorial and now onto this one. Love these and thank you for creating them!

KimiDu
Автор

Thanks 🙏🏻
This helped me a lot
Now you have a new subscriber

pedrovictorgr
Автор

Thanks a lot!
Its very inspiring, to do something, and see the results that soon.

АнтонНазарук-щс
Автор

kudos to you, great content! you earned a sub😉😊

green_quadrix
Автор

Very nice game, I LOVE it! Please make more videos like this. You earned a SUBSCRIBE!!

nandaa
Автор

hello can i ask about the image how did you do that when I'm trying to do that I get such errors and also I already downloaded your files on github but still cant do that can you help me?

aron
Автор

Where i put {char_type} because my img 0.png is in ('F:\Softwares\Visual pls tell me where

usmanamjad
Автор

hello, I love your videos but there is only one element that I did not understand. how does fps regulate the character's speed?

kk_Sosi
Автор

How do I make the character flip when moving up and moving down

Omar-sipx
Автор

Hi, when trying to use the .tick function on the variable clock, I get an error telling me that the descriptor tick doesn’t apply to int objects. How can I fix this?

qexmyye
Автор

What is the name of the background color, for the RGB value you choose?

jetspray
Автор

Hello, I think there is a minor issue when you press the the key "A" and "D", that behavior will be turn right only. I set "moving_left" and "moving_right“ as i "-1" and "1" when pressing the key, then "direction = moving_left + moving_right". I will test the boolen value of "direction",
if it's true, then assign the dx = direction * speed , and "self.flip = direcion < 0"

yasmeteora
Автор

how do I download the whole Img folder because i cannot do that and now all my seperate images are just random and i can't call them with the char_type function

sid_mc
welcome to shbcf.ru