Pygame Event Handler Explained

  Рет қаралды 36,243

Coding With Russ

Coding With Russ

Күн бұрын

Пікірлер: 32
@lodgechant
@lodgechant 4 ай бұрын
Thank you for another clear, informative video, Russ. This is hugely helpful.
@erie969
@erie969 27 күн бұрын
You are an ANGEL FROM HEAVEN Russ. You have helped me SO much AGAIN. i have NO idea what would i do without you. Im on my way to get full marks on my future tests thanks to you. When i graduate i will stand up and make a speech about your AMAZING youtube channel. When i finally get a good job it will be thanks to you. You are doing incredible work and you have NO idea how much i owe you Russ. Have an AMAZING day I LOVE YOU
@CodingWithRuss
@CodingWithRuss 27 күн бұрын
Thank you :) I'm just glad these videos are still helpful. Good luck with your studies!
@MoonisHavn
@MoonisHavn Жыл бұрын
Great info in such a digestible timeframe. Really enjoy the channel.
@CodingWithRuss
@CodingWithRuss Жыл бұрын
Thanks, glad you liked it!
@Iriana_Star
@Iriana_Star Жыл бұрын
Thank you ❤😊for the video I followed every step, and it worked perfectly for me ❤😊
@CodingWithRuss
@CodingWithRuss Жыл бұрын
Glad to hear it worked!
@pethad
@pethad 2 жыл бұрын
love you sir you taught me so many things ❤❤❤❤❤❤❤❤❤❤
@Dolph74
@Dolph74 2 жыл бұрын
Nice video mate. 👍
@CodingWithRuss
@CodingWithRuss 2 жыл бұрын
Cheers!
@nbk9930
@nbk9930 2 жыл бұрын
can we built a career in game development if we know pygame.
@sonicfan88321
@sonicfan88321 Жыл бұрын
in theory, yes in practice, due to python being very slow on larger programs, it's not ideal
@griswoldthegoblin9420
@griswoldthegoblin9420 Жыл бұрын
I think you have better chances doing smth else with programming other than game development.
@ganyuolheiser7822
@ganyuolheiser7822 10 ай бұрын
Pygame is good for simple 2d games with hardly any power to run
@DailyAero101
@DailyAero101 7 ай бұрын
It’s a good start
@lightingzr
@lightingzr 2 жыл бұрын
Very good tutorial!
@CodingWithRuss
@CodingWithRuss 2 жыл бұрын
Thanks!
@tristandombroski9677
@tristandombroski9677 2 жыл бұрын
Thank you!
@ToujoursIris
@ToujoursIris 2 жыл бұрын
congrats for 15k subscribers! still waiting for discord server or any social media app where we can post doubts
@Xplouding
@Xplouding Жыл бұрын
Hi, thanks for this stuff!!! I've a question!! Is there any way to execute special movements, by a sequence of buttons pressed in a certain order?? For example... a "Hadouken" in Street Fighter!!
@CodingWithRuss
@CodingWithRuss Жыл бұрын
Hmm that's an interesting one! I'm sure you could do something like that. If I was doing this I would try using a timer that resets after each key, that will ensure the keys in the combo are pressed quickly one after another. Then I'd have a variable that starts at zero like combo=0 and then each key increases it by one. Pressing the wrong key or taking too long between keys would reset it back to 0. Otherwise, you keep increasing by 1 until the combo is complete so if the sequence has 4 steps, then you would check if combo == 4. Lastly you would need a way of storing your sequence order and checking what the next button is, which you could do with a list. Store each button in the list and that way you could also use the combo variable as the index for that list to check which button should be pressed next. You could give that a go and see how you get on.
@Xplouding
@Xplouding Жыл бұрын
@@CodingWithRuss thanks, I’m trying something like that, but, I’ve not idea if, “that‘ the way”... I’ll keep on.... thanks bro!!!
@ashururakov3617
@ashururakov3617 Жыл бұрын
#problem #help #sos hello, I have some trouble in sublime text 3. When I run my file in cmd, it runs well, but in sublime text it says "module 'pygame' is not found". help me please, I dunno how to fix this
@somethingrandome6105
@somethingrandome6105 Жыл бұрын
go to the terminal in your computer and then type in "pip install pygame"
@cleanmess1400
@cleanmess1400 Жыл бұрын
Use FINGERDOWN to get multiple touches in pygame (touchscreen)
@CodingWithRuss
@CodingWithRuss Жыл бұрын
Yes good point. There are so many events that can be detected within pygame
@EpicHistory7875
@EpicHistory7875 Жыл бұрын
is it ethical to steal codes from other games
@spoonmaster4440
@spoonmaster4440 11 ай бұрын
if its open source/allowed, go ahead, if not, then no, in fact its illgal
@CodingWithRuss
@CodingWithRuss Жыл бұрын
Hello folks! Visit codingwithruss.com/tutorial/handling-events to get the code and a quick reference of what was covered in this video.
@Therealchessenjoyer
@Therealchessenjoyer 11 ай бұрын
Anyone else got an indent error on line 12 too?
@ToujoursIris
@ToujoursIris 2 жыл бұрын
First :)
@CodingWithRuss
@CodingWithRuss 2 жыл бұрын
:)
Pygame Keyboard Input Tutorial
13:24
Coding With Russ
Рет қаралды 25 М.
PyGame Beginner Tutorial in Python - Loading Spritesheets
23:14
Coding With Russ
Рет қаралды 95 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Making a Game in Python with No Experience
5:57
Goodgis
Рет қаралды 1,8 МЛН
Get Started in Pygame in 10 minutes!
10:19
Coding With Russ
Рет қаралды 399 М.
An Introduction to Dictionaries in C
19:03
Ali Awan
Рет қаралды 1 М.
Collisions in Pygame - Beginner Tutorial
10:59
Coding With Russ
Рет қаралды 56 М.
Using The Mouse In Pygame - Beginner Tutorial
8:20
Coding With Russ
Рет қаралды 21 М.
I made Games with Python for 10 Years...
28:52
DaFluffyPotato
Рет қаралды 388 М.
PyGame Beginner Tutorial in Python - Adding Buttons
18:55
Coding With Russ
Рет қаралды 179 М.
Menus - Pygame Tutorial
7:37
DaFluffyPotato
Рет қаралды 178 М.
2 YEARS of PYTHON Game Development in 5 Minutes!
4:54
Coding With Russ
Рет қаралды 1 МЛН