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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น •

  • @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.

  • @w4lroo
    @w4lroo 4 ปีที่แล้ว +16

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

  • @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.

  • @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!

  • @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

  • @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!

  • @zackr3075
    @zackr3075 3 ปีที่แล้ว +4

    Can you make a tutorial on water physics?

  • @leonader9465
    @leonader9465 2 ปีที่แล้ว

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

  • @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!

  • @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

  • @unclesam1545
    @unclesam1545 3 ปีที่แล้ว

    I cant even imagine doing such a thing in pygame

  • @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.

  • @atanki5682
    @atanki5682 3 ปีที่แล้ว

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

  • @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?

  • @yarin8350
    @yarin8350 5 หลายเดือนก่อน

    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!

  • @hemantbisht5630
    @hemantbisht5630 3 ปีที่แล้ว +1

    Wow really amazed!!

  • @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?

  • @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?

  • @ΜάρκοςΒουγιουκλής
    @ΜάρκοςΒουγιουκλής 2 ปีที่แล้ว

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

  • @vialomur__vialomur5682
    @vialomur__vialomur5682 3 ปีที่แล้ว

    Thank you!

  • @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

  • @EvuIt
    @EvuIt 2 ปีที่แล้ว

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

  • @blackzesus3180
    @blackzesus3180 4 ปีที่แล้ว

    i love aeroblaster !! ,

  • @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

  • @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

  • @virel_anime_0
    @virel_anime_0 10 หลายเดือนก่อน

    Can you make a tutorial for water please

  • @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.

  • @somerandomguy1484
    @somerandomguy1484 3 ปีที่แล้ว

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

  • @alphonsusokoye9780
    @alphonsusokoye9780 3 ปีที่แล้ว

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

  • @vaibhavpandey6640
    @vaibhavpandey6640 3 ปีที่แล้ว

    how did u coded water to form waves ?

  • @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?

  • @surajsalian583
    @surajsalian583 4 ปีที่แล้ว

    please make a video on lock and unlock level system

  • @causticsimon1283
    @causticsimon1283 4 ปีที่แล้ว

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

  • @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

  • @Mircoludist
    @Mircoludist 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.

  • @gargoyled_drake
    @gargoyled_drake 4 ปีที่แล้ว +1

    IQ200+

  • @soisauce364
    @soisauce364 4 ปีที่แล้ว

    wow man

  • @virel_anime_0
    @virel_anime_0 ปีที่แล้ว

    Can you please provide the source code for water

  • @una_fitness
    @una_fitness 4 ปีที่แล้ว

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

  • @ColdBlueLight
    @ColdBlueLight 4 ปีที่แล้ว

    we should game jam sometime!

  • @mavdotj
    @mavdotj 4 ปีที่แล้ว

    That looks like unity

  • @delta-chat
    @delta-chat 4 ปีที่แล้ว

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

  • @eligbnsu71
    @eligbnsu71 4 ปีที่แล้ว

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

  • @maxcl3474
    @maxcl3474 3 ปีที่แล้ว

    i think you just made a game engine.

  • @none4964
    @none4964 2 ปีที่แล้ว

    Sei italiano? Are you italian?

    • @DaFluffyPotato
      @DaFluffyPotato  2 ปีที่แล้ว +1

      No, I’m hoppa

    • @none4964
      @none4964 2 ปีที่แล้ว

      @@DaFluffyPotato Ok

  • @koolaidhunter4163
    @koolaidhunter4163 3 ปีที่แล้ว

    Your my icon

  • @hm4266
    @hm4266 4 ปีที่แล้ว

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

  • @nikolaytravels4899
    @nikolaytravels4899 ปีที่แล้ว

    no offence, but this video could cause epilepsy seizure.