Budget 2D teardown - Objects Destruction

Sdílet
Vložit
  • čas přidán 24. 05. 2021
  • Improved objects destruction system and performances. Next step would be to add different materials.
    Written from scratch in C++, using SFML for rendering.
    Music freepd.com/music/Advertime.mp3
  • Věda a technologie

Komentáře • 103

  • @R.B.
    @R.B. Před 3 lety +256

    No ants were harmed in the making of this clip.

  • @ericheflinger2155
    @ericheflinger2155 Před 3 lety +240

    I love how theres cheerful music while a machine gun is brutally ripping through walls

  • @IgnatRemizov
    @IgnatRemizov Před 3 lety +96

    "It costs $400,000, to fire this weapon, for 12 seconds."

  • @Fummy007
    @Fummy007 Před 3 lety +17

    I feel like when the wall gets thin enough it should fall by itself.

    • @AHSEN.
      @AHSEN. Před 3 lety +11

      Sure, but that's extremely difficult to do right and very computationally expensive to check for every frame. Teardown itself doesn't do that.

  • @cirogarcia8958
    @cirogarcia8958 Před 3 lety +24

    the fact that your physics engine can handle so many collissions at the same time flawlessly is just baffling

    • @khatharrmalkavian3306
      @khatharrmalkavian3306 Před 3 lety +1

      Verlet integration, baby!

    • @spyrgelispyy
      @spyrgelispyy Před 3 lety +2

      Verlet integration is pretty much the simplest part of a physics engine

    • @spyrgelispyy
      @spyrgelispyy Před 3 lety +3

      @@khatharrmalkavian3306 efficientlydeciding which collisions to even check and then calculating the actual collisions is the hard part

    • @bibirmengkeroet6717
      @bibirmengkeroet6717 Před 2 lety +2

      @@spyrgelispyy I guess he was using quadtree or something similar, i'm not sure

  • @ZeDlinG67
    @ZeDlinG67 Před 3 lety +14

    Does this mean the next generation of ants will have machineguns ?

  • @dandymcgee
    @dandymcgee Před 3 lety +29

    This is really awesome! I think you need to increase the mass of the brick material though because it acts more like styrofoam at the moment. Super floaty.

  • @chaosmaker781
    @chaosmaker781 Před 3 lety +16

    mashine gun is penetrating these walls with multiple rains of bullets
    music: YAAAYYYYY
    so peaceful :)

  • @Dr0drakon
    @Dr0drakon Před 3 lety +7

    BUDGET TEARDOWN LETS GOOOOOOOOOOO!!!!!!!

  • @HexOverride
    @HexOverride Před 2 lety +2

    This is absolutely amazing

  • @LifeIsACurse
    @LifeIsACurse Před 3 lety +3

    i just chuckled about the music choice you made to show this off haha

  • @gabrielbap1
    @gabrielbap1 Před 3 lety

    so satisfying to watch

  • @anon5992
    @anon5992 Před 3 lety +1

    Underrated channel

  • @cassandradawn780
    @cassandradawn780 Před 3 lety +6

    holy hecc this is nice

  • @RGBguy
    @RGBguy Před 3 lety +4

    This is so cool! Would love to learn more. A tutorial please!!

  • @mark_makes
    @mark_makes Před 3 lety

    Now this is exciting.

  • @wormjuice7772
    @wormjuice7772 Před 3 lety

    Great man just great!

  • @georgmethner9886
    @georgmethner9886 Před 3 lety

    Good work 👍

  • @evank06
    @evank06 Před 3 lety

    Very cool!

  • @trimsky8543
    @trimsky8543 Před 3 lety

    Cool!

  • @davawen9938
    @davawen9938 Před 3 lety +2

    Nice !
    Just wondering, is it like, particules connected together simulated independently or shapes created from the particules and simulated as a whole ?

    • @PezzzasWork
      @PezzzasWork  Před 3 lety +1

      It's mainly shapes as a whole but interparticles information is tracked

  • @harsh9558
    @harsh9558 Před 3 lety

    This is cool

  • @vec2vec2
    @vec2vec2 Před 4 měsíci

    This so cool!!!!! Do you have it on your Git Hub?

  • @megarunner127
    @megarunner127 Před 3 lety

    i like to think someone will make a madness combat fangame with this for some reason, still pretty good.

  • @dottedboxguy
    @dottedboxguy Před 3 lety +3

    i think something you may should to modify is/are (idk im not english) the shells of the gun, like make them a 2 or 3 pixel long thing that is destructible, to make the whole thing feel better ( may cause some lag issues but who caaaaares ) [ or they are already and i havn't noticed it ] { also it gives me more a noita vibe than a teardown vibe, but again, who cares ? }

  • @apple9943
    @apple9943 Před 2 lety +1

    Круто! 👍👍

  • @dimarichmain
    @dimarichmain Před 3 lety

    Nice

  • @ncfes
    @ncfes Před rokem +1

    The walls seem to be very strong. I feel like a 0:17 the wall should bend over and collapse on its own. Shooting at the wall also seems to destroy/delete the tiles. Aside from this it is pretty cool.

  • @kezzyhko
    @kezzyhko Před 3 lety +1

    IMO big chunks are too light. It seems to me that half of the woll should have more inertia, so that it will not fly away from bullets, and will start falling more slowly.
    But it's still very impressive!

  • @swift_goose
    @swift_goose Před rokem

    Neat demo, how are you accomplishing this particle system? When the collision is detect between the brick and the bullet, does the brick "break" into smaller pieces? Or is the brick a composite of hundreds of smaller pieces waiting for collision detection?

    • @PezzzasWork
      @PezzzasWork  Před rokem +1

      My approach is quite naive, each object is composed of thousands of particles that I detach to create parts

    • @swift_goose
      @swift_goose Před rokem +1

      @@PezzzasWork Interesting! Thanks for sharing, keep up the good work!

  • @neillunavat
    @neillunavat Před 2 lety

    Hey, how do u calculate all these collisions? Its impossible with just some math formulae.

  • @JD-qq8fz
    @JD-qq8fz Před 3 lety +2

    I keep imagining I'm a little 2d parkour dude (like N) starting on the bottom trying to escape to the right side and if a bullet or flying chunk crosses my eyeline I start over. haha call me a dork but its kinda fun

  • @SLPCaires
    @SLPCaires Před 3 lety +2

    would be great if you get structures to collapse when the weight is too much to to bear, not like it teardown where one little voxel can hold a building up

  • @tekbox7909
    @tekbox7909 Před 3 lety

    Fuck yeah new video

  • @spacet3445
    @spacet3445 Před rokem

    Machine gun destroying walls without overheat for 2:28 minutes. PhYsIcS

  • @supergubben
    @supergubben Před 3 lety

    nice

  • @volo870
    @volo870 Před 3 lety

    I sniff a really good Worms game.

  • @MichaelMSHuber
    @MichaelMSHuber Před 2 lety +1

    This looks like the Falling Everything Engine used in the game Noita

  • @noms1711
    @noms1711 Před 3 lety +1

    I have always loved destruction and this gives me hope that I will be able to destroy virtural objects over and over and with different results than just rectangles falling.

    • @h4zemuny
      @h4zemuny Před 2 lety

      then play teardown, what this is based off

  • @clappingtoday7167
    @clappingtoday7167 Před 2 lety

    Next step I think you should try is particle strength

  • @ohnocoder
    @ohnocoder Před 2 lety

    cool, cool, that would be a game engine)))

  • @troxity5589
    @troxity5589 Před 2 lety

    ive always been looking for a game where the walls are like a 3d castle and you get to tear it down with shit like trebuchets

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

    @PezzzasWork can you release the source code or explain how this works

  • @mrZeeeee
    @mrZeeeee Před 3 lety

    Happy Bastille day :D

  • @rebdochka5108
    @rebdochka5108 Před 2 lety

    This will be nice if you publish something like that

  • @maykul
    @maykul Před rokem +1

    Do you have it on your Git Hub? I can't see it!

  • @joseph-eleazarduhot2030

    neato

  • @Another_Online_Alias
    @Another_Online_Alias Před 3 lety +5

    How long have you been developing the engine for? as you have quite a few videos that go back awhile but I know that many hours go into pet projects before they ever see the light of day

    • @PezzzasWork
      @PezzzasWork  Před 3 lety +3

      I don't really know but probably around 2 or 3 weeks (of pure work I mean)

  • @qwer.ty.
    @qwer.ty. Před 3 lety +1

    What kind of hardware do you have for that ?

  • @pedror598
    @pedror598 Před 2 lety

    Gives some very java browser game vibes

  • @gimmethedata4256
    @gimmethedata4256 Před 3 lety

    wouldn't surprise me if yours is faster than teardown's and that it took you less time to code, just assuming

  • @marc_frank
    @marc_frank Před 3 lety +1

    1:47 shot the small particle in the air

  • @David-hl1wo
    @David-hl1wo Před 2 lety

    do you use multithreaded collision detection?

    • @PezzzasWork
      @PezzzasWork  Před 2 lety

      it's currently entirely single threaded but I am working on a mutlithread version

  • @tekbox7909
    @tekbox7909 Před 3 lety +5

    Not enough budget for the third dimension?

    • @tekbox7909
      @tekbox7909 Před 3 lety

      I feel bad for making that joke cause I didn't read the title of the video until after and didn't realize it was already made

    • @PezzzasWork
      @PezzzasWork  Před 3 lety

      I m sorry

    • @tekbox7909
      @tekbox7909 Před 3 lety

      @@PezzzasWork Why are you sorry? You make awesome content for us to enjoy

    • @PezzzasWork
      @PezzzasWork  Před 3 lety +3

      I was joking because your comment made me smile :)
      And thank you very much :D

    • @tekbox7909
      @tekbox7909 Před 3 lety

      @@PezzzasWork Ic I'm bad with jokes. Especially getting them

  • @starship9874
    @starship9874 Před 3 lety

    Tutorials, when?

  • @liane8178
    @liane8178 Před 2 lety

    This reminds me of Noita 🤔

  • @ohnocoder
    @ohnocoder Před 2 lety

    How it work... In nutshell?

  • @pipecleanermaster
    @pipecleanermaster Před 2 lety

    I need this program

  • @imvictorhugs
    @imvictorhugs Před 3 lety +1

    noita but with guns instead of magic

  • @FromaGaluppo
    @FromaGaluppo Před 3 lety

    Do you have twitter?

  • @Tinkerer_Red
    @Tinkerer_Red Před 3 lety

    You make some really cool stuff, Why have you yet to add a personality to your videos? There are never enough youtube channels dedicated to actually programming.

  • @elisparks1461
    @elisparks1461 Před 2 lety

    Where are you pezzza.WHATS HAPPENED

  • @minekpo1
    @minekpo1 Před 3 lety

    I feel like the bullet tracers are too wobly.

  • @frosty7674
    @frosty7674 Před 3 lety

    I know c and cpp what more should I know to learn all the stuff you do?

    • @WilcoVerhoef
      @WilcoVerhoef Před 3 lety

      Some graphics library. It really helps a lot when you can visually see what your algorithms are doing :)

    • @WilcoVerhoef
      @WilcoVerhoef Před 3 lety +1

      I think The Coding Train has videos about 2d simulations of all sorts. He uses other programming languages but the concepts are the same. Might be a good place to start.

    • @frosty7674
      @frosty7674 Před 2 lety

      @@WilcoVerhoef oh Thanks a lot I'll check it out

  • @drinkspartypack
    @drinkspartypack Před 2 lety

    Look like people playground engine

  • @mouradtulimat
    @mouradtulimat Před 3 lety

    please don't have an Indian accent when you start adding your voice to the videos XD... and please start making tutorials/breakdowns on how you do this stuff

    • @PezzzasWork
      @PezzzasWork  Před 3 lety +2

      If I start speaking it will be a nice French accent! Don't know if it's better :D

    • @mouradtulimat
      @mouradtulimat Před 3 lety

      ​@@PezzzasWork way better $_$, how many subscribers will that take?

  • @SchiwiM
    @SchiwiM Před 3 lety

    The walls are still not realistic

  • @tomsterbg8130
    @tomsterbg8130 Před 2 lety

    Now add a simple gui, make it cheap like 1-4$ and make hundreds. If it actually would work out I'd be surprised.

  • @ChipboardDev
    @ChipboardDev Před rokem

    people playground 2