Тёмный
baraltech
baraltech
baraltech
Подписаться
Programming tutorials/developer vlogs - teaching and learning Python and Web Development.

About me:
I'm Harsit, an 11th grade student in Canada. I love coding and making tutorials. I also love learning new coding technologies and documenting my progress in them, which is what I'll be doing on this channel!

Milestones:
1st Subscriber - February 2, 2021
1000th Subscriber - January 30, 2023
Python Weather App in 8 Minutes
8:29
Год назад
HOW TO PLAY VIDEOS IN PYGAME/PYTHON!
8:07
2 года назад
HOW TO MAKE A MENU SCREEN IN PYGAME!
5:09
2 года назад
Create Snake with Python in 20 MINUTES!
22:59
3 года назад
HOW TO MAKE A LOADING BAR IN PYGAME!
13:23
3 года назад
Комментарии
@darkultimate6723
@darkultimate6723 12 дней назад
Video does not work for me I watched the tutorial for hours but it only works when I hold space or any other key down.
@Dreabpy
@Dreabpy 12 дней назад
way too underated
@Dreabpy
@Dreabpy 12 дней назад
186 views is wild
@KyleGameTesting
@KyleGameTesting 14 дней назад
I like the way you explain bro. Appreciate the detail!
@samhonor6631
@samhonor6631 20 дней назад
your voice changed a lot from the button video to this one, thanks for the vids
@KnaniBody
@KnaniBody 20 дней назад
what is a rect
@llamaben29
@llamaben29 23 дня назад
What does the NULL pointer error mean
@CaseyBlase
@CaseyBlase 29 дней назад
Okay... but like... what happens if you push them both... do they layer!? Damn it... that's the only thing I watched for to see.
@rdproduction4361
@rdproduction4361 Месяц назад
PLN 10.00 hello
@creepy222
@creepy222 Месяц назад
hey i saw your video on making a colour picker with pygame gui, it was useful but i cant find any other tutorials on the pygame gui module. it would be really cool if you had the time to make one!
@ok-hb6hh
@ok-hb6hh Месяц назад
nice video!
@kevincarter3753
@kevincarter3753 Месяц назад
awesome tutorial!
@kevincarter3753
@kevincarter3753 Месяц назад
Great video!
@brooklynstizzi3047
@brooklynstizzi3047 Месяц назад
loll why would we want the illusion of a different screen?
@abhipatel4595
@abhipatel4595 Месяц назад
How old are you? You look young in this video, its good u start your channel when ur young :)
@granpajestaz292
@granpajestaz292 2 месяца назад
Nice try lol
@abhipatel4595
@abhipatel4595 Месяц назад
What?
@Vyom_06
@Vyom_06 2 месяца назад
Hello, I have a question if you reply with ur email I could forward you my code and the issue is that I’m having trouble implementing this games menu into my existing game
@brunopauletti1961
@brunopauletti1961 2 месяца назад
in "def get_font(size):" what you put in?
@el_mapache4486
@el_mapache4486 2 месяца назад
Very usefull thank you very much, I edit the code a little bit because I made the buttons transparent because I already made in paint the menu backgrounds with the buttons lol, so I only situated empty png images over the "buttons" to seems like that you're pressing a button xd
@marcinbaryka1490
@marcinbaryka1490 2 месяца назад
I think you forgot about mixer initialization. Without this it would not gonna work: "pygame.error: mixer not initialized".
@dgofficial-r5f
@dgofficial-r5f 2 месяца назад
I need help. When I finish creating the paddles, the game screen shows nothing but a black screen. Is there anyway to fix it?
@TheDefilerAzog
@TheDefilerAzog 2 месяца назад
u need more subs this is actually so good.
@TheDefilerAzog
@TheDefilerAzog 2 месяца назад
thank you
@tbinaryg
@tbinaryg 2 месяца назад
thanks, this was really useful
@ludvig7749
@ludvig7749 2 месяца назад
btw if you want the ai a bit faster just chance the value to 2 it moves faster :)
@gordonmctague1723
@gordonmctague1723 3 месяца назад
I'm haveing trouble importing the gui
@UsernameaBad
@UsernameaBad 3 месяца назад
thanks
@tasmiatasnim-pw7gm
@tasmiatasnim-pw7gm 3 месяца назад
I don't understand one thing, y_pos = y_pos - jumpvel(10) wouldn't it go way up the screen then vel would become 9,8... to 0 won't this be beyond our screen. i get it how it goes up and then down but i didn't understand this part. Upward movement: 10 + 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 = 55 units Downward movement: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55 units why it doesn't look like it jumped 55 units
@Darkmatter321
@Darkmatter321 3 месяца назад
Can I have the goat?
@popomasher
@popomasher 3 месяца назад
I found a work around for this gettging the FONT errors and put in LargeText but now am putting the elif event.key, and I am getting no module for key? pygame.event.event' object has no attribute 'key' anyone else get that or know a work around??
@sanaaaaa666
@sanaaaaa666 4 месяца назад
if i want to use multiple files how do i call the functions as the mouse is pressed?
@yarin8350
@yarin8350 4 месяца назад
Amazing tip on how to use multiple screens! I had a big issue with having different resolutions for my main menu and gameplay and this really helped. Thanks a lot!
@N3id1
@N3id1 4 месяца назад
how do i get the font?
@amraam8723
@amraam8723 4 месяца назад
Whats the song? :)
@MowiWowi
@MowiWowi 4 месяца назад
So satisfying seeing code work so perfectly
@abdulrahmanabusharbain7507
@abdulrahmanabusharbain7507 4 месяца назад
for 19:15 couldn't you just do self.__init__()?
@gamalielgerona2391
@gamalielgerona2391 5 месяцев назад
Nice. Now I can enable jumping for my PyGame Slime Destroyer project. You got a subscriber.
@gamalielgerona2391
@gamalielgerona2391 5 месяцев назад
Thanks for this tutorial! Now I can add that to my game
@krzysztofuczkowski6274
@krzysztofuczkowski6274 5 месяцев назад
Simple and quick to the point. This is exactly what we need in the education system. I never expected that at the age of 21 I would be learning from a 14-year-old (I mean, if you're 16 now, you'll be 14 then, hah), but you have to learn from everyone, regardless of age. There's a sub and a symbolic amount. I hope, that you will have a wonderful day and that I will see more of you at such a high level as the mountains in Nepal!Simple and quick to the point. This is exactly what we need in the education system. I never expected that at the age of 21 I would be learning from a 14-year-old (I mean, if you're 16 now, you'll be 14 then, hah), but you have to learn from everyone, regardless of age. There's a sub and a symbolic amount. I hope, that you will have a wonderful day and that I will see more of you at such a high level as the mountains in Nepal!
@sanjeevmonica
@sanjeevmonica 5 месяцев назад
How do I attach the background?
@AlexKazantsev-h2x
@AlexKazantsev-h2x 5 месяцев назад
can you also show the get_font() class?
@MSTSLive
@MSTSLive 5 месяцев назад
Bro After I run the programme it is saying that FFMPEG is not added to $PATH. What is the solution to this
@vatomouro_real
@vatomouro_real 5 месяцев назад
my program does not recognise the pymediainfo and ffpyplayer.player, does anyone know whats wrong ?
@loriingram4175
@loriingram4175 5 месяцев назад
Thanks. I'm not sure exactly what you did because I'm in the learning process and don't know all the terms to Google some of the help I need yet for more efficient research, but that was it, whatever it was, and I finally got my sound effects code to respond as I intended after user input. I think also having the GitHub link to have another look at the formatting and change the file names to match my own sounds for something that responded to input the same way I needed it to also helped it sink in better than either just a code document or just a video.
@baraltech
@baraltech 5 месяцев назад
No problem! Glad to help
@WhatsInYourHead_
@WhatsInYourHead_ 5 месяцев назад
I added all the image files to my game folder and the screen is still black. Explanation? Also I am using an IDE called replit.
@SubStudios99
@SubStudios99 20 дней назад
Did you add pygame.display.flip()
@GodbornNoven
@GodbornNoven 5 месяцев назад
How do i calculate the probability??
@gamalielgerona2391
@gamalielgerona2391 5 месяцев назад
Great tutorial!
@baraltech
@baraltech 5 месяцев назад
Thank you!
@BardockSuperZ
@BardockSuperZ 6 месяцев назад
Nice tutorial , i copied the logic of your tuto for apply in the ursina engine
@baraltech
@baraltech 5 месяцев назад
No problem! :)
@stregone
@stregone 6 месяцев назад
you forgot to add: pygame.mixer.init()
@gracechan3039
@gracechan3039 6 месяцев назад
Just found your channel. Really love your tutorial style. It's no fluff, to the point and well illustrated. It's wild that you dont have more subscribers. I've no idea about python but I want to make a super simple language learning game to learn German vocabularly. Your videos are giving me the crash course in exactly what I need to know. Thank you!!
@baraltech
@baraltech 5 месяцев назад
Thank you so much, that means a lot!