Pygame Platformer Tutorial - Full Course

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Making a platformer with Pygame is a fun way to learn both game development and software engineering. This tutorial covers a variety topics including tiles, physics, entities, particles, sparks, camera, parallax, enemies, AI, combat, level editing, level transitions, making executables, and more!
    Project Reference Resources:
    dafluffypotato.com/assets/pg_...
    Wishlist Yawnoc (Made with Pygame):
    store.steampowered.com/app/28...
    My Discord (ask questions here):
    / discord
    Old Pygame Tutorial Series (without OOP):
    • Pygame Tutorial Series...
    Amateur and Advanced Pygame Tutorials:
    • Pygame Tutorial Series...
    • Pygame Tutorial Series...
    Pygame CE Video:
    • Pygame CE - Better & F...
    Pygame's Performance Video:
    • Pygame's Performance -...
    Physics Explanation Video:
    • In-depth Pygame Physic...
    Timestamps:
    0:00:00 - Introduction & Tips
    0:03:55 - Installing Pygame
    0:07:04 - Creating a Window
    0:16:42 - Images, Input, & Collisions
    0:33:07 - Player, Tiles, & Physics
    1:27:49 - Camera & Sky
    1:46:43 - Optimization
    1:57:51 - Animation
    2:22:25 - Level Editor
    3:13:26 - Particles
    3:35:03 - Jump & Slide
    3:50:45 - Dash Attack
    4:10:07 - Enemies, Guns, Death, & Sparks
    5:11:33 - Screenshake
    5:15:21 - Level Transitions
    5:26:11 - Outlines
    5:37:40 - Audio
    5:45:57 - Making an Executable
    6:02:20 - Next Steps
    Patreon:
    / dafluffypotato
    My Website (links to games):
    dafluffypotato.com
    Potato Tier Patrons:
    Agent Effe
    Eivind Teig
    fatcake
    RyDawgE
    Sam Cork
    GaryTMSFruitcake
    Dale Topley
    Jb mandri
    tbf135
    #python #pygame #gamedev
  • Věda a technologie

