Create a Simple Video Game with Pygame - Step by Step Tutorial for Python Beginners!

Поделиться
HTML-код
  • Опубликовано: 11 июн 2024
  • Today we will learn the basics of Pygame by creating a simple car game from scratch! 🚗
    ⭐ This video is brought to you by Anvil ⭐
    Try it for free: anvil.works/pythonsimplified
    📃 IMPORTANT NOTES 📃
    This tutorial is a 100% beginner friendly! 💯💯💯
    It's designed for folks with the most basic knowledge of Python (are you familiar with integers, lists, tuples, while loops, for loops and if statements? no need to be an expert, but as long as you have a basic understanding of these concepts - this tutorial is perfect for you! 😀)
    So on today's menu, we will:
    ⭐ learn how to draw shapes in Pygame
    ⭐ learn how to work with images in Pygame
    ⭐ learn how to use relative coordinates
    ⭐ learn how to animate Pygame elements
    ⭐ learn how to create keyboard events
    ⭐ learn how to increase the game difficulty overtime
    🐍 INSTALL PYGAME 🐍
    ____________________________________
    FOR NEWER VERSIONS OF PYTHON
    ⭐ pip install pygame
    FOR OLDER VERSIONS OF PYTHON (& ANACONDA)
    ⭐ conda install -c cogsci pygame
    ⚒️ RELATED TUTORIALS ⚒️
    ____________________________________
    ⭐ My ultimate guide to Anaconda:
    • Anaconda Beginners Gui...
    ⭐ For Loops For Beginners:
    • Python For Loops - Pro...
    ⭐ Convert Colours to Numbers:
    • Convert Image into Mat...
    ⭐ My Simple Calculator App with Anvil:
    • Simple Calculator with...
    ⏰ TIME STAMPS ⏰
    ____________________________
    00:00 - intro
    00:54 - create Pygame window
    03:13 - run Pygame app with Anaconda
    04:02 - set background colour
    04:51 - set window title
    05:27 - what is relative coordinates?
    06:35 - draw rectangles with Pygame
    07:24 - use coordinates in Pygame
    11:22 - relative coordinates example
    12:00 - use images in Pygame
    15:50 - keyboard events in Pygame
    18:48 - animation in Pygame
    20:46 - random events in Pygame
    23:07 - end game logic in Pygame
    25:13 - game levels logic
    25:58 - introduction to Anvil
    26:44 - increase game difficulty over time
    28:32 - thanks for watching!
    🔗 IMPORTANT LINKS 🔗
    ____________________________
    ⭐ Complete Tutorial Code:
    github.com/MariyaSha/SimpleCa...
    ⭐ Pygame Documentation:
    www.pygame.org/docs/
    ⭐Vehicle Images by:
    www.freepik.com/
    😁 THANKS FOR WATCHING! 😁
  • НаукаНаука

