Water, Wind, and Grass - Python/Pygame Devlog #2

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

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

  • @olegkorsunskyi7007
    @olegkorsunskyi7007 4 года назад +88

    You make the best pygame games and the best pygame tutorials. Thank you

    • @Willty64
      @Willty64 3 года назад +3

      @Loreen Hanney these comments are all sorts of sus. Seems like an ad from a bot or something.

    • @lonelyfloat2582
      @lonelyfloat2582 3 года назад +1

      @@Willty64 it is lol

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

      @@Willty64 nah dude he actually does do the best pygame tutorials tho

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

      @@atanki5682 idk if this is a joke- sorry if it is and I missed it, but there were comments from bots that have since been deleted.

  • @leonn5148
    @leonn5148 4 года назад +27

    Now that I realize, a lot of the stuff that can be simulated in games involved physics XD

  • @Dragonostic
    @Dragonostic 4 года назад +37

    the grass really gives life to the environment not gonna lie. It looks very professional with that sort of minor but detailed physics simulation.

  • @w4lroo
    @w4lroo 4 года назад +16

    I love water physics in games. That’s why I clicked on this video, also I love pixel art.

  • @adryncharn1910
    @adryncharn1910 4 года назад +12

    Thank you for this high quality content. Your a Python/Pygame legend.

  • @jeevankumarm9208
    @jeevankumarm9208 4 года назад +3

    Purely mathematical and physical ! Fantastic ! Hands off you sir !

  • @johnstarfire
    @johnstarfire 4 года назад +4

    I'll be looking for your further progress; I dig what you did with pygame, the grass and water is great and with the parallax the game will look amazing... great work!

  • @zackr3075
    @zackr3075 3 года назад +4

    Can you make a tutorial on water physics?

  • @Just4KeigA
    @Just4KeigA 4 года назад +5

    This is awesome !
    I just started to game dev. I am using/learning godot actually (love the style and simplicity of it). But since GD SCript is similar to python, i also try to learn python seperately and its my first language indeed.
    Luckily i found you. Thank you for the lovely explanations.
    Keep it up !
    Subbed

  • @mushiri
    @mushiri 4 года назад +4

    I ran into your channel recently, and I am amazed. You actually made me love python and pygame. I tried learning from the tutorials that you've made, but I have to say the beginner tutorial was a bit difficult to follow (starting from ep3). I really wish you'd remake this series one day but from the perspective of someone who is a very beginner. I got to say your content and explanation is great, but it would be perfect if you'd made it more beginner-friendly :)!

    • @DaFluffyPotato
      @DaFluffyPotato  4 года назад +1

      Yeah, my tutorials are meant for people who are already familiar with Python.

    • @hemantbisht5630
      @hemantbisht5630 3 года назад

      Fist learn the basics

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

      Yeah after ep 3 it was bit hard to understand for me

  • @touhidrabbenyshafin8471
    @touhidrabbenyshafin8471 3 года назад

    Is these game possible with only pygame...!!
    My GODDD... How this dude make these cool games with only Pygame!!
    I am speechless!! Broooow!

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

    I see you have mastered three of the four elements. That leaves only fire.

  • @unclesam1545
    @unclesam1545 3 года назад

    I cant even imagine doing such a thing in pygame

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

    Thanks for all the great content! Any chance you can share your code for the water areas? I'm trying to implement this in a game I'm making but I just can't seem to figure out how to fit it without some context of what come before and after the snippet at 9:42. Thanks!

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

    I've got a question, but I don't know if is there already a tutorial about it: how can you make sure you process only things on screen? for example for the grass, do you bind the function to a certain distance to the player?

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

    portuguese brazil - você pode me passar o projeto da fisica da grama?
    english - Can you give me the grass physics project?

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

    Thank you so so much for the tutorial you are doing, im Just getting started on this of python, when i finish learning basic concepts of it I Will begin with your tutorials, please dont stop doing this, you are the main for my game!

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

    6:11
    Although the physics simulation of the grass delivers a very detailed and professional look, the hit on performance must be very large. An alternative solution may be to use a shader that emulates physics movement by changing the angle of the grass by various intensities that depend from a wind strength value. That way it would be rendered by the gpu which is prepared to perform these sort of calculations

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

      I have a newer performant version that can handle 10,000+ blades easily that doesn't use the gpu

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

      @@DaFluffyPotato that’s very impressive! If there’s a video on that I’d love to watch it

  • @atanki5682
    @atanki5682 3 года назад

    bro you are the only reason i use pygame lmaoo most other tutorials are just utterly pbad

  • @jcart.art123
    @jcart.art123 4 года назад

    A good way to optimize the grass would be to only pass in a wind duration and wind intensity instead of actually simulating a gust of wind, so then all the grass on screen will be blown for the duration at the specified intensity

    • @DaFluffyPotato
      @DaFluffyPotato  4 года назад

      The wind calculations are almost nothing when it comes to processing power. Also, I like seeing the wind move across the terrain rather than it being affected all at once.

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

    This is perfect for me, except im using unity. Would this be possible to do in unity?

  • @kewtomrao
    @kewtomrao 3 года назад +1

    Where did you learn pygame from? For us u do many awesome tutorials but where did u learn it from? Thanks

  • @somerandomguy1484
    @somerandomguy1484 3 года назад

    How can I make water physics? It’s so hard!

  • @virel_anime_0
    @virel_anime_0 10 месяцев назад

    Can you make a tutorial for water please

  • @ΜάρκοςΒουγιουκλής
    @ΜάρκοςΒουγιουκλής 2 года назад

    Incredible work. What IDE do you use for the Python code?

  • @llamasarus1
    @llamasarus1 3 года назад

    Very nice, I didn't think games like this could be made with PyGame. Have ran into any bottlenecks performance-wise and if so how do you get around them?

  • @rehanali1949
    @rehanali1949 3 года назад

    I SWEAR YOU NEED CALCULUS TO ADD A SINGLE VISUAL EFFECT TO PYGAME
    DO YOU MAJOR IN MATH OR SOMETHING LIKE WHAT.

    • @DaFluffyPotato
      @DaFluffyPotato  3 года назад

      No. That’s just algebra. Most of gamedev is just algebra and trig.

  • @alphonsusokoye9780
    @alphonsusokoye9780 3 года назад

    Sometimes I wonder if I can ever get this good. Can you recommend me a book or something?

  • @hemantbisht5630
    @hemantbisht5630 3 года назад +1

    Wow really amazed!!

  • @vialomur__vialomur5682
    @vialomur__vialomur5682 3 года назад

    Thank you!

  • @causticsimon1283
    @causticsimon1283 4 года назад

    I love the character but the head looks a bit off for the body style in my opinion

  • @surajsalian583
    @surajsalian583 4 года назад

    please make a video on lock and unlock level system

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

    Can you please provide the source code for water

  • @tycreate1984
    @tycreate1984 4 года назад

    Are you planning on moving on to c+++ and maybe working with sfml
    Great video very interesting you got me thinking about my game

  • @vaibhavpandey6640
    @vaibhavpandey6640 3 года назад

    how did u coded water to form waves ?

  • @NeatGames
    @NeatGames 4 года назад

    I just *SUBSCRIBED* Great spirte art, the grass is so cool too! Keep it up and awesome devlog~ I just started doing them too :D

  • @johntisch5669
    @johntisch5669 4 года назад

    I've been using pygame for a while and looking at lot of projects done in pygame. Yours are the highest quality I've seen. I really like pygame but the hassle exporting projects is pushing me towards Godot. I have made executables from pygame but they're huge for even small games. I wish there was a better option. BTW have you tried pygame 2.0?

    • @DaFluffyPotato
      @DaFluffyPotato  4 года назад

      The game in the background here is running on Pygame 2. Also, the executable size is only an extra ~30mb. It’s really not much (especially for larger games).

    • @johntisch5669
      @johntisch5669 4 года назад

      @@DaFluffyPotato Any big improvements in version 2? Or compatibility issues?

    • @DaFluffyPotato
      @DaFluffyPotato  4 года назад

      Everything in Pygame 1.x should work in Pygame 2. I also get a 50%-100% performance boost in rendering.

    • @johntisch5669
      @johntisch5669 4 года назад

      @@DaFluffyPotato good to know. Thanks

  • @FeverDev64
    @FeverDev64 4 года назад

    Can you tell me how long have you been making games and programming for? It seems like you are really experienced !

    • @DaFluffyPotato
      @DaFluffyPotato  4 года назад +1

      Almost 7 years.

    • @ekrem_dincel
      @ekrem_dincel 4 года назад

      @@DaFluffyPotato what languages have you used? Do you use pygame for 7 years? What was the first game library/framework you used?

  • @sireye_0
    @sireye_0 4 года назад

    Someone asked the same question but how did u get into python pygame and any tips

    • @DaFluffyPotato
      @DaFluffyPotato  4 года назад +1

      I got in because I got bored one day, but I ended up really enjoying it. I started learning with this: inventwithpython.com/invent4thed/ My main advice is that things take practice.

  • @una_fitness
    @una_fitness 4 года назад

    What kind of math did you learn prior to doing all this, if any at all?

  • @ElMoy
    @ElMoy 4 года назад

    Hey! I have a question, could it be possible to simulate how life started in a game?

    • @DaFluffyPotato
      @DaFluffyPotato  4 года назад +1

      Depends what you mean

    • @ElMoy
      @ElMoy 4 года назад

      @@DaFluffyPotato like doing the theory of the big bang in a game, the way we had come, like a simulation, that could be interesting, my question is, is it possible to do? Im doing this question because im Just getting started and I cant recognize what is possible and not, thank u so much

    • @DaFluffyPotato
      @DaFluffyPotato  4 года назад

      We can’t truly simulate that stuff. There’s no way to accurately simulate every particle in the universe. Iirc, the best supercomputers are working on the scale of a couple atoms.

    • @ElMoy
      @ElMoy 4 года назад

      @@DaFluffyPotato oh i see, I havent learned how poo works, but I understand that, which code could we put if we cant know what exactly began that explosión, thank u bro, u are An awesome game developer, plz do more tutorials

    • @namename-zu8uk
      @namename-zu8uk 4 года назад

      @@ElMoy ok I woll do more totorials thanks you for the feedback bro

  • @blackzesus3180
    @blackzesus3180 4 года назад

    i love aeroblaster !! ,

  • @ColdBlueLight
    @ColdBlueLight 4 года назад

    we should game jam sometime!

  • @delta-chat
    @delta-chat 4 года назад

    The mooving background of the video make me sick :/
    Nice grass simulation !

  • @maxcl3474
    @maxcl3474 3 года назад

    i think you just made a game engine.

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

    Sei italiano? Are you italian?

  • @soisauce364
    @soisauce364 4 года назад

    wow man

  • @mavdotj
    @mavdotj 4 года назад

    That looks like unity

  • @gargoyled_drake
    @gargoyled_drake 4 года назад +1

    IQ200+

  • @eligbnsu71
    @eligbnsu71 4 года назад

    Ahahahah
    U r a fucking genius
    Thanks for making this things for us
    U d best

  • @hm4266
    @hm4266 4 года назад

    Pygame lol, now just take a moment and think what this guy know about python?

  • @koolaidhunter4163
    @koolaidhunter4163 3 года назад

    Your my icon

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

    no offence, but this video could cause epilepsy seizure.