I added water to my C++ Minecraft Clone

  Рет қаралды 114,943

WSAL Evan

WSAL Evan

Күн бұрын

Пікірлер: 381
@wsalevan
@wsalevan Ай бұрын
Hey guys! I hope you enjoyed the video! Quick announcement: When the Discord server gets to 100 members, I'm going to host a mini game jam! The server is so close to 100 already, so if you're interested in the game jam, join the server here: discord.gg/G9zSDfMcZg
@anthonywong-b1x
@anthonywong-b1x Ай бұрын
would like to see villages to add more life
@Ne4to_Pon
@Ne4to_Pon Ай бұрын
Add sky to your game
@albertnotdx
@albertnotdx Ай бұрын
The video was pretty good tbh
@nightslayer1581
@nightslayer1581 Ай бұрын
Hey may I get your discord I have a few questions I’d really like to ask
@budgetarms
@budgetarms 6 күн бұрын
WSAL meaning?
@null-0
@null-0 Ай бұрын
Minecraft Bedrock at home: Awesome video demonstrating the power of C++ :]
@theSoulPlayzz
@theSoulPlayzz 29 күн бұрын
I was gonna say something like this but I couldn’t think of a good way to type it so thank you for being better at coming up with thing to say than me ❤
@Capi_sigma_pro_coder
@Capi_sigma_pro_coder 5 күн бұрын
Awsomeway of showing showing off c++? Unreal is written in c++
@Venstras
@Venstras Ай бұрын
3:36 Ain't the far lands, that's the fart lands 😭
@COWDOBB
@COWDOBB Ай бұрын
underrated
@seanernst-c7r
@seanernst-c7r 29 күн бұрын
bro got the whole squad laughing 😒
@WadbeRoblox
@WadbeRoblox 29 күн бұрын
@@seanernst-c7r i thought it was pretty funny ngl
@tibr
@tibr 27 күн бұрын
9:53 shit seas
@ACEMesa69
@ACEMesa69 12 күн бұрын
🍑💨⛰️
@NelsonTheAwesome
@NelsonTheAwesome Ай бұрын
Honestly I wish we could get videos like this from Mojang for normal Minecraft development
@okolenmi7511
@okolenmi7511 25 күн бұрын
In this case it will be a 5 minutes video per month.
@debianer
@debianer Ай бұрын
"It works, but why?" - WSAL, 2024
@Twitaside
@Twitaside Ай бұрын
it's 2024
@Alexminecrafter1
@Alexminecrafter1 Ай бұрын
pretty much every programmer ever, and if i learn java this well be me to lol
@elongated_musket6353
@elongated_musket6353 Ай бұрын
IF IT AINT BROKE DONT FIX IT
@Bigleyp
@Bigleyp 19 күн бұрын
Every programmer has said this at least once in the last 3 hours.
@KatTheOneAndOnly
@KatTheOneAndOnly 13 күн бұрын
@@Bigleyp I can confirm I just said that cause of some insanely broken code that still somehow worked lmao
@K3rhos
@K3rhos Ай бұрын
5:39 From experience there is two types of crashes: - Crash that make sense and are actual errors in your program (under some conditions or whatever) - "Random" crashes generally caused by forgetting about thread sync issues, idk about your project but if you have multiples threads doing different tasks and reading or pushing items inside arrays, make sure you lock your threads using std::lock. If you find that your game sometimes randomly crashes and you cannot find out what really causing the crash, this is generally a threads sync issue !
@nikkiofthevalley
@nikkiofthevalley Ай бұрын
Not in C++. C++ doesn't have as much memory safety as a lot of other languages, so you can easily reference nonexistent data, and get random crashes depending on the random data that's in that spot in RAM. This looks more like they screwed up an index somewhere and it accesses stuff it isn't supposed to.
@K3rhos
@K3rhos Ай бұрын
​@@nikkiofthevalley I was actually talking about fully random crashes, the one due to thread sync issues happening at random timing (bcs of data read/written at the same time sometimes). The non referenced data can be easily debugged and found, because reading random data will always lead to a crash, so it's not really what I would call a "random" crash.
@nikkiofthevalley
@nikkiofthevalley Ай бұрын
@@K3rhos Reading random data doesn't necessarily lead to an outright crash. It could load nonsense data out of view, but as soon as it tries modifying it (which would be random because of the feature system being random) it may or may not crash because it could be allocated but not used memory.
@angrygamez7750
@angrygamez7750 Ай бұрын
I love watching this series. Getting to see first hand what developers face while creating what seems a simple game is quite entertaining and inspiring. Keep up the hard work! 😁
@wsalevan
@wsalevan Ай бұрын
Thanks!
@thefunson8087
@thefunson8087 28 күн бұрын
@@wsalevan bible?
@wsalevan
@wsalevan 28 күн бұрын
@thefunson8087 What?
@angrygamez7750
@angrygamez7750 28 күн бұрын
@@wsalevan you know. The bible
@thefunson8087
@thefunson8087 26 күн бұрын
@@wsalevan do you like the bible?
@mxlo4539
@mxlo4539 Ай бұрын
Now imagine a opensource c++ fully compatible minecraft client. Supporting the whole minecraft protocol, would be awesome.
@wsalevan
@wsalevan Ай бұрын
That sounds like a recipe for a lawsuit lol
@mxlo4539
@mxlo4539 Ай бұрын
@@wsalevan Yes, I’ve thought that too lol 😂. There’s no crime in dreaming yet 😭 Who knows one day, without the mobile first way of bedrock being
@vidal9747
@vidal9747 26 күн бұрын
​@@wsalevan If it just accesses the API, Oracle vs Google shows that this is perfectly legal!
@okolenmi7511
@okolenmi7511 25 күн бұрын
@@wsalevancreate a product that can be easily modified, create mods for it from different anonymous accounts to make it look like minecraft after installing all mods.
@SuperchargedW12
@SuperchargedW12 27 күн бұрын
This might be my favourite type of devlog. I much prefer when the technical side is explored than when jokes are thrown in every second. Would love to see you work on the visuals in the future (AO, shadows, coloured lighting, direct lighting, global illumination, or anything really)
@fioletov.y
@fioletov.y Ай бұрын
"That's all I have for this episode" I swear this ginormous work
@iamunamed5800
@iamunamed5800 14 күн бұрын
"why did that fix it" is a mood
@real_minty_fresh
@real_minty_fresh Ай бұрын
I love these videos and the progression so far! Please dont give up, a finished version would be sick! Can't wait for other dimensions
@fnFoondu
@fnFoondu Ай бұрын
Execellent series. You are a great developer and great editor. Keep going bro (btw i aint a bot).
@MohsenFarajYT
@MohsenFarajYT Ай бұрын
Bro I'm so hooked up to this series that i can't resist not subscribing. Well done! Btw i like your new logo
@ChaosAttorney
@ChaosAttorney Ай бұрын
loving the VODs on YT, and this project so far is looking extremely promising
@wsalevan
@wsalevan Ай бұрын
Thanks!
@ChaosAttorney
@ChaosAttorney Ай бұрын
@@wsalevan you're welcome! keep up the work, it's fun to watch how far you've come on C++
@pollo_frito22
@pollo_frito22 Ай бұрын
I was watching all your Minecraft videos today and suddenly you gift us with another one, thank you
@minerminer2753
@minerminer2753 Ай бұрын
The underwater effect... ITS PERFECT!
@squarex8659
@squarex8659 Ай бұрын
Did I like it?! Dude, I look forward to new videos and news from you!
@b4con321
@b4con321 24 күн бұрын
i dont understand a singular bit about the code but i just like seeing the bug he has to fix and allat, its just fun to watch lol
@juancamacho2205
@juancamacho2205 26 күн бұрын
I wish I knew how to code because I've always wanted to do this, it's fun seeing you go through it. I think a nice spin to the minecraft clone idea would be to make the world spherical and not infinite
@SGM1066Official
@SGM1066Official Ай бұрын
first person who's not evan
@nicole8275
@nicole8275 Ай бұрын
Do you mean even
@GoogleDothBetray
@GoogleDothBetray Ай бұрын
​No, I think they meant evan @@nicole8275
@EvroTheDevro
@EvroTheDevro Ай бұрын
@@nicole8275 No, the KZbinr is named Evan
@nicole8275
@nicole8275 Ай бұрын
@@EvroTheDevro thanks
@SoftPankekULTRA
@SoftPankekULTRA 27 күн бұрын
how os this before the video upload tho
@peixeman
@peixeman 22 күн бұрын
I’m in an entry-level C++ programming course in college, and this video made my nerd brain’s day. Thank you sir
@aquss33
@aquss33 Ай бұрын
gotta love a good sine function
@dr33dzmusic
@dr33dzmusic 25 күн бұрын
I didnt understand anything, but its fun to watch
@MarkreplierR-zv5nj
@MarkreplierR-zv5nj 26 күн бұрын
normal programmers: make a 5 minute video explaning an entire development on their game. wsan evan: explains for 14 minutes how he added water to his mc clone. wsan evan has the best videos on utub.
@aidandonnelly6976
@aidandonnelly6976 Ай бұрын
How about working on world weather? Higher up you go, colder it gets. And time of day would be neat. Loving the series so far!
@atheneite
@atheneite Ай бұрын
around half a year ago I went through the same journey and seeing you essentially take the same steps is kinda nostalgic already lmao
@grimgarde
@grimgarde Ай бұрын
NIce stuff. Excited to see what comes next
@wsalevan
@wsalevan Ай бұрын
Thanks!
@arashi7693
@arashi7693 Ай бұрын
I'm starting to get pretty invested in this series 😂
@PokeNebula
@PokeNebula Ай бұрын
Bro whatever the hell you’re doing, you’re doing good work. Make sure to pace yourself, too many creators get burned out making quality creations as fast as this.
@wsalevan
@wsalevan Ай бұрын
Thanks! So far, this seems to be a pretty good pace for me
@shadow_blader192
@shadow_blader192 Ай бұрын
You can disable face culling, so it will draw back faces and you wont need double amount of vertices for water. (Dont forget enabling it after) Also cool video
@redotix9952
@redotix9952 Ай бұрын
doesnt disabling backface culling basically just tell the gpu to render the vertices a second time but with flipped normals? The end result is the same no? Both process double the vertecies
@shadow_blader192
@shadow_blader192 Ай бұрын
@@redotix9952 no, it disables check if face is facing camera.
@celdaemon
@celdaemon Ай бұрын
​@@redotix9952Not quite, itll skip the backface culling check itself, and all the data stays the same. Technically it could be implemented by the driver the way you said it, but its unlikely as that would be unnecessary inefficient
@redotix9952
@redotix9952 Ай бұрын
@@celdaemon Oh interesting, I wasnt aware, I thought backface culling was a natural side effect of rendering and turning it off requires more processing, not the other way around.
@wsalevan
@wsalevan Ай бұрын
The reason I didn't do that is because only the top water faces need face culling disabled, so doing that would mean I would need 2 VAOs and 2 render calls, and I figured that a few extra faces would be better. Maybe I'm wrong, though. I would have to test it
@ghost-animation-YT_gg
@ghost-animation-YT_gg Ай бұрын
I love your Minecraft
@proyer2508
@proyer2508 Ай бұрын
Bro you are the best u literally making a new better bedrock edition, all of these in your first entry to c++ , if i had money i was going to donate 40 dollars ❤❤❤❤
@bibekdas7449
@bibekdas7449 28 күн бұрын
0:24 This is exactly what rice fields look from high ground. I am not kidding. You created a rice field in minecraft... A NEW BIOME?
@WhatsDown
@WhatsDown Ай бұрын
It's so fun to watch you make this project, I'm so glad I found out about this! Do you have plans to add any sort of survival mechanics, and if so, when? Very excited to see where this goes!
@MeLikeApplez
@MeLikeApplez Ай бұрын
Dude this is really coming together. This is so cool bro keep it up bro
@csiguszfoxoup
@csiguszfoxoup Ай бұрын
interesting and fun, love this video
@wsalevan
@wsalevan Ай бұрын
Thanks!
@rigbyb
@rigbyb Ай бұрын
It's sort of a habit to watch Minecraft being continually recreated, but it's still interesting every time
@EndoTheBear
@EndoTheBear Күн бұрын
looking at the water shader, i wonder if its possible to make a shader behave like the water shader in terraria, where it interacts with objects and entities. I think you do that by using a movement buffer but I might be wrong. Anyways, I found this video series recently and I think the way you narrate and show stuff is really cool and comprehensible, at least for me(I have some coding knowledge but I'm not that familiar with the apis you are using). I will watch the other videos and start to follow this project, its very interesting. Keep up the good work :D
@Dude2dsofficial
@Dude2dsofficial Ай бұрын
Just got recommended this after watching Phillips dev log on HIS Minecraft clone, lol
@beanmchocolate3900
@beanmchocolate3900 22 күн бұрын
I’ve got an idea to make the water look more unique. Remove the texture, have it render as a solid color. The low parts of the waves render darker, and the high parts of the waves render the brightest, giving a fake reflective look. Also, try making the waves more noisy for even cooler looking results.
@beanmchocolate3900
@beanmchocolate3900 22 күн бұрын
Alternatively, add a specular shader to the water.
@omri.h
@omri.h Ай бұрын
i read the title as "I added C++ to my Water Minecraft Clone" at first and I was SO confused crazy vid
@Thurzin_hz
@Thurzin_hz Ай бұрын
This channel so fun ngl It reminds me of the funny videos I used to watch.
@cod.yiscool_
@cod.yiscool_ Ай бұрын
You should try to add a player movement system so you can actually walk and run around instead of just flying. It would be cool if you could start/stop flying by double-tapping space
@Treqz
@Treqz Ай бұрын
Super underrated channel - really entertaining video! Keep it up! 💪🙌
@EliasWolfy
@EliasWolfy Ай бұрын
When you feel satisfied with the engine, please try to create more games on it. 😭🙏
@Secretalim
@Secretalim Ай бұрын
You can add soft lighting and make the grass texture more like the newer versions of Minecraft. 👍
@Mariollllo
@Mariollllo Ай бұрын
great job and good luck
@wsalevan
@wsalevan Ай бұрын
Thanks!
@Mkminokushi
@Mkminokushi Ай бұрын
Love the videos!! Keep up the work bro🔥 One question tho, can you stream on YT pls?
@paperdeck
@paperdeck Ай бұрын
I can' believe someone added C++ to their Water Minecraft Clone
@ElectricoGamez
@ElectricoGamez 28 күн бұрын
If infinite generation is ever added to this pet project, I really hope we'll get to teleport to the farlands.
@Traczu1
@Traczu1 Ай бұрын
8:54 movies when desert
@alexandresilkin5494
@alexandresilkin5494 5 күн бұрын
fr ur a programming monster :0
@fexio1
@fexio1 20 күн бұрын
11:45 good idea for extra settings
@noairdnb
@noairdnb Ай бұрын
Wow, really impressed by your videos. I'd love to see some ambient occlusion in the future :D
@thesadchicken5256
@thesadchicken5256 Ай бұрын
I feel like finally being able to walk around would be cool, it's a bit of a jump though (no pun intended)
@irolup
@irolup Ай бұрын
You should add PBR materials (Sending arrays) of materials to the frag shader like adding every texture needed (diffuse, normal, ao...) for the regular block if not implemented yet
@BrentLoaf
@BrentLoaf Ай бұрын
i cant wait for him to realase this game it looks so good
@mrbadwithnames4708
@mrbadwithnames4708 Ай бұрын
nice water, gotta love a sine-wiggle
@The_Hambone_88
@The_Hambone_88 Ай бұрын
This is great!
@alberve
@alberve Ай бұрын
If you keep developing this it might actually turn out better and faster than the original minecraft (I think)
@asdru
@asdru Ай бұрын
This is the kind of video you watch while eating 💯👍
@dennisfechner7
@dennisfechner7 Ай бұрын
Amazing Video as always :D
@kuil
@kuil 13 күн бұрын
It would make perfect sense for sea level to be Y=0. Then underground would usually be negative and above ground would be positive.
@demetriojunior164
@demetriojunior164 Ай бұрын
I'm mesmerized.
@Thermotyp
@Thermotyp Ай бұрын
Bro created the stripe lands! 9:48
@gccrazy17
@gccrazy17 Ай бұрын
You should try adding mountains to the world with changing weather!
@iosefka7774
@iosefka7774 Ай бұрын
The random way in which water faces failed to appear seemed very much like memory corruption; junk data was being used somewhere.
@meem2Greene-ju3cs
@meem2Greene-ju3cs Ай бұрын
Kudos to making it in C plea plea. I could never.
@Randi_MyMan
@Randi_MyMan Ай бұрын
idea: adjust some terrain generations numbers and make height limit 128 to make minecraft alpha terrain
@emir.unreal
@emir.unreal Ай бұрын
yo before adding more stuff i think adding sky to your game would be so cool including some clouds too
@waterisblued7764
@waterisblued7764 Ай бұрын
Maybe add Day and night Cycle next, keep up great work!
@bibekdas7449
@bibekdas7449 28 күн бұрын
Ready to see what your creative shenanigans take you to. I wish you make a Minecraft Bedrock edition someday free from the saucy microsoft touch.
@RealUnHoly
@RealUnHoly Күн бұрын
bro made microsoft paint, in minecraft, in C++ Legend
@Drifys1
@Drifys1 Ай бұрын
microsoft already made minecraft in C++
@renren_does_programming
@renren_does_programming Ай бұрын
Yep, people dont know bedrock edition is written in C++, no wonder why his is just as buggy...
@Drifys1
@Drifys1 Ай бұрын
@@renren_does_programming go find out what the unedited one said
@d3stinyroblox
@d3stinyroblox Ай бұрын
This one is a minecraft clone
@Drifys1
@Drifys1 Ай бұрын
@@d3stinyroblox same with bedrock
@d3stinyroblox
@d3stinyroblox Ай бұрын
@@Drifys1 but the same company developed it
@Robert-cn8bh
@Robert-cn8bh 19 күн бұрын
Very cool
@adamasteway4828
@adamasteway4828 Ай бұрын
Awesome now make the water flow
@ThrowawayAccountToComment
@ThrowawayAccountToComment Ай бұрын
Maybe you could add more blocks like sand and gravel for under the water? (It also makes you think about the pain of adding biomes)
@thearizonaranger7376
@thearizonaranger7376 Ай бұрын
"I got this wrong, I have no idea how it worked" Story of my life coding lmao
@AndrieMC
@AndrieMC 29 күн бұрын
next video you should add se- I mean Physics (Collisions and Gravity)
@NOTREALCREEK
@NOTREALCREEK Ай бұрын
This is already 1000 times better than bedrock edition
@LabFox132
@LabFox132 Ай бұрын
add jumping & placing & mining & block collision!
@px9720
@px9720 Ай бұрын
very cool
@onedeadperson5583
@onedeadperson5583 Ай бұрын
You should make blocks check if they are under water and if they are look like either sand or gravel.
@eliteengineer7340
@eliteengineer7340 Ай бұрын
The lighting is so cursed lmao
@MINECRAFTGAMERS233
@MINECRAFTGAMERS233 Ай бұрын
cool project !
@brokendoop
@brokendoop 29 күн бұрын
Coding really is a whole lot of "why did it do this" or "why is this fixed now?" But as long as it works!
@wsalevan
@wsalevan 28 күн бұрын
Yeah pretty much lol
@Banjimate
@Banjimate Ай бұрын
Its funny that his game isnt playable yet he decided to give the water a shader
@uwuuu1591
@uwuuu1591 Ай бұрын
I Luke this bro continue please
@deilos
@deilos Ай бұрын
love ur videos! cant wait when will be new video :D
@arsbd_
@arsbd_ Ай бұрын
I support you bro.
@AnnasVirtual
@AnnasVirtual Ай бұрын
3:14 that's my opengl experience right there
@etheraelespeon1986
@etheraelespeon1986 Ай бұрын
The random crashes with the refactored chunk rendering mighttt be an issue with chunk meshes getting copy-constructed and freeing their GPU memory prematurely. I've made that mistake a lot, and I'd recommend always putting logs into custom destructors when you're first testing them.
@herrmagicnils3716
@herrmagicnils3716 Ай бұрын
I think day and night cycle would be a cool feature
@oxayafan29
@oxayafan29 3 күн бұрын
at 12:39 if you made it faster you could use it as nausea if you ever get that far
@Shinous.
@Shinous. Ай бұрын
Cool
@krinjii
@krinjii Ай бұрын
Evan you ddi a good job!!!
@EsaynF04
@EsaynF04 26 күн бұрын
Alguien: Omg eres software engendering! Y qué haces con tu profesión? Yo: pues…
@MrSkullis
@MrSkullis Ай бұрын
add a fov fog and now that you have different billboard blocks, try adding in as many types of blocks as you can even try experimenting w/ glass
@Ameliahorn6582
@Ameliahorn6582 Ай бұрын
Survival mode would be amazing
@wsalevan
@wsalevan Ай бұрын
I'm working on it... slowly but surely
I added Building to my C++ Minecraft Clone
12:58
WSAL Evan
Рет қаралды 29 М.
Skip one block gaps in Minecraft.
9:16
Heppe
Рет қаралды 557 М.
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,8 МЛН
Making Minecraft from scratch in 48 hours (NO GAME ENGINE)
16:38
How Optimizations made Mario 64 SLOWER
20:41
Kaze Emanuar
Рет қаралды 584 М.
Is AI Minecraft Better?
8:50
Goller
Рет қаралды 3,5 М.
The Limits of Minecraft World Generation
8:50
Rovant
Рет қаралды 232 М.
I Optimised My Game Engine Up To 12000 FPS
11:58
Vercidium
Рет қаралды 718 М.
I Tried Adding Lighting to My C++ Minecraft Clone...
11:42
WSAL Evan
Рет қаралды 56 М.
Computer Architecture Explained With MINECRAFT
6:47
Codeolences
Рет қаралды 1,1 МЛН
Every Softlock in Portal
43:08
Marblr
Рет қаралды 566 М.
I Added Infinite Crafting to Minecraft (with AI)
13:08
Blucubed
Рет қаралды 1,9 МЛН
In-Depth Testing: Best Method for Mining Diamonds in Minecraft 1.21
23:34
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,8 МЛН