Komentáře • 481

  • @DaFluffyPotato
    @DaFluffyPotato  Před rokem +131

    Here's a tip: VSCode shows the current object and function I'm editing right under the file tabs, which can help you keep track of where I am at all times.
    Clarification: If you have larger entities, they need to look up a larger area of tiles around them for physics. I used a 3x3 table in the tutorial, but you may need a larger one for large entities. A 5x5 table would be every pair of numbers between -2 and 2. (3x3 is -1 to 1)
    As of the release of this tutorial, I'm still using Pygame CE. They've actually released another update since I started working on this video as well!

    • @rubendriezen7177
      @rubendriezen7177 Před rokem +6

      I made my own programming language in python!

    • @herikgiammaria9961
      @herikgiammaria9961 Před rokem +10

      I love your work!! I love love love it, I study pygame for your videos and I try to improve every day! Could you put subtitles in this video of yours? I'm Brazilian and I don't understand your videos very well when they don't have subtitles

    • @DaFluffyPotato
      @DaFluffyPotato  Před rokem +12

      @@herikgiammaria9961 I think CZcams may still be processing the automatic subtitles. There's no way I could write up manual subtitles for a 6 hour video though. I just do manual English ones for my scripted videos now since I can just put in the script. Also, I'm impressed that the automatic ones are useful since it often doesn't understand what I'm saying.

    • @herikgiammaria9961
      @herikgiammaria9961 Před rokem +6

      @@DaFluffyPotato Thank you very much!!!! I thought so haha, after all it's a 6 hour video! CZcams must be processing, I'll come back to watch it later! MT thanks for helping this community to grow, I appreciate you and your work, hugs

    • @AndrewHTR
      @AndrewHTR Před rokem +1

      @@herikgiammaria9961 salve herik

  • @thes_ntry
    @thes_ntry Před rokem +149

    You are a wizard of using Pygame, your previous tutorials were amazing, and the amount you've been able to build up around the library is immensely impressive. Thank you for sharing your experience and insight to everyone

  • @TheDarkSide11891
    @TheDarkSide11891 Před rokem +26

    Thanks so much for the great tutorials! It’s awesome to see your thought processes and see how you make such high quality experiences using python!

  • @nilusnilus6365
    @nilusnilus6365 Před rokem +18

    wow i remember a few years ago following your platformer tutorial, very glad to see you continuing the series :D

  • @Z3gn1c
    @Z3gn1c Před 9 měsíci +49

    Just finished this amazing tutorial, took me about 4 days though spent about 18hours on it. But it was worth every second!
    This is the first time I actually worked with Pygame, and after your tutorial, I definitely have quite a few ideas of what I can do on my own.
    Will be checking out your other tutorials as well.
    Thanks for some amazing content !

  • @ZaynBrando
    @ZaynBrando Před 6 měsíci +3

    This is actually the best video i've ever seen that explains things very easily for a beginner and helped me understand the "WHY" behind every code. Thank you so much, subbed!

  • @emperor8716
    @emperor8716 Před rokem +27

    this is crazy. a tutorial from the actual best, i can't wait to do this.

  • @user-nx2qk6gi3l
    @user-nx2qk6gi3l Před rokem +8

    So happy this was uploaded, couldn't find a better person to explain pygame then this legend, Well done Potato keep killing it

  • @moanzx2
    @moanzx2 Před 11 měsíci +2

    this has helped me so much now im hooked on your videos :) also remade my platformer im working on thanks to so many of your techniques. and joined the discord and there are so many helping people there!
    looking forward of what your'e gonna do next! 😊

  • @RAM-nb1ot
    @RAM-nb1ot Před rokem +1

    I was literally following your old pygame tuts and if they werent alr a blessing we got this :) thanks man

  • @daniehexer7016
    @daniehexer7016 Před rokem +5

    It's great seeing your tutorials, can't wait to try this myself!

  • @Programmer-Anchous
    @Programmer-Anchous Před rokem +2

    This is the best pygame platformer tutorial I've ever seen! Thank you!

  • @paranimias
    @paranimias Před 5 měsíci

    on 2020 you totally saved my butt on my programming project with your first tutorial, I'm really glad that you keep posting this tutorials, greeting from Colombia!

  • @carrotsandcats
    @carrotsandcats Před rokem +1

    Thank you so much for this, it’s so cool that you « remade » your old tutorial séries and improved it!! Thx

  • @ekaterinamalinkina3899
    @ekaterinamalinkina3899 Před 6 měsíci

    What a great tutorial! Clear, concise, and not tiring to watch :) feel like i got a lot from this, thanks

  • @gibran800
    @gibran800 Před 6 měsíci +1

    This smooth camera movement trick is fucking amazing. I had to go over the geometry of it a couple of times, but once it clicks, holy shit, it makes so much sense.

  • @fuzzy-02
    @fuzzy-02 Před 22 dny

    I loved this tutorial because I wanted to learn practices, techniques and general tips on how to write the code, more so than learning the syntax which can be easily found from the docs. I was happy when you shared how you do things and how you write them every now and then.
    Thank you so much!

  • @thisisnotkj
    @thisisnotkj Před rokem +1

    thank you for the great tutorial :D, will be watching it over the coming days!

  • @sourcream1671
    @sourcream1671 Před 10 měsíci +1

    This is amazing, brilliant work!

  • @LukaGantar
    @LukaGantar Před rokem

    Thanks a lot for this, the tutorial is a great, comprehensive intro to pygame!

  • @galaxybrainnews9772
    @galaxybrainnews9772 Před 8 měsíci +8

    After the optimizations around 1:52:15 I adjusted the tilemap __init__ to add a million tiles in each direction instead of just 10. it took a while for the project to start but even with 2 million tiles loaded into the tilemap it was still buttery smooth once it got going! (Using python 3.12 and pygame ce as of 11/9/2023)

    • @DaFluffyPotato
      @DaFluffyPotato  Před 8 měsíci +5

      Yep, that's expected. You can have some pretty massive worlds. Often times RAM will become an issue before CPU usage in those cases (provided you don't have too much on the screen at once).

    • @lucaivaldi4520
      @lucaivaldi4520 Před 2 měsíci

      @@DaFluffyPotato I wonder if the optimization is more about not having to query the whole dict more than queuing a lot of draw calls. Of course premature optimization is the root of all evil and we should always benchmark before trying to optimize. I think the SDL library (and the backend it uses, Opengl, Metal, Vulkan..) will be more than happy to discard any draw call that draws off the screen, but there is the cost of querying the whole dictionary anyway, so your solution could cut the time spent there. Anyway, I'm not sure how much of an issue that could be.
      Anyway, this is only something I'm asking myself and your videos are super, thank you!

  • @joshbarros1995
    @joshbarros1995 Před rokem +1

    Oh my god!!! its soooo perfect!!!
    I'll take this tutorial this Saturday!!!

  • @lustrias
    @lustrias Před 9 měsíci +1

    Amazing tutorial. I've tried a few others, but this one is just what I needed. I do deviate here and there from your code. I added vsync to the window. But vsync only works with the flag pygame.SCALED. So I removed your method of scaling (drawing a 320*240 surface and then upscale it in the main window). The amount of experience and information you give is really impressive. Thank you so much👍

  • @willwillcode7568
    @willwillcode7568 Před rokem +2

    Finally, a good tutorial on pygame! Thanks so much

  • @q1chen
    @q1chen Před 11 měsíci

    It took me several days to finish it and i really learned a lot, thanks!

  • @SagaContinu
    @SagaContinu Před 6 měsíci +6

    If anyone runs into an issue with their character falling through the floor:
    Collision detection is checking where you are located in the a grid system ---> that's what the tiles_around() function does. It uses the co-ordinates from the top left of your player image to workout where you are. If your player image is larger that the grid system it will only register that you are in the next grid section to update the collisions after you have fallen through the floor. Try checking from the center of the image instead. Or else you may need to do more than one check i.e. top left, bottom right. Or else increase the checking distance to include more tiles.
    Interesting way to do the collision detection though

    • @HammouaI0I0I0
      @HammouaI0I0I0 Před 3 měsíci

      how to do this btw

    • @SagaContinu
      @SagaContinu Před 3 měsíci

      @@HammouaI0I0I0 Adjust tilemap.physics_rect_around() function to check from the center of the player instead of the top left
      player_loc = self.game.player.rect().center
      However, if the distance from the center of the image to the sides (right,left,top,bottom) is still greater than a tile width this won't work.

    • @HammouaI0I0I0
      @HammouaI0I0I0 Před 3 měsíci

      @@SagaContinu cool, but where do i insert this line of code
      edit: cool my player doesn't fall trough the wall, but its sometilmes glitch out with upper collisions

  • @Rafaeldonfigueiredo
    @Rafaeldonfigueiredo Před rokem +1

    It's another great tutorial, Fluffy. Thank you

  • @PeterDinklager
    @PeterDinklager Před 11 měsíci +17

    Around 32:34 a good practice is to stop and try to code in left and right movement, then add a collision box on each side at equal distances. Helped me understand the code and get a better grasp for placing things in relation to the resolution

    • @sc2sperwerfy249
      @sc2sperwerfy249 Před 6 měsíci

      hey, do you know witch event i have to use for the key right and key left? I cant find them in python. thanks

    • @kuba.9108
      @kuba.9108 Před 5 měsíci

      @@sc2sperwerfy249just normal eventtype K_UP or K_DOWN i belive

    • @StayInNeverland1
      @StayInNeverland1 Před měsícem

      @@sc2sperwerfy249 K_LEFT and K_RIGHT

  • @prafultimbadiya9891
    @prafultimbadiya9891 Před rokem +1

    Your graphics are AMAZING!! ❤❤

  • @Jioarg
    @Jioarg Před rokem

    This is a great tutorial. Some things I would like to see is a tutorial on a way to implement 3d isometric levels(editor and player) and menus and sprite sheets as assets. Thank you for all of your help.

  • @breadman7733
    @breadman7733 Před rokem

    Just what I needed in my life. Thanks so much !

  • @FaunFunc
    @FaunFunc Před 7 měsíci

    i just migrated to pygame from html and js canvas, am skimming through this tutorial and it's very fun. Learning OOP for games is really worth it🙂

  • @mojojojo123
    @mojojojo123 Před 6 měsíci

    Thank you for sharing!!! This is such a great tutorial :)

  • @musaplusplus
    @musaplusplus Před rokem +3

    God damn Fluffy , you really went in with this one

  • @DerpyDungeoneer
    @DerpyDungeoneer Před 11 měsíci +3

    I almost cried not finding that typo that didn't let me start the game at the end of the cloud part.
    Dude I love your insights you give into various methods of handling stuff. Super abstract thinking. I aspire to get on that level at some point.
    This is my first step into game development. Hope I get my mind primed the right way following your thought process.

  • @justin7oo994
    @justin7oo994 Před rokem +2

    This is actually really cool, I have never seen anyone use Json files for loading maps I have only used csv files that's such a neat trick, also another neat trick for even more performance, use orjson instead of normal json its much faster

  • @flor18gatar
    @flor18gatar Před 11 měsíci

    Immensely grateful for this. Thank you.

  • @DarkblooM_IO
    @DarkblooM_IO Před měsícem +1

    Super cool video, thanks!

  • @jumparoundtheatoms
    @jumparoundtheatoms Před 10 měsíci +3

    Awesome stuff you did sharing this , many thanks :) . One thing for those who made it to enemies :P : while DaFluffyPotato does mention and switches to off grid placement for the player ( and subsequent the enemies ), if one does place the spawners by accident on grid like me, extract will fail. This is because the spawners are not part of self.offgrid_tiles, but self.tilemap, and the loop in the extract function its done on the self.tilemap directly and not on a copy. Reckon by accident and the loop should be done on a copy to catch this cases.

    • @Nolexes
      @Nolexes Před 3 měsíci

      I totally overheard the offgrid part couldn't get my game running anymore and got different kind of errors trying to fix it so thanks for the comment. I bet it would have taken me ages to find this out on my own :D

  • @thaimeuu
    @thaimeuu Před 6 měsíci

    wow, 6 hour tutorial. definitely gonna check this out. thank you.

  • @curiousstudent7961
    @curiousstudent7961 Před 9 měsíci +1

    my coding got so much cleaner from using this as a guideline, thanks!

  • @unknownMusk
    @unknownMusk Před rokem +1

    Wow! It's a big work!! You are so cool!!!

  • @parzival5884
    @parzival5884 Před 25 dny

    Holy shit dude u got my sub love the videos man keep up the good work! Im not a beginner but this helped me to brake that wall to be able to cold alone without the need of videos!

  • @subnatiby
    @subnatiby Před rokem +2

    HOLY MOLY A NEW ONE!!!

  • @sricharanathanti3181
    @sricharanathanti3181 Před 6 měsíci +5

    This guy has to go down in the books as the best Python game developer.

  • @curlydev2
    @curlydev2 Před rokem +1

    THANK YOU SO MUCH, Thanks to you i achived my rpg engine, and it's so fast ! I'm really happy

  • @koufdell
    @koufdell Před rokem +1

    amazing content..thank you so much..exactly what i am struggling with...

  • @villageraxo3988
    @villageraxo3988 Před rokem

    Thx potato i was looking for a tutorial like this

  • @wkol1120
    @wkol1120 Před 2 měsíci

    Hi DaFluffyPotato, through your teaching video, I learned about the python construction and many useful skill about game development! Especially on python container, it did help me a a lot to understand the syntax and tips.
    Thank you for your kindly sharing~~~

  • @oaklemon1920
    @oaklemon1920 Před měsícem

    Thank you very much sir we needed just this. You are pygame god.

  • @Forakus
    @Forakus Před 6 měsíci

    This is so incredibly valuable.. thank you

  • @q1chen
    @q1chen Před 11 měsíci

    i literally said wow at the jumping part, genius idea

  • @matiasgarciacasas558
    @matiasgarciacasas558 Před 3 dny

    This is an incredibly valuable resource

  • @sopvop
    @sopvop Před 5 měsíci

    Great video! I've learned a lot of basics about side scrollers, even though I'm following with c++ and raylib instead of python.

  • @lodybaguette2487
    @lodybaguette2487 Před rokem +1

    Good work !

  • @isaiah3613
    @isaiah3613 Před měsícem

    thank you for making this can't believe i finally made it through this "7" hour tutorial

  • @bcorey3660
    @bcorey3660 Před 9 měsíci

    This seems like a good approach for people who already know how to program. Honestly some of the APIs seem similar to normal web dev. I guess at the end of the day, game dev is still just listening for events, updating state and rendering to the display

  • @user-bf9ul9wv1d
    @user-bf9ul9wv1d Před rokem +23

    I think you are the only developer who works so hard on making games in python, knowing that it was easier to do it in unity.
    You really inspire me a lot.

    • @DaFluffyPotato
      @DaFluffyPotato  Před rokem +21

      It's only easier to get started learning with Unity. At my level, I can work faster than people using Unity.

    • @chigstardan7285
      @chigstardan7285 Před rokem +2

      @@DaFluffyPotato That's so cool.

    • @sushismitcher225
      @sushismitcher225 Před rokem +1

      I have been using pygame for over a year, and I've made over 20 pygame snippets in vs code to make anything in pygame from particles to a basic platformer. This lets me make prototypes faster than with a game engine. Each method to making a game has its advantage.

    • @Man-mx2sy
      @Man-mx2sy Před 10 měsíci +1

      nah check out clear code, that dudes fire

    • @chigstardan7285
      @chigstardan7285 Před 10 měsíci

      @@Man-mx2sy man clear code is the best, though he uses pygame for educational material while fluffy uses it for his personal projects. I hear clear code is gonna bring a new Godot 4 tutorial.

  • @tortutute1707
    @tortutute1707 Před rokem +1

    I don't comment much on videos, but thank you very much for your videos which help me a lot. Keep it up 🔥🔥! sorry for my english i am french

  • @naturep1x3ls
    @naturep1x3ls Před rokem +1

    the ultimate pygame tutorial has arrived.

  • @Inkety
    @Inkety Před 8 měsíci

    this is an amazing tutorial! i learned a ton from it!
    i just want to let you know is that this project has a bug in the way you implemented the death by falling. if you wall-slide for too long it kills you, and for some reason in this project if you wall-slide for too long, it kind of glitches out and shakes the screen. I'm not too sure why that is.
    also, when you reloaded the level, the player's dash value is not reset.
    but i loved this tutorial and will be looking forward to more videos! thanks!

  • @deecyrlysons3401
    @deecyrlysons3401 Před 7 měsíci

    Tutorial done! Thank you for this...from France

  • @thefunnyegg-fe8lr
    @thefunnyegg-fe8lr Před 4 měsíci

    thank you!! pygame is tricky but i'm determined to get it down!!

  • @cursorop1716
    @cursorop1716 Před 7 měsíci

    at 1:33:00 if you divide self.scroll by 30 then the camera follow up will be slow . If you jump from high distance your player will fall first and camera wouldn't be able to follow up player , so divide it by 20 so no matter how high you jump the camera will follow up player in slow manner but without losing its track .

  • @LuicMarin
    @LuicMarin Před 3 hodinami

    Loved the tutorial, hope we see one where we do some boss monster patterns

  • @Tristaxx
    @Tristaxx Před 5 měsíci

    MAN THIS IS FRICKIN LIT 🔥 thx man 🗿

  • @doganaktar
    @doganaktar Před rokem +1

    thanks a lot dude you're the best

  • @xanderpixel281
    @xanderpixel281 Před rokem +1

    Nice one!

  • @bini420
    @bini420 Před rokem +4

    I did not expect a banger like this from you, I went from "oh new 10 minute video of his old tutorial" to "course? So 1 hour? That's unexpected" to "bros brain turned to mash patatos of he done this"

  • @yds6268
    @yds6268 Před 7 měsíci

    This deserves a million views

  • @tahsinahmed7585
    @tahsinahmed7585 Před měsícem

    I really appreciated the video! if i can add something is whenever you are explaining a concept, visualizing the physics with drawing on a white board would really help reinforce the explanation.

    • @DaFluffyPotato
      @DaFluffyPotato  Před měsícem

      The full physics video I referenced has that.

    • @tahsinahmed7585
      @tahsinahmed7585 Před měsícem

      @@DaFluffyPotato The video with the drawing was very well explained! I wish we could have seen more concepts in that format.For example , before coding certain topics such as camera movement ,and tiles creation, you often start explaining your thought process. I wish we could have seen some visual representation on those thoughts because words can be overwhelming. Other than that I loved the A to Z tutorial! Thank you so much for the content.

  • @viniciusamaral3085
    @viniciusamaral3085 Před rokem +1

    Man, thank you so much for this...

  • @arbitervildred8999
    @arbitervildred8999 Před 11 měsíci +1

    you can actually do something about that camera bug when it gets closer to it's target, I believe you can target more of a radius of 5-10 pixel from the player origins, so once it gets closer to the player it will stop trying to center it perfectly and avoid the bug (but of course, the player will be slightly offset by 5-ish pixels) OR when it gets to that 3-5 close pixels, suddenly speed the camera from 30 to 100 so it gets spot on in maximum 2 frames
    (about 1:35:50)

    • @khushankgalgat
      @khushankgalgat Před 7 měsíci

      hey, can you please tell what camera bug are you talking about? i didnt understood what "choppy" movement sir is talking about? Please explain that bug in some detail..
      Thank You
      Have a nice day!

  • @jasonfun4069
    @jasonfun4069 Před 2 měsíci

    I learned more from this tutorial than my past 2 years of python classes

  • @mike_jay
    @mike_jay Před 5 měsíci +1

    Hi,thx for the tutorial. At the start there’s a cart racing game, I wondered if you have a series or video etc on writing that plz. Thx.

  • @peasantrobot
    @peasantrobot Před rokem +1

    Thank you for this complete course! I will try to reproduce it in C language and raylib...

  • @maxsurkov
    @maxsurkov Před 8 měsíci

    amazing work

  • @dagmawiabey8358
    @dagmawiabey8358 Před 11 měsíci +2

    i have a few questions, i hear people and most of the internet say that python is very slow compared to programming languages like c++, so is there any disadvantage that i would get from making 2d and 3d games with python? thanks!

  • @maikelvangrootel3843
    @maikelvangrootel3843 Před 4 měsíci +1

    Could someone help me with the following:
    When running after the 2:40:00 mark the tiles that are being placed are transparent instead of full? When I change the alpha of the current_tile_img the placed tiles are not transparent anymore. How can it be that this is not the case in the video.

  • @BumpDev
    @BumpDev Před rokem +1

    The ultimate course

  • @AsifWest-wp5ke
    @AsifWest-wp5ke Před rokem +2

    If i wanna run this game in my mobile phone how can i?
    am i gonna have to re adjust the frame size and responsiveness of the game to run on diffren size?

  • @mobs9306
    @mobs9306 Před 5 měsíci +1

    Following this series with Zig and Raylib pretty similar experience except a lot of low level concerns.

  • @wuziq
    @wuziq Před 12 dny

    1:09:47 the double slash does floor division. the floor for negative numbers is more negative.

  • @isaiah3613
    @isaiah3613 Před měsícem

    23:10 i'm not sure if he did it on purpose but i love this type of dry humor

  • @ozcar06
    @ozcar06 Před rokem

    Hi @DaFluffyPotato, I ran into a problem where im not able to locate the png's in the player, tiles and physics part. Is there a way to fix this?

  • @ragnarok_141
    @ragnarok_141 Před 11 měsíci

    It 's kinda hard to understand but im sure i'll get the hang of it.
    Nice tutorial Btw :).

  • @ahmedabuharthieh579
    @ahmedabuharthieh579 Před 11 měsíci

    Still following along here bit by bit with some experimenting along the way, great tutorial so far! I just wanted to ask, since the screenshake changes the blit position of the display, won't we get black bars on the edges of the screen when it occurs?

    • @DaFluffyPotato
      @DaFluffyPotato  Před 11 měsíci +1

      Yes. If you don't like that you can use the camera offset technique I mention instead. It's negligible.

  • @roddripf
    @roddripf Před 9 měsíci

    Melhor tutorial do youtube!!

  • @joshuarose20
    @joshuarose20 Před 11 měsíci +17

    *HOW IS THIS FREE*

  • @paulbergel9191
    @paulbergel9191 Před 7 měsíci

    That was such an amazing tutorial! Thanks so much for releasing this epic video!! I learned so much these past 6 hours (read: week)! I had to made a slight tweak to the editor since I'm on a Mac and for some reason it doesn't seem like you can hold down left shift + mouse scroll (?). Instead, I just made the shift button an on/off toggle (like we did with the off-grid g tiles). Also, I still can't get PyInstaller to work properly on Mac -- it creates the app file but it can't find the data and scripts folders. Has anyone been able to figure out the secret codes to get this to work on Mac yet? Cheers and Happy New Year!!

  • @chaitanyasannidhi9982
    @chaitanyasannidhi9982 Před 13 dny

    Simply the best!
    Just a small thing, but when I was playing the finished game, I noticed that if I stick to the walls for too long, I die. I think this has to do with the air_time > 120 check. A simple fix would be changing the air_time value while we're wall sliding such that it doesn't go past 120. What do you think?
    Again, thanks for the awesome tutorial.

  • @homieofsly100
    @homieofsly100 Před 3 měsíci

    anyone know why printing the tiles around the player wont work (doesn't show i crossed or got near the grass while falling but can still use collision properly) i think it might be because i'm programming from inside WSL and the vscode term isn't giving me output info properly but idk.

  • @blenderremastered9959
    @blenderremastered9959 Před 5 měsíci

    how many lines of code did you use i am also creating something similar. also how did it take you like thinking of code, formation of ideas etc though the clips say 6hr

  • @ChaosFleischer
    @ChaosFleischer Před 8 měsíci

    Thanks for the nice Course

  • @redcore_gamer
    @redcore_gamer Před rokem +1

    THANK YOU!!

  • @Epstrix
    @Epstrix Před 9 měsíci

    Hello, can I do the same thing on Replit? Replit is a browser-based IDE that requires no installation.

  • @moisesdepaulodias7980
    @moisesdepaulodias7980 Před 10 měsíci

    Hi, first of all, thanks for the tutorial!
    I have a simple question: This tutorial cover everything from your first tutorial series (Old Pygame Tutorial Series without OOP) or should I watch both?

    • @DaFluffyPotato
      @DaFluffyPotato  Před 10 měsíci +1

      It's most of the same stuff. Either would cover most of what you'd need. One has OOP and the other doesn't.

  • @koperaljali3253
    @koperaljali3253 Před 6 měsíci

    Thank you for the amazing tutorial. Can you also make a video on how to debug a game code?

  • @elishashmalo3731
    @elishashmalo3731 Před 11 měsíci +1

    Would you be interested in a colab? I absolutely love that you use pygame to make your projects. It’s the first graphics library I ever learned. I’m learning godot now just because I thought it would be fun. I think it would be interesting to see what a newb in godot could do vs what a pro in pygame could do.

  • @TarunThakur-go4qg
    @TarunThakur-go4qg Před 11 měsíci +1

    hello big fan i have created my own game
    thanks to you