Creating particle effects in pygame

Поделиться
HTML-код
  • Опубликовано: 8 июн 2024
  • LETS MAKE NYANCAT RAINBOW PARTICLES! But we are also going to look at the logic pf particle systems and ultimately create 3 different particle styles:
    Timestamps:
    0:00 - Intro
    1:08 - Basic particles
    16:57 - Nyan Cat particles
    29:18 - Star Particles
    Files can be found here: github.com/clear-code-project...
    Or if you just want the code: github.com/clear-code-project...

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

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

    Please don't stop your pygame videos!! They are hidden gems!!

  • @somerandomdude5218
    @somerandomdude5218 3 года назад +16

    This is just perfect... thank you

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

    the best programming tutorial channel, thank you

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

    Thanks! Amazing tutorial

  • @atharvapatil7474
    @atharvapatil7474 3 года назад +6

    Pls support him because he is so hard working and he has so less subs

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

    Thanks - very useful and informative :)

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

    Helpful video. Thanks!

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

    you are really a good teacher

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

    Great tutorial! Could you possibly do a tutorial on lighting in Pygame?

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

    This is a gem

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

    Thats amazing!

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

    I need to thank you.

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

    Cool tutorial :)

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

    at 14:20 you could use list unpacking --> pos_x, pos_y = pygame.mouse.get_pos()
    your vids are totally great it has helped me a lot Thank you very much for these videos :)

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

    Excelente!! Thanks!!

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

    Thankyou sir😍😍😍🥰

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

    Perfect. Perhaps you could make a video of an object like a pumpkin exploding and falling apart in many small pieces. Or is that not possible with pygame?

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

      you just need to think a little; collide, event, get pos, remove object, show flying chunks (particles)... just put the pieces together

  • @itsME-dc4vm
    @itsME-dc4vm 3 года назад +1

    Nice ;D

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

    Thank u alot

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

    thank youu

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

    anything on shaders?

  • @Lenny-nl1ce
    @Lenny-nl1ce 3 года назад

    how do i make a particle appear only when i press a certain key, instead of a timer?

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

    greAt !

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

    I need Suggestions, should I learn unity game engine or pygame?

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

    Sir, please make playlists. Make playlists for all Python Pygame Godot tutorials pleaaaase

  • @RohanKumar-zd3pc
    @RohanKumar-zd3pc 3 года назад +1

    I wish you were my teacher

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

    this is going to slow down if you start to add thousands of particles, isn't it?

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

    please make a space shooter game using pygame

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

    can you make a snake game tutorial using pygame

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

      Working on that actually, should be out on Friday :)

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

      @@ClearCode Thanks a lot, Most of the tutorials on snake game aren't like you, so asked

    • @RohanKumar-zd3pc
      @RohanKumar-zd3pc 3 года назад +1

      @@ClearCode It's Saturday and were u talking about next Friday or this one that passed

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

      @@RohanKumar-zd3pc this Friday... but I got too busy, sorry. I recorded 90% of it and it will be up on Tuesday for sure.

    • @RohanKumar-zd3pc
      @RohanKumar-zd3pc 3 года назад +1

      @@ClearCode Oh don't worry about that you can release it as soon as you comfortably can.
      :D

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

    I know you are targeting beginners but I truely think using Vector2 for position is a major skill to learn.
    Instead of using something like position[0] for horizontal coordinate and position[1] for vertical coordinate, which isn't really self explanatory, using position.x and position.y would be much much easier to grasp and make sense in the long run.
    Your particle structure is a list which contains a list for position, it might be hard to make sense for beginners.
    "When do I have to subscript once (particle[2]) ? Twice (particle[0][1]) ?"
    Another improvement over your version would be to use a dictionary instead of a list for your particle structure. That way, instead of using index values which aren't really explicit in their role, you'd just have to access the data member by their name.
    particle = {
    'position': pygame.Vector2(250, 250),
    'radius': 10,
    'direction': -1
    }

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

    I Watch your complete ads so that you can earn more .

  • @maorparienty-pctipsandtric6990

    i lost the meaning of particle

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

    Sooo many adverts, couldn't get through the video.

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

      sorry about that, I disabled most of them so it should be better now!

    • @RohanKumar-zd3pc
      @RohanKumar-zd3pc 3 года назад +2

      @@ClearCode Nice!!!!!
      We should use adblock