Комментарии • 212

  • @lukajeliciclux3074
    @lukajeliciclux3074 2 года назад +17

    Dear Mariya, width // 1.6 and Int( width / 1.6 ) gives exactly the same result. Tested many times and I always use the first solution.

    • @PythonSimplified
      @PythonSimplified  2 года назад +14

      aha! you're using the floor division arithmetic operator, eh?? 😉
      It's definitely an extra elegant alternative to my int() conversion, thank you so much for sharing the tip!! 😁😁😁

    • @lukajeliciclux3074
      @lukajeliciclux3074 2 года назад +2

      @@PythonSimplified no problem. I'm always here to help

    • @immadwolf4459
      @immadwolf4459 2 года назад

      so does it matter which one to use ? like can we use width/2 ? cuz it seems easy kind.

    • @lukajeliciclux3074
      @lukajeliciclux3074 2 года назад +3

      You can’t use width/2 because you need integer number and since width/2 returns floating point number you need to convert it to integer. Two ways to convert it is use int(width/2) or width//2

    • @V.Z.69
      @V.Z.69 2 года назад

      @@immadwolf4459 the operator "a/b" != "a//b" != "a%b" -- the subtleties of syntax of different "languages". In some syntax you have to use "ab" or "a NOT b".

  • @argosy666
    @argosy666 Год назад +1

    Very nice tutorial! I love how thought through the process seems while still keeping it light and fun. I also like the fact that you actually create a working game before the sponsor ad is run as it keeps the flow and add bonus instead of making the video into a two part one like most of the creators seem to do. The only thing i would add in a beginners guide is a ToDo list commented into the code for easy progression and structured work flow.

  • @TRUESTORIES-YT
    @TRUESTORIES-YT 2 года назад +5

    You rock! I'm teaching python to my 9 y.o. I taught him Scratch when he was 7 y.o., and now it's time for him to learn a real programming language. But all the talk of strings and arrays are not at all interesting to a child. We tried a snake program, but it lacked line numbers and contained several errors. Then I found your channel and you're awakening the 9 y.o. within me, making coding fun again! 👍🙂👍

  • @joepetrakis2248
    @joepetrakis2248 Год назад +2

    You really do a way better job teaching coding than other channels. Other tutorials are the same old scripts over and over never really explaining the syntax, just saying "type this" .. keep up the awesome work!

  • @kachiimo2355
    @kachiimo2355 2 года назад +1

    I really love your tutorials on Python. You make complex programming syntax look easy. Huge thumbs up.

  • @davidianmusic4869
    @davidianmusic4869 2 года назад +5

    Great tutorial. You’re covering what I’m doing with my school aged son, but you’re way quicker and more accurate. He’ld love it if he got to your level one day. You’re a great role model.

  • @balazsberes3176
    @balazsberes3176 2 года назад

    It was very interesting!
    Thanks for another great guide!
    Also I loved the shirt! 😁

  • @ChaosArtist
    @ChaosArtist 2 года назад +1

    Thanks for this tutorial Maria! I'm going to make some minor changes (add a motorcycle and sand instead of a second car and grass) and add it to an upcoming video I have for a podcast episode on the book 'Zen and the Art of Motorcycle Maintenance'. I will link back to this video for my viewers that are interested in creating games with Pygame. Nice t-shirt too by the way!

  • @ezekielthemack
    @ezekielthemack Месяц назад

    Mariya, thank you very much for you help with this tutorial. Your teaching style is very clear and concise. Much appreciated.

  • @javascriptes
    @javascriptes 5 месяцев назад

    Kinda genius, I managed to complete the tutorial and got a lot out of it. Thank you!

  • @JorgeEscobarMX
    @JorgeEscobarMX 2 года назад

    I watched the entire thing, it's a great introduction and looks like pygame is the way to go for a little dice roll app I'm making.

  • @user-vk9vc8kb1b
    @user-vk9vc8kb1b 2 года назад

    很有意思的課程解說、謝謝分享😄

  • @slademeister
    @slademeister Год назад +2

    This step-by-step approach is excellent! Great teaching style. well done.

  • @vineetsoni-vk8mn
    @vineetsoni-vk8mn Год назад

    dear mariya! you,re great i have learnt many things from your video.......keep it up and upload these type of videos😍😍😀😍👍

  • @FranzFakler
    @FranzFakler 3 месяца назад

    Great tutorial . I will follow more of Your tutorials.

  • @soliver111
    @soliver111 Месяц назад

    great job.
    Thank you from Nova Scotia

  • @ryuyasho4468
    @ryuyasho4468 2 года назад

    Mariya, sorry I had to leave the lesson earlier. I just finished watching it now and this helped me a toooon. Also, I checked your mic and looks awesome. I hope it sound as good as it looks. If you have questions about EQ your voice, don't hesitate to ask. Again, thank you for the lesson 😊

  • @jefflee7704
    @jefflee7704 2 года назад +1

    Thank you Mariya for the tutorial, much appreciate

  • @joachimkre5682
    @joachimkre5682 2 года назад +1

    Bon travail, félicitations Mariya.

  • @LeftoverBeefcake
    @LeftoverBeefcake 2 года назад +5

    I had no idea Pygame finally moved to Python 3. Like your other videos this is clear and straight to the point. Excellent work, and thank you!

    • @PythonSimplified
      @PythonSimplified  2 года назад +2

      Me too! It's actually available since Oct 2020 but not too many people heard about it! 🙃
      I think the biggest holdback is that Anaconda still didn't update its package to the current version so you can only install Pygame 2 with "pip install pygame". I believe that's a big part of the problem!
      With "conda install -c cogsci pygame" folks receive a message in the terminal that "Pygame only works with Python 2.7 - 3.5" but they don't realize it refers to Pygame 1 so it's a total Anaconda mess up! 🤪
      And thank you so much for the lovely comment!! I'm really happy you like my tutorials! 😀😀😀

  • @AlamalwebTV
    @AlamalwebTV Год назад

    Wow awesome 😎 you make python programming more easier and enjoyable. Thanks for sharing.

  • @J_Shingy53
    @J_Shingy53 2 года назад

    Thank you so much. Just finished making the game. Took me like 4 hours but yeah. Progress. Haha

  • @b213videoz
    @b213videoz 3 месяца назад

    Thanks to your tutorial, Mariya, I've managed to draft my own version of River Raid, something I've been desiring to do for the last 30 years 🤪😇

  • @dynamicmonster3541
    @dynamicmonster3541 2 года назад +1

    Thank you .
    Your video increased my confidence

  • @leviudeh8843
    @leviudeh8843 2 года назад

    Thanks for the tutorial, it's very helpful. I really like your contents.

  • @saifsh767
    @saifsh767 11 месяцев назад

    Loved it thank you so much i found what i was missing

  • @jeuxmathinfo9578
    @jeuxmathinfo9578 Год назад

    Very useful !!! 🏆🏆🏆Thank you so much !!!

  • @sujalpindoria8802
    @sujalpindoria8802 Год назад

    thank you so much it really helped me out

  • @MrJimArt
    @MrJimArt Год назад

    Excellent Tutorials!!

  • @artstechnology7809
    @artstechnology7809 Год назад

    Thanks for you info sister.😊😊😊😊

  • @mdjackhan
    @mdjackhan Год назад +1

    thank you soo much, I learned a lot!

  • @tdexmedia
    @tdexmedia Год назад

    Very understandable. I love t. Already subscribe

  • @glitterkommando2060
    @glitterkommando2060 Год назад

    Omg this is awesome content. Thank you!

  • @tj9382
    @tj9382 2 года назад

    You explain stuff very well.

  • @venujaekmith1239
    @venujaekmith1239 2 года назад

    Great work you are doing it great👍 and I love your videos 😋 all are awesome. Can you make a video on tensorflow too.

  • @All-of0
    @All-of0 Год назад

    Very well 👌🙌

  • @jeandiatta2890
    @jeandiatta2890 2 года назад

    first project done very happy

  • @badrhermano7041
    @badrhermano7041 Год назад

    beautiful work and good luck 💙

  • @tildesarecool7782
    @tildesarecool7782 2 месяца назад

    I've been working on a game (in finger quotes) that also involves a stream of vehicles for what seems like a really long time. Some it's become really complex and doesn't work half the time. And yours seems to comparatively simple versus mine. I mean mine was made partially to help learn things like OOP. But it is jarring to seem something so simple do what I can only sometimes do in so few lines. So thanks for that.

  • @a3_a3
    @a3_a3 2 года назад

    tom & jerry :) another great video, thanks! if you run out of content ideas it would be neat to see a video using machine learning to give you advantage in a game (something like checkers, chess, starcraft, hearthstone, etc)

  • @absurd7376
    @absurd7376 Год назад

    umm your pygame tutorials are pretty well-made keep it up

  • @johnniewalkerjohnniewalker2459

    You understand very decent all the process while you are creating the video game.Also your English are very comprehensive!!

  • @xEndless11
    @xEndless11 Год назад

    Tutorials like these are very interesting, if i see how many People need to develop a whole Game :D Currently i have a Side Project with python Ursina (Its a similar Game Engine like pygame) and i will create a Crash Bash and a normal Crash Bandicoot FAN Game with this Engine. The logical Part of Programming is in my Case not the Problem, later i must create some Animations, Textures and Models for this Game and make all that compatible with this Engine :-D

  • @premprasad3511
    @premprasad3511 2 года назад +1

    Looking forward to this very much !

  • @TudoracheIonel
    @TudoracheIonel Год назад

    Super, Great Video, Thank You !

  • @wiljamesonpl6592
    @wiljamesonpl6592 7 месяцев назад

    So it’s always an exciting moment to learn with you ❤ I’m not a native English speaker but i understand easily when you explain something 🎉Be blessed
    From 🇭🇹

  • @sunmaitamang6160
    @sunmaitamang6160 Год назад

    great video your videos always motivate me to learn python further great videos ma'am love your videos

  • @corneillembay8893
    @corneillembay8893 2 года назад

    BBBIIIIGGGG THANKS 🙏 👍👋😀😃😄🤩🤩🙋‍♀️👍🎈🎉🎊

  • @hexortime
    @hexortime 9 месяцев назад

    new subscriber here, thank you so much for this, as a beginner this is very good tutorial.

  • @mrunixman1579
    @mrunixman1579 Год назад

    I never heard of Pygame before, I decided to attempt at cloning an old an atari 2600 and a speccy game on python. One thing I do know having to rewrite code due to duplication of the cars, moving charactors always must been drawn last. I sometimes think of it as CAD and how I drew the machinary for 1 of the swimming pools. I have followed this video to produce a little program that depicts a well on the old ET game.

  • @johndorian4078
    @johndorian4078 Год назад

    How does the draw function work?
    Having it redraw in the while loop does it write over the previous or just slap a new copy on top.
    Would that eventually have memory leak issues?

  • @mschon
    @mschon 2 года назад +1

    You' re amazing... Thanks for sharing!!!

    • @PythonSimplified
      @PythonSimplified  2 года назад

      Thank you so much Michael! I'm happy to help! 😀

  • @GraydonMah
    @GraydonMah 2 года назад +1

    Great video, as usual.
    I notice someone else commented on a new(?) microphone setup.
    This might just be a "me" thing, but my subwoofer is very triggered by the typing in this video. 🥁

    • @PythonSimplified
      @PythonSimplified  2 года назад

      Hi Graydon, this video was filmed with the old mic 😀 it was still in shipping when I premiered this one (now I'm only waiting for the fancy arm which was supposed to arrive yesterday, but never happened 😨)
      The new mic will be featured in the upcoming Numpy tutorial so hopefully you'll hear it this Thursday 😊

  • @Tobs_
    @Tobs_ 2 года назад +2

    I got to level 2 in this game, then a police car blocked the road and took me to jail. Great work, Python Lady 👍

    • @PythonSimplified
      @PythonSimplified  2 года назад +4

      The game actually ends when you park in front of the Parliament in Ottawa on level 10... and then they also take you to jail 😅😅😅
      (a reference that only Canadians or folks who follow independent media will understand 🤪)

  • @C-Rated-Gamer
    @C-Rated-Gamer 7 месяцев назад

    THANK YOU!!! 😄😄😄😄😄😄😄😄😄😄😄😄😄

  • @Khalil-Artur
    @Khalil-Artur 5 месяцев назад

    Thanks. Great tutorial. Now I can saw my son that if he learn python he will able to make games...maybe not Minecraft but still 🙂

  • @akshayakeerthiduraisamy8884
    @akshayakeerthiduraisamy8884 2 года назад

    Do u know about any python gui library that supports vulkan. Pyimgui does not have a vulkan backend

  • @diogosilva4643
    @diogosilva4643 2 года назад

    Congratulations again, may God bless you more and more. thanks for helping me train and learn Python.

    • @jyvben1520
      @jyvben1520 2 года назад

      "god" is just an imaginary friend that never helps, Evolution is True.

  • @lewas91
    @lewas91 2 года назад

    I've just made a similar app with the millennium falcon recently.. pygame is fun :)

  • @kidoriit
    @kidoriit 2 года назад +1

    Superb.

  • @soccerstarszollo5422
    @soccerstarszollo5422 Год назад

    I only get a collision on the right hand side but not the left.
    My image size was larger which ive accounted for but it just goes right through on the left hand side

  • @khurshedalam6886
    @khurshedalam6886 2 года назад +1

    Thanks for awesome Explanation

  • @boussaidbenyamina6170
    @boussaidbenyamina6170 2 года назад

    very helpfull i like you so mutsh

  • @rashidhajiyev2089
    @rashidhajiyev2089 2 года назад

    Hello from Baku, great tutorial

  • @nonomnismoriar9601
    @nonomnismoriar9601 2 года назад +3

    Thanks so much for this!!!
    Have been talking through the design phase of a game my 6 year daughter wants to create called Shark Catcher...
    My office wall is covered in design notes and sketches she has been creating and it is time we started dev.
    I code Python everyday but never Pygame so this tutorial / live coding example is a great framework for us to bootstrap from.
    Especially happy that my daughter has such a well versed female tutor / role model who is able to communicate quite difficult principles in such a understandable way!
    Will be sure to share our fork with you for you to review and play.
    Personally I have been coding for over 20 years now but still learn at least one thing new in every one of your videos (sometime many and totally new new design patterns)
    Please keep up the excellent work, it is very much appreciated!!!
    Rob

    • @PythonSimplified
      @PythonSimplified  2 года назад +1

      That's awesome, Rob!! I can't wait to see Shark Catcher in action! 🤩🤩🤩
      Creating software and learning coding at 6 is VERY impressive!! Sounds like you have a young Elona Musk at home! 😉
      I hope to have an entire "Python for kids" series by the time she's old enough to independently study. I've been planning it for a while but still stuck on picking the best coding interface to use (I hope I won't need to build one 😅)
      Super happy to hear you enjoy my tutorials! I have some really nice projects in the making:
      Tkinter+SQLite Random Recipe Picker and comparing the exact same C++ app with a Python app, so definitely stay tuned! 🙂
      Also, thank you so much for the incredible comment!
      Best of luck with Shark Catcher! 😃😃😃

  • @marticus9170
    @marticus9170 2 года назад

    Wow this is so cool! haha

  • @diogosilva4643
    @diogosilva4643 2 года назад +1

    Congratulations! you increased the font, it was great I could see it from my smartphone, my kids will like it a lot, one question, will there be the end of the game?, because it looks like you didn't finish it, right?...

  • @cybersecurityexpert477
    @cybersecurityexpert477 2 года назад +1

    your videos always helped always taught me about some interesting and useful 🥰♥️ thanks Soo much I am your big fan

    • @PythonSimplified
      @PythonSimplified  2 года назад

      Thank you so much for the lovely comment Abdul! 😀😀😀 I'm super happy to help!

  • @mundolaguna
    @mundolaguna Год назад

    una duda: como haces un personaje que empuje un objeto pero al mismo tiempo colisione con el

  • @Crakkovia
    @Crakkovia 2 года назад

    Cool tutoriasls Mariya!!, Can you add some tut for PY and Mysql Crud? Thank you so much!

  • @gecsus
    @gecsus 2 года назад +2

    I hope this will help a little with your English...
    These ( ) are not brackets, they are parentheses. There are two kinds of brackets... Curly Brackets { }, and Square Brackets [ ]. This one is Open parentheses (, and this one is closed Parentheses ). I hope this is helpful. 🙂 It's pronounced Pa Ren theh seas.

  • @gotem370
    @gotem370 Год назад

    why are there double parenthesis for things like the pygame.display.set_mode expression?

  • @sharkyigor
    @sharkyigor 2 года назад +1

    Dear Mariya, thanks for all your amazing videos.. May I ask for a video that is sort of a composite of 2 videos you already made? Creating a exe file of a project that makes use of torch/torchvision since it is very difficult and there are tons of people online failing at it. Would be great.. thank you!

    • @PythonSimplified
      @PythonSimplified  2 года назад +2

      Sure, I'll look into it! It will take me some time to get there but it's officially on my "to do" list 😊
      Thank you so much for the suggestion and for your lovely comment, Igor! 😃😃😃

  • @PeterRichardsandYoureNot
    @PeterRichardsandYoureNot 2 месяца назад

    so, as with many small projects like this a common error in using visual code is the dreaded "FileNotFound" error because the working directory doesn't synch with the actual directory where the images are stored. In my case, the default working dir is the root dir above the subdirectory i put this in. So, if others are having similar issues, just change the working dir in code. Add this at beginning after tge other import directives:
    import os
    os.chdir(os.path.dirname(os.path.abspath(__file__)))

  • @AmanualShibabaw
    @AmanualShibabaw Год назад +1

    My favorite channel

    • @PythonSimplified
      @PythonSimplified  Год назад

      Yeeeeey!!! Thank you so much Amanual!!! 😁😁😁

  • @genddabowen9171
    @genddabowen9171 Год назад

    Thank you ilove you 😘😘🙂😅

  • @muhammadkabirliaquat2534
    @muhammadkabirliaquat2534 2 года назад +1

    Great tutorial

  • @tejsingh2009
    @tejsingh2009 Год назад

    Nice

  • @mikaazulay7965
    @mikaazulay7965 Год назад

    Hi! Where did you get the photos for the cars?

  • @parthsikka5264
    @parthsikka5264 Год назад +1

    Hey Maria is there a way by which I can rum my pygame code along with kivymd login screen into an android app.
    It generally shows an error ie, android only supports one window.
    Is there a solution for it ....

  • @Joash-James
    @Joash-James Год назад

    I think you is 🔥🔥🔥 girl 😍, nice vid btw 👍🏼

  • @sea-sumatra6925
    @sea-sumatra6925 2 года назад

    Which editor I use for python
    And my some programs wrong bcz latest version of python installed then also programs wrong I write in correct way then also show error like indentation

  • @diwakar_tsn
    @diwakar_tsn 2 года назад +1

    Finally gaming 🔥🔥

  • @joytekb
    @joytekb 2 месяца назад

    Beauty of Logic

  • @cybersecurityexpert477
    @cybersecurityexpert477 2 года назад +1

    and also you always respone and respect 🥰♥️

  • @arijanrahimic3210
    @arijanrahimic3210 2 года назад +1

    I did today the tkinter tutorial THX best timing for me 😍😍😍

    • @PythonSimplified
      @PythonSimplified  2 года назад +1

      That's awesome!! Super happy to hear that Arijan! 😁
      I'll start working on a new Tkinter tutorial once I'm done covering Numpy (filming it tomorrow if my new fancy microphone arrives today) 😉 Still not sure what kind of application it would be... I'm aiming for something that has to do with sound and audio 😊

  • @cybersecurityexpert477
    @cybersecurityexpert477 2 года назад

    I learnt python but don't where to use for loop while
    define classes objects and all other basic and advance things
    because I want to create a app but how to change code into a gui

  • @richeesk
    @richeesk 2 года назад +1

    Hi, love your tutorials, sometimes, pls do a VR and AR,

    • @PythonSimplified
      @PythonSimplified  2 года назад

      Thank you so much Richee! 😀
      VR and AR are quite a big topic jumps from what we currently cover on the channel. It involves a very large degree of graphics and 3D modelling in addition to code... It's not on my "to do" list but I also never say never! 😉

  • @justsmile7449
    @justsmile7449 2 года назад

    Hello i m interesting in learning python and want to know if there is a market especially in freelancing thnks

  • @lawrencechin3743
    @lawrencechin3743 Год назад

    Great video. Hope you can create a video on how to create apk from pygame in the future. thanks in advance

  • @tyjohnston5889
    @tyjohnston5889 2 года назад

    I'm using Visual Studio Code in Debian Linux on Chromedome using Python 3.9.2 64-bit
    Question:
    I have pip3 installed pygame through the terminal inside VSCODE and it recognizes it. It doesn't recognize "event"
    It gives me the option to import from tkinter. How should I import "event"? I apologize as im new to VSC coming from IDLE

  • @DancingLine
    @DancingLine 4 месяца назад

    Hello @PythonSimplified, I have a question. My enemy car is not moving as fast as yours and mine is also leaving a trail. How do I fix that?

  • @travisblack3198
    @travisblack3198 Год назад +1

    Thank you for your amazing content as usual. Have an amazing day!

  • @ort1340
    @ort1340 2 года назад +1

    You are doing such a great work teaching and explaining 👏 😊
    Thank you so much for all the knowledge you are passing on ❤️

    • @PythonSimplified
      @PythonSimplified  2 года назад

      Thank you so much Or, I'm super happy to help! 😁

  • @simeon_200
    @simeon_200 Год назад

    Nyc

  • @danylbekhoucha6180
    @danylbekhoucha6180 2 года назад +5

    I suggest you to also cover Godot Engine, the language GDScript is close to Python and it has a lot of built-in nodes/classes to help create 2d and 3d games but also interfaces (the software interface is made by his own nodes).

    • @immadwolf4459
      @immadwolf4459 2 года назад +2

      I respect it but this channel is totally dedicated to python and GDScript's syntax is mostly derived from Python, but it doesn't support all of the language features that Python does 😊

    • @StarFury2
      @StarFury2 2 года назад +1

      I guess the point here is to learn pygame basics as a convenient input/visualization interface that can be used for many purposes by python users. Someone who is really looking to make and publish a 2D game would not use pygame in the first place, but something like Unity or Godot.

  • @sabertoothwallaby2937
    @sabertoothwallaby2937 Год назад

    I know it's first command, but I'm having trouble with vscode recognizing import pygame. Any helps?

  • @kelsierii4747
    @kelsierii4747 2 года назад

    Ive done dozens of games and never imported locals, initiated pygame or used .quit() pygame, what are those for?

  • @sakibalabrar664
    @sakibalabrar664 Год назад

    Can I automate this car, like when a car comes from opposite side it will change it's position automatically??

  • @smalirizvi8026
    @smalirizvi8026 2 года назад +1

    Hi Mariya! How are you 🙂🙂
    Was never interested in games but going to watch this whole tutorial haha

    • @PythonSimplified
      @PythonSimplified  2 года назад

      Hi Ali, great to see ya! 😀😀😀
      You can actually implement a very fancy UI with Pygame, not only games!
      I just had this game stuck in my head as I was playing it as a kid on my Tetris console... I had to implement it before I cover anything else that this library has to offer! 😊

    • @smalirizvi8026
      @smalirizvi8026 2 года назад

      @@PythonSimplified you can't be happier than me when I see you haha!
      Mariya, aren't u focused on AI stuff nowadays?
      (Well I would happily learn anything you teach. You can try something like cooking as well 😁)