Creating a Brick Breaker with my PHYSICS ENGINE

  Рет қаралды 111,398

Pezzza's Work

Pezzza's Work

Күн бұрын

Пікірлер
@Syz_gy
@Syz_gy 3 жыл бұрын
I'd legitimately lose a few hours playing this. It's so neat seeing random experiments and concepts being applied to create a cool looking game.
@oamioxmocliox8082
@oamioxmocliox8082 2 жыл бұрын
;)
@ferred3056
@ferred3056 2 жыл бұрын
What is the game's name?
@Stefanutsu
@Stefanutsu 3 жыл бұрын
I'm absolutely stunned everytime you upload. The presentation and the code give an amazing sense of quality, its as if my endgoal as a programmer would be reaching something like your level.
@needamuffin
@needamuffin 2 жыл бұрын
3:20 That's actually a pretty good illustration of self-sustaining fission reactions.
@gabrielecipriani6798
@gabrielecipriani6798 2 жыл бұрын
Was about to write the same
@pipebombmailer
@pipebombmailer 2 жыл бұрын
whats up guys today we’re going to be cutting a atom in half
@ewaldlatreider5127
@ewaldlatreider5127 2 жыл бұрын
@@pipebombmailer many attoms in half :D
@mysterylink7550
@mysterylink7550 2 жыл бұрын
Nice one 👍☺️☺️
@ahmedsaliherel
@ahmedsaliherel 2 жыл бұрын
İt would be better if he did this with flying bomb blocks.
@shanewalsch
@shanewalsch 3 жыл бұрын
You can add a heavy one, which goes through many objjects on the way without bouncing from them
@PezzzasWork
@PezzzasWork 3 жыл бұрын
That's a good idea!
@nicoleibundgut534
@nicoleibundgut534 2 жыл бұрын
though about this aswell just playing around with the mass of some balls
@KevinCrouch0
@KevinCrouch0 2 жыл бұрын
It's tough to tell which parts are "dead" blocks or rubble and which blocks still need to get hit to clear the level. Maybe the "dead" block chunks go more black/lose colors to show they don't matter any more
@GamingBlarg
@GamingBlarg 3 жыл бұрын
This is the kinda stuff I love about making games, getting a dope concept and then running with it till you have a addicting game on your hands I made an asteroids clone a couple years back and my favourite thing after I got the basics down was adding all the fun shit like the UFOs and powerups
@mysterylink7550
@mysterylink7550 2 жыл бұрын
Did you ever play Inner Space on win 95? Awesome game from my childhood I need to find again ....
@redshepard5306
@redshepard5306 2 жыл бұрын
Awesome work. Adding a bit of momentum to balls thrown from the explosions would make them feel stronger and would make the explosive ball powerup more chaotic. I love the upside down gravity part. Making the bricks look like upside down buildings would make a great phone game. Like an alien invasion version of brick break just make the paddle a saucer.
@TodePond
@TodePond 3 жыл бұрын
Niiiice! It's so satisfying to see how it built up piece by piece! 🤩
@dairop3220
@dairop3220 3 жыл бұрын
Tes projets dont toujours aussi stylés, tu m'impressionne à chaque fois srx ! Continue comme ça !
@csh0vel
@csh0vel 3 жыл бұрын
Interesting and awesome as always! I love your work, man!
@tomsterbg8130
@tomsterbg8130 2 жыл бұрын
I love the effort put into making this work with most of the exclusive cases! You sure put a good amount of effort in it and after all that's a game you can freely monetize! I wouldn't suggest as it's barely got a gameplay, but it's very fun still and I'm imagining it's around 1000 - 2000 lines of code too. A few ideas you could try are adding platform size shrink and enlarge blocks as well as some spiked ball that goes more easily through debree. Adding a row of bricks randomly chosen every few seconds and if a brick falls down it's game over as well as when losing a ball. You can play infinite gamemode without winning condition or a gamemode that goes on stages with progressive difficulty and has winning condition. A scoring system when breaking bricks and possibly when losing balls, a life system if you want to give the player more forgiveness when they lose and a roguelite gamemode with permanent upgrades such as more lifes, a slider that can set the speed of balls (level 1 is 0.9-1.1x speed, level 2 0.8-1.2x like that), pause, better explosions, more damage from a ball, balls curve towards your cursor, you can make balls go more easily through blocks or reduce block health, add stronger blocks. There's a thousand things you can do!
@win95beta5
@win95beta5 2 жыл бұрын
Yeah monetize it, what an unique idea, and half of the world including me cant play it, creator surely couldnt think of that
@ledumpsterfire6474
@ledumpsterfire6474 2 жыл бұрын
@@win95beta5 Oh look another person who thinks creators should make everything free until the content comes to an abrupt end because they got evicted from their fucking house lmao
@boblobgobstopper13214
@boblobgobstopper13214 2 жыл бұрын
@@win95beta5 do you not pay for any products you use?
@win95beta5
@win95beta5 2 жыл бұрын
@@boblobgobstopper13214 Yeah, but rarely, i have life outside computer
@boblobgobstopper13214
@boblobgobstopper13214 2 жыл бұрын
@@win95beta5 life outside the computer still requires you to pay for things. You pay for food, shelter, transportation, even work requires you to “pay” for money with your time and effort. How does paying for a game mean half the world can’t play it?
@frogman1
@frogman1 2 жыл бұрын
the sound effects are so natural, i love it.
@Destroy3612
@Destroy3612 3 жыл бұрын
Truly a brick breaker game, awesome!
@bloodkiller-zg3jc
@bloodkiller-zg3jc 3 жыл бұрын
i love how capturing your vids are, awesome job (happy New Year, man!)
@PezzzasWork
@PezzzasWork 3 жыл бұрын
Thank you! you too :)
@nautilume7114
@nautilume7114 3 жыл бұрын
No kidding, I checked this vid out in preview and watched the whole thing there lmao
@Waffle_6
@Waffle_6 3 жыл бұрын
you don’t understand how much i look forward to these videos
@natejack2292
@natejack2292 2 жыл бұрын
I'm a physics major and I've just begun coding some games back in January. I first made pong, then decided to make a brick breaker. I've been working on it for months, learning as I go, and this is amazing and inspiring
@tyrendel
@tyrendel Жыл бұрын
Very nice seeing the steps you take!
@PezzzasWork
@PezzzasWork Жыл бұрын
Thank you!
@JacobPernell
@JacobPernell 2 жыл бұрын
I recently started learning a little bit of C++ and OpenGL and now I’m inspired to eventually try making a basic prototype of something like this :D Thanks for sharing your work with us!
@davidwagner6116
@davidwagner6116 2 жыл бұрын
This reminds me of good times making level sets for LBreakout2. The effects from the soft-body physics are really fun!
@rodakdev
@rodakdev 3 жыл бұрын
That chicken has cool glasses for a reason!
@Rumplestiltzchen
@Rumplestiltzchen 2 жыл бұрын
m8 you can't just show off something this cool and epic and then put "Executable demo soon." and then leave us hanging for half a year. I need this in my life
@nyuh
@nyuh 2 жыл бұрын
the gameplay is so chaotic i love it
@Cloruro
@Cloruro 3 жыл бұрын
Reactor 4 be like 3:21
@Hotbody
@Hotbody 3 жыл бұрын
Exactly my thoughts 😆
@trimsky8543
@trimsky8543 3 жыл бұрын
You are just a master of math and c++! So cool! Very interesting
@khanoaoas7269
@khanoaoas7269 Жыл бұрын
Mon gars t'es trop chaud, je kifferai être capable de coder avec une qualité similaire a la celle que tu tiens dans tes projets. Continue à nous inoressioner!
@alienmoonstalker
@alienmoonstalker 2 жыл бұрын
This is very satisfying. Thank you.
@zzz23523
@zzz23523 2 жыл бұрын
I think someone watched "Juice it or lose it" ;) Very nice work
@NerdyWordyMatt
@NerdyWordyMatt 2 жыл бұрын
Hell, yeah! I'd play the heck out of that.
@jhwblender
@jhwblender Жыл бұрын
Oh wow! If you turned this into a mobile game I'd download this in a heartbeat. Great job! So so cool.
@DEV_XO
@DEV_XO 2 жыл бұрын
Looks amazing!
@KaziiTheAvali_inactive
@KaziiTheAvali_inactive 2 жыл бұрын
it is very very nice. i would suggest randomly rotating the explosion effects to make it look less semetrical
@noms1711
@noms1711 3 жыл бұрын
I have a fascination for destruction and this is amasing keep it up!
@knutolsen7987
@knutolsen7987 Жыл бұрын
Impressive work!!
@mrtronbl
@mrtronbl 2 жыл бұрын
Amazing work.
@Demircan8
@Demircan8 3 жыл бұрын
This video will be watched more than 1 million times
@cannonmann
@cannonmann 2 жыл бұрын
With some themed stages for the gravity effects and pretty backgrounds I'd buy this on steam.
@byaafacehead
@byaafacehead 2 жыл бұрын
3:19 feels like an analogy for a chain reaction
@mysterylink7550
@mysterylink7550 2 жыл бұрын
This should have been developed 20years ago . Better late than never humans.
@Katniss218
@Katniss218 2 жыл бұрын
this is really cool
@SilhouetteSilvertail
@SilhouetteSilvertail Жыл бұрын
3:20 Weirdly satisfying
@UltramasterBDJ
@UltramasterBDJ 15 күн бұрын
You really should make this into a full game and sell it. 😊
@l9m241
@l9m241 2 жыл бұрын
This is noita levels of good!
@kitty_gamer23
@kitty_gamer23 3 жыл бұрын
Reminds me of jardinains. Those were the glory days...
@Xyb3rAnims
@Xyb3rAnims 2 жыл бұрын
i'd literally wanna play this
@sebbes333
@sebbes333 2 жыл бұрын
*@Pezzza's Work* *_Want to make it even MORE unique?_* :D Instead of putting the entire game onto a "fixed" background like now... instead put the game onto the cloth-simulation at 0:06 like the game is projected onto the cloth, and the boxes & paddle has weight & physics that affect how the cloth moves, maybe an upgrade that adds wind? or the really powerful explosions leave actual holes in the cloth (either the balls bounces off the holes, or passes through but you can't see what happens there, depends on if you want it to behave like the blocks are actually inside the cloths [solid holes], or the game is a projection onto the cloth [pass through holes]). If the motions are violent enough, then the cloth folds over itself & you can't see what happens in that area :D
@petraviolabeck9157
@petraviolabeck9157 2 жыл бұрын
You should add the unbreakable blocks as well. Would make things even more interesting.
@amber.mp4
@amber.mp4 2 жыл бұрын
another one i would love to play
@Petr75661
@Petr75661 2 жыл бұрын
Have the physics engine run as a service on my gaming PC and stream the visuals/control feedback to/from my phone via internet.
@mannguyenduy3688
@mannguyenduy3688 9 ай бұрын
can you explain more about the parts detection algorithm in 1:37?
@VestigialHead
@VestigialHead 3 жыл бұрын
I really hope you have games on sale Pezza. You should be getting income for your skilled work.
@TDGalea
@TDGalea 2 жыл бұрын
I would pay money for this. I can see this as a perfect thing for on-the-go gaming for Android/iOS in a vertical orientation. Maybe with some extras (don't ask me, I unfortunately don't dev games) it could fit the likes of Steam too.
@krisdabo-yh8bq
@krisdabo-yh8bq Жыл бұрын
Awesome❤
@leodenham1710
@leodenham1710 2 жыл бұрын
At 1:39 what is the "parts detection algorithm" you have used?
@c3s743
@c3s743 2 жыл бұрын
Nice!!!!!👍
@disel8599
@disel8599 3 жыл бұрын
Hi, how did you learn all these things about physics and how did you integrate them into the code? Where did you learn to code?
@nautilume7114
@nautilume7114 3 жыл бұрын
Don’t mind me I’m here for the notif if this gets a reply
@PezzzasWork
@PezzzasWork 2 жыл бұрын
Hi! It took me quite a long time to be honest. This video was a great help www.gdcvault.com/play/1020603/Physics-for-Game-Programmers-Understanding The channel of Matthias Müller is also pure gold if you want to learn to physics for programming kzbin.info
@disel8599
@disel8599 2 жыл бұрын
@@PezzzasWork Thanks
@swift_goose
@swift_goose 2 жыл бұрын
This is awesome! You did all of this in C++? Very well presented video as well
@PezzzasWork
@PezzzasWork 2 жыл бұрын
Thank you very much! Yes it is 100% c++
@alessandrodamato5059
@alessandrodamato5059 2 жыл бұрын
compliments But admit it, you got the sound effects from Jak and Dexter :P
@Solrex_the_Sun_King
@Solrex_the_Sun_King 2 жыл бұрын
Add a level editor and a price tag and this is worth 5$ minimum at that point.
@vilkillian
@vilkillian Жыл бұрын
3:22 he literally made an atom bomb
@Fummy007
@Fummy007 3 жыл бұрын
Looks like fun
@krccmsitp2884
@krccmsitp2884 2 жыл бұрын
This looks great and like a lot of fun! Is there actually a working game?
@dwhorlow8397
@dwhorlow8397 3 жыл бұрын
What are the specs of the pc you're running this with?
@nebulium6641
@nebulium6641 2 жыл бұрын
This looks and sounds a lot like a virtual casino game lol
@h989l
@h989l 2 жыл бұрын
amazing
@cobaltxii
@cobaltxii 3 жыл бұрын
this is amazing. i know how to make the verlet physics engine but can you post some resources explaining how the “parts” algorithm works? i can only think of one way (flood fill) but it seems slow so any pointers would be appreciated :)
@taktoa1
@taktoa1 Жыл бұрын
You could use a union-find data structure: iterating over all blocks B and all neighbors N of B, union N with B. Then calling find on some block will give the part it belongs to.
@aerofur
@aerofur 2 жыл бұрын
IMO there should be strobe colored text when a powerup is used (that isn’t the extra ball text) that tells you what happened Good looking game overall!
@joe_croupier
@joe_croupier Жыл бұрын
brilliant gravity
@echoptic775
@echoptic775 3 жыл бұрын
Can u explain a little more about it? Where did u learn that, link to some article myb?
@BattleMachines
@BattleMachines 2 жыл бұрын
Awesome
@gmlviper
@gmlviper 2 жыл бұрын
Arkanoid... but over 9000!
@m.shakibhosseinzadeh8415
@m.shakibhosseinzadeh8415 3 жыл бұрын
It Reminded me of ricochet infinity game, if u didn't play it u could check videos of it, can give u some awesome ideas
@ScarlxtPink
@ScarlxtPink 2 жыл бұрын
Yeah the special powers really make it look similar.
@isg9106
@isg9106 3 жыл бұрын
I would pay $5 for this. $3 on sale, $1 instant buy for steam mega sales. No joke!
@fhgghg552
@fhgghg552 2 жыл бұрын
This so realistic
@Goofystarthvbac
@Goofystarthvbac 2 жыл бұрын
When you’re inside a nuke and the nuke sets off: 3:23
@seardadsdasd
@seardadsdasd 2 жыл бұрын
This will be like teardown but its 2D also I'd recommend working on the vehicles after you release the demo
@ollolol3303
@ollolol3303 2 жыл бұрын
Quite sad that a brick breaker game with physics engine didn't have collisions between balls, it would be a lot of funs!
@ohnocoder
@ohnocoder 2 жыл бұрын
1:40 what is the algorithm name? Sorry for bad English =)
@Eugensson
@Eugensson 2 жыл бұрын
Tetris next!
@LJ_Dude
@LJ_Dude 2 жыл бұрын
A wonderful spin on a classic game. How soon will that executable demo be?
@Migixkem
@Migixkem 2 жыл бұрын
Can u tell me how you learned all of this stuff. How, Where and why, I'm just very interested in your background because this is pretty cool
@haunty5537
@haunty5537 2 жыл бұрын
Now could u make one at a larger scale with special blocks randomly placed and seperated at different intervals depending on how close it to the bottom?
@MichaelMorenoPhilosophy
@MichaelMorenoPhilosophy 2 жыл бұрын
This is incredible. How did you learn all of this? Do you have any resources or paths you recommend?
@starplatinum3305
@starplatinum3305 8 ай бұрын
How part detection algorithm works ?
@Trooperos90
@Trooperos90 3 жыл бұрын
Is there such part algorithm for 3d?
@dragonminz602
@dragonminz602 3 жыл бұрын
That looks like a ton of fun! Is it possible to play it somewhere?
@onceiwas
@onceiwas Жыл бұрын
ive been waiting for 3 years wheres the demo
@PythonPlusPlus
@PythonPlusPlus 3 жыл бұрын
What if you had the bricks attach to their positions with springs?
@nou5440
@nou5440 3 жыл бұрын
nice
@NoVIcE_Source
@NoVIcE_Source 2 жыл бұрын
damn, how can one learn to make such physics
@punk3900
@punk3900 8 ай бұрын
if you created this 40 years ago for Atari you would be God
@JordanShurmer
@JordanShurmer 2 жыл бұрын
You should look into this game called Noita, and the Falling Everything engine
@PezzzasWork
@PezzzasWork 2 жыл бұрын
Yes I saw this game, really nice! They have a very different approach but in the end the result is quite similar
@kaserollins9281
@kaserollins9281 Жыл бұрын
does anyone have any idea what language/software was used to make this?
@yahia1355
@yahia1355 3 жыл бұрын
AHAaw shitt ! that's greaaaaaat!!!!!!!!
@endeyfire
@endeyfire 3 жыл бұрын
i want this on my phone
@경원전-o7v
@경원전-o7v 2 жыл бұрын
I'd love to see a source of this in action. Could you please open the sample source?
@Taotaoba
@Taotaoba 2 жыл бұрын
Please make it a game and I'll buy it!
@alexwharton4376
@alexwharton4376 Жыл бұрын
Can you do a tutorial on how to do this level of destruction for people who are new to making games?
@thewisepartybuddha3179
@thewisepartybuddha3179 Жыл бұрын
The Simulation/Game is very cool, but i also have to ask about the music. Where can i find it? Did you compose it yourself?
@Beatsbasteln
@Beatsbasteln 2 жыл бұрын
sweet game
@_MrNoob
@_MrNoob 2 жыл бұрын
Question, what do you use to make these? And how?
Writing a Physics Engine from scratch
9:24
Pezzza's Work
Рет қаралды 211 М.
Creating a Space Invaders clone using my C++ engine and SFML
11:58
Pezzza's Work
Рет қаралды 38 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 189 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,1 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
Evolving AIs - Predator vs Prey, who will win?
12:15
Pezzza's Work
Рет қаралды 2,9 МЛН
Real time Fire Simulation
7:23
Pezzza's Work
Рет қаралды 158 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,5 МЛН
Turning bugs into Art
7:43
Pezzza's Work
Рет қаралды 196 М.
Making a difficult game about fitting in - Acerola Jam 0
19:17
jess::codes
Рет қаралды 449 М.
Can You Beat Poly Bridge 3 Using Only Vehicles?
16:27
Reid Captain
Рет қаралды 91 М.
AIs learn to WALK
20:21
Pezzza's Work
Рет қаралды 60 М.
Actually, Maybe There's Only 1 Game of Tic-Tac-Toe
11:58
Marc Evanstein / music․py
Рет қаралды 1,1 МЛН
Designing a Physics Engine in 5 minutes
7:37
Winterdev
Рет қаралды 157 М.
I programmed Minecraft from scratch... again.
11:44
jdh
Рет қаралды 603 М.