I Remade Minecraft But It is Optimized!

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 เม.ย. 2024
  • In this video, I will talk about the optimizations that I did for my C++ Minecraft Clone!
    #cpp #gamedev #minecraft #opengl
    Join my Discord:
    / discord
    Try my Steam Game Midnight Arrow:
    store.steampowered.com/app/23...
    Join this channel if you want to support me 😻:
    / @lowlevelgamedev9330
    Repo:
    github.com/meemknight/ourCraft
    Minecraft Clone Playlist 🟩:
    • Minecraft clone
    Full Game Guide in C++ 😎🕹️!
    • Make a C++ game FULL G...
    Music: Evan King - Everything is Okay
    / contextsensitive
    contextsensitive.bandcamp.com/
    Minecraft soundtrack: C418 - Aria Math
    Minecraft soundtrack: C418 - Subwoofer Lullaby
    Minecraft soundtrack: C418 - Minecraft
  • บันเทิง

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

  • @linksword7110
    @linksword7110 หลายเดือนก่อน +301

    you should greedy mesh air, or you cant?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  หลายเดือนก่อน +78

      😂😂😂😂 ye good idea, next April fools video

    • @Zevest
      @Zevest หลายเดือนก่อน +11

      It’s been a while since last time I heard this

    • @lod4246
      @lod4246 27 วันที่ผ่านมา +7

      (or you cant do that)

    • @TripZGaming_YT
      @TripZGaming_YT 26 วันที่ผ่านมา +3

      is this an optimized mod for minecraft? If not can you make one that absolutely obliterates sodium? Is it even possible?

    • @_BuZzer199
      @_BuZzer199 26 วันที่ผ่านมา +1

      @@lowlevelgamedev9330 add the create mod to this clone + Steam N' Rails, Create Enchantment Industry and also Create: Copycats Plus to your MC copy to make it a slightly original game

  • @SavageDaAverage
    @SavageDaAverage หลายเดือนก่อน +184

    Bro made Bedrock 2.0. Mad respect!

    • @razorgmyt6772
      @razorgmyt6772 22 วันที่ผ่านมา

      normal Bedrock is c#, right?

    • @The_Cow
      @The_Cow 21 วันที่ผ่านมา +8

      ​@@razorgmyt6772c++ I think

    • @SavageDaAverage
      @SavageDaAverage 21 วันที่ผ่านมา +1

      @@razorgmyt6772 its c plus plus lol but i think it was used to be called that idk

    • @JoopiterGD
      @JoopiterGD 19 วันที่ผ่านมา +3

      @@razorgmyt6772 Legacy console is C#, but bedrock is C++

    • @gamethecupdog
      @gamethecupdog 16 วันที่ผ่านมา

      ​@@JoopiterGDWhere did you hear this? I only see C++ showing up, but I'm seeing no sources.

  • @bartekburmistrz8679
    @bartekburmistrz8679 หลายเดือนก่อน +104

    You could hugely increase performance by using meshlets instead of the standard rendering pipeline, Other things you could do is 1. Greedy meshing 2. In the standard pipeline gpus always check a 2x2 grid during rasterization so If you have lots of small triangles (less then 2x2 pixels it will hit performance quite hard, mentioned in UE nanite talk/website), 3. Don't really understand if you talked about this or something else but you can only ever see 3 faces of a block so you don't even have to bother with checking the rest 4. mipmaping will make the game look better 5 Some kind of occlusion. You may also be limited by something stupid like texture streaming recommend you use renderdoc quite easy to use yet absolutely amnazing it helped me so many times I can't even count. Greate video, really enjoyable to watch

  • @MortonMcCastle
    @MortonMcCastle 28 วันที่ผ่านมา +9

    This is awesome! I've been thinking about hyper-optimized Minecraft clones lately. I wish I was skilled enough to make one. I have ideas, but ideas alone aren't worth much.
    Just finished watching the video. Thanks for making it!

  • @distantrepublic
    @distantrepublic หลายเดือนก่อน +48

    Very nice video, thank you for making it.
    A few things:
    Did you consider adding ambient occlusion at all? Seems like a minor performance hit that makes the lighting look very good.
    Did you see Vercidiums video on using 6 different meshes for each face for a chunk, so you can do face culling on the CPU side and might mean you can save memory bandwidth on face data.

  • @toksic424
    @toksic424 หลายเดือนก่อน +16

    Seriously though, this is sick! I genuinely hope your channel grows because this is a top tier resource.

  • @DRAGNIL68
    @DRAGNIL68 หลายเดือนก่อน +59

    i love watching your vids at 1 am

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  หลายเดือนก่อน +15

      Best videos to watch 💪, but after that go to sleep 🔫

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

      But after that I will go and my my homework

    • @SPL1NTER_SE
      @SPL1NTER_SE 29 วันที่ผ่านมา +5

      I love watching your videos at 5 am… before I go to bed 🗿

    • @Settiis
      @Settiis 29 วันที่ผ่านมา

      3:20 am for me

    • @yahia098
      @yahia098 18 วันที่ผ่านมา

      No I will watch more i don't need sleep i need more vids​@lowlevelgamedev9330

  • @know_how1063
    @know_how1063 26 วันที่ผ่านมา +6

    yo, i had this idea a while ago, i glad someone actually did it because im way to lazy

  • @kidnamedfinger.productions
    @kidnamedfinger.productions 29 วันที่ผ่านมา +18

    If it gets modding api it might become a really cool game.

    • @yeppiidev
      @yeppiidev 13 วันที่ผ่านมา

      reminds me of minetest

  • @alvesvaren
    @alvesvaren หลายเดือนก่อน +8

    Would be cool if it talked the minecraft protocol, so you could join vanilla servers

    • @elenisyrou5928
      @elenisyrou5928 13 วันที่ผ่านมา +1

      Thats what im saying

  • @leflo_
    @leflo_ หลายเดือนก่อน +12

    Have you seen Vercidium video on optimizations ? There are some steps that I find quite interesting

  • @sti3167
    @sti3167 29 วันที่ผ่านมา +2

    To learn something new you could also try ray tracing voxels in compute shader instead, it has way bigger potential and overall way more natural for voxels, once you implement caching of traversal and low-res pass to exploit ray&frame coherence(can do it at CPU too) it's basically instant.. gotta use mip-maps for grid though. Also lower overheads for textures, not necessary to use uv unwrapping.
    P.S sure triangle rasterization still fine for voxels but it's boring and has overheads/annoying

  • @kairu_b
    @kairu_b หลายเดือนก่อน +1

    Great work!

  • @davidconnor2817
    @davidconnor2817 23 วันที่ผ่านมา +1

    Good job, can't wait for more.

  • @lupuskt
    @lupuskt 26 วันที่ผ่านมา +1

    Seeing chunk buffer data stored in list + map combo made my eye twitch. Unless i misunderstood something in that code snippet, you gonna choke your memory on linear reads of lists and additions to map - making whole idea of huge buffer obsolete, I know that its very convenient and clean, but good ol' malloc/realloc would perform much better on simple data. Dont wanna nitpick, this might be just a macro optimization in the end, chunk view culling + sorting is deffinetly much more costly part of code anyway. Good luck with optimizations and bug hunting :D

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  26 วันที่ผ่านมา

      I know that it looks terrible but it is a reason for that. Chunks will be allocated sepparately in the first place, no way around it they are too big so one pointer per chunk, so it is a map to acces it fast. But the list is there because I need to know the order in which I used them, because I want to always throw away the least used chunk. so this is actually a least recently used cache. and again no wat to use one big, buffer that thing has like one gb of memory (measured) ther's no way I can use than when I need load and unload chunks many many times per frame

  • @panagiotisapostolidis6424
    @panagiotisapostolidis6424 หลายเดือนก่อน +3

    you should look into working on Cosmic Reach, another very promising minecraft-like game, that already has a small community around it.

  • @Houstonruss
    @Houstonruss หลายเดือนก่อน +9

    I mean you remade it and *tried* to optimize it.
    Why the heck did you not START with frustrum culling?
    You can't have AO or smooth lighting the way you started.
    Any plans to have occlusion culling?
    Shadow culling?
    Colored lighting?
    The chunk visualizer is pretty nice.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  27 วันที่ผ่านมา +3

      well because that was a thing I will do anyway so I wanted to make the other parts as good as possible, for ao I will probably use ssdo or something and I'll see what other things I'll add

  • @gandev5285
    @gandev5285 หลายเดือนก่อน +6

    Use mesh shaders like the minecraft nvidium mod does to make the game only compatible with like 20% of the GPUs out there but run really good lol.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  หลายเดือนก่อน +4

      ye that's one reason I don't want to use mesh shaders :((

    • @ettiSurreal
      @ettiSurreal 29 วันที่ผ่านมา

      ​@@lowlevelgamedev9330 youd be able to support mesh shaders on all gpus from the past 6 years if you written this on dx12 or vulkan, but i dont blame you because these apis are much lower level and more difficult to implement

    • @nnnik3595
      @nnnik3595 25 วันที่ผ่านมา

      @@lowlevelgamedev9330 Unless you start over and switch to Vulkan.

  • @NightWalkerx
    @NightWalkerx 28 วันที่ผ่านมา

    Top tier content 🤝🏻

  • @RawFish2DChannel
    @RawFish2DChannel 28 วันที่ผ่านมา

    About Z-Pre Pass optimisation, I read somewhere that you can get more performance with it, if you for example send less vertices to render it.
    For example if you rendering normally, you still need to send vertices multiple times, even if they are adjacent, because if you don't texture coodrinates will be messed up, but if you send same vertex for adjacent blocks, or even better, make a simple greedy mesh geometry (one quad for many block faces) I think it can definitelly increace performance.
    But I haven't tested that yet (I'm also playing with making optimized Minecraft-like renderer)

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  28 วันที่ผ่านมา

      yo that sounds like it might really help, the problem appaeently is that z pre pass doesnt work with discards in the frafment becahse the gpu cant optimize early depth anymore so I have to look at that

  • @IvanPopelyshev
    @IvanPopelyshev 28 วันที่ผ่านมา +4

    Unified geometry, still 30 FPS? Its strange, how do you upload that gpuBuffer partially?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  28 วันที่ผ่านมา +1

      well I think it is just the fact that there os too much geometry, after the frustum culling I get to very good fps

  • @cyanmargh
    @cyanmargh หลายเดือนก่อน +35

    The real reason why minecraft is slow is not the graphics. I can't say for sure, but imo the biggest problems are: pathfinding for a large number of mobs, simulation of all processes (except particles, probably) on the CPU side and the fact that the game does not use any of parallelism with many layers case (and i'm not sure is it even possible)

    • @riley1636
      @riley1636 หลายเดือนก่อน +25

      Well graphics are actually a big part of it... Thats why sodium mod works. It updates a lot of the rendering engine with modern OpenGL. Same with nvidium, which uses modern graphics techniques like using meshes. Minecraft's rendering engine is outdated and slow.
      Dont get me wrong, theres a lot more too but most people will see a huge improvement with a better rendering engine alone. This is already proved by performance mods. When everything is already loaded into memory (i.e. no cpu intensive chunk loading) the main bottleneck is typically graphics.

    • @dieselgeezer18
      @dieselgeezer18 หลายเดือนก่อน +4

      @@riley1636 Minecraft on low end CPUs can be a pain in the ass. If you run towards unexplored chunks the game starts stuttering, and if you use an elytra or fly in creative mode it becomes a crazy stuttery mess

    • @cyanmargh
      @cyanmargh หลายเดือนก่อน +3

      @@riley1636 I understand what you're saying. and yes, indeed, the graphical component of Minecraft really suffers, as evidenced by the devlogs of enthusiasts who recreate its graphics (although most still do not do such important things as mobs, particles, blocks with custom models such as anvils, etc. , this is still quite clear evidence). However, i think the graphics are not a bottleneck - that's what I wanted to say. It is much easier to draw 1000 chunks than to simulate same amount correctly. Especially if the game has many objects with non-trivial logic (unlike, for example, noita, where pixels work according to relatively simple laws). By the way, to confirm this, i need to do accurate performance measurements. Without this, it's just a thought experiment (and the result of observing that a couple hundred mobs can cause more lag than a giant factory from create mod)

    • @riley1636
      @riley1636 หลายเดือนก่อน +3

      @@cyanmargh I think youre right in theory, but in practice minecraft doesnt usually have that many mobs all at once for it to be a major issue. You're right though, its more of a thought experiment right now without measuring.

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

      @@riley1636 mesh shaders are not "meshes". nvidium utilizes the new mesh shaders. It replaces vertex and fragment shaders with just one mesh shader which works similar to compute shaders.

  • @Mihnnnea
    @Mihnnnea 27 วันที่ผ่านมา +1

    instant mi am dat seama ca esti roman dupa accent

  • @VM-AM-XUE69
    @VM-AM-XUE69 หลายเดือนก่อน

    wow

  • @Snikker
    @Snikker 27 วันที่ผ่านมา

    wait until he finds out that the distant horizons mod uses 3d skyboxes instead of loading the chunks

  • @ZerSKYi
    @ZerSKYi หลายเดือนก่อน +6

    What about making cubic chunks like in Cubic Chunks Mod?

    • @ZerSKYi
      @ZerSKYi หลายเดือนก่อน +3

      It works by generating the terrain of Minecraft in chunks of 16x16x16. Using this method the map's height was able to be increased by 500x while also improving performance.
      "With 16x16x16 chunks we don't load all the chunks underground that we can't see, massively reducing the memory load. The memory usage is probably the main improvement, although there could be others like creating standard 16x16x16 chunks for air - use just a few special bytes to describe an empty air chunk, massively reducing memory usage and simplifying any code interaction (rendering, physics, AI) of an empty chunk (extend to all dirt chunks, all water chunks, all rock chunks."

    • @nnnik3595
      @nnnik3595 25 วันที่ผ่านมา

      ​@@ZerSKYi There is a few "known bugs" with that mod and the sky light engine.

  • @bacon_with_brussels_sprout
    @bacon_with_brussels_sprout 27 วันที่ผ่านมา

    I haven't watched your series, But is it possible to use codes from other optimization mods on Minecraft to optimize the game?
    Edit: Im not smart so don't take my words for blah blah and just correct me, But wouldn't if each chunk instead had huge data and then each block and every block didn't have individual pos data, More block data and blockstate can be loaded (such as biome color?)
    Edit 2: Blockface culling
    Edit 3: Buffer light updates

  • @guardianoftexas5188
    @guardianoftexas5188 23 วันที่ผ่านมา

    You should release this 😂😂😂 as a pre alpha launch so we all can explore it for fun.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  23 วันที่ผ่านมา +1

      yes I want to do that but I want to finish gameplay stuff first, untill than you can easily compile it and try it yourself 💪💪

  • @Wolf-yp2qk
    @Wolf-yp2qk 28 วันที่ผ่านมา +4

    Bruh, why even say it was optimized?

  • @griffinmartin6356
    @griffinmartin6356 หลายเดือนก่อน +1

    you should make it so it can connect to normal Minecraft servers allowing it to be a custom client

    • @MrDannyloco
      @MrDannyloco 29 วันที่ผ่านมา +4

      That would be insane

  • @DccToon
    @DccToon 17 วันที่ผ่านมา

    another way to make it run on low end hardware:
    low quality lighting
    directx version [if you use opengl]
    no hd water
    this could be like a toaster version to the game

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  17 วันที่ผ่านมา

      ye I want to add something like that in the settings when the game is ready💪💪

    • @DccToon
      @DccToon 17 วันที่ผ่านมา

      @@lowlevelgamedev9330 lets gooo

  • @MrHamof
    @MrHamof 23 วันที่ผ่านมา +1

    6:40 The way to solve this performance issue is to do the depth render at a reduced resolution, you can get the rough shape of the geometry at a much lower resolution than what you need for the display, and this can significantly reduce the cost of doing this. This video explains how this is often done in game dev: th-cam.com/video/CHYxjpYep_M/w-d-xo.html

  • @Heavy_Lvy
    @Heavy_Lvy 28 วันที่ผ่านมา +3

    the thumbnail and title make it sound like youre just recreating Bedrock lmao.

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

    Out of curiosity, are you from Romania? Your acceent sounds like it, and if you are, I'm happy to tell you: "Si eu sunt!"

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

    nice video mate...

  • @TheeAcid
    @TheeAcid 29 วันที่ผ่านมา

    redstone optimisations needed when it's time. hoppers cause stupid lag

    • @bacon_with_brussels_sprout
      @bacon_with_brussels_sprout 27 วันที่ผ่านมา

      Just don't code it to be laggy in the first place

    • @nnnik3595
      @nnnik3595 25 วันที่ผ่านมา +1

      Hoppers now work much better in the latest version of Minecraft and Lithium basically makes them lag free.

  • @Broom-fz2gm
    @Broom-fz2gm 29 วันที่ผ่านมา

    Where is the folder space? I don't see it anywhere.

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

    Have you seen FinalForEach's minecraft clone?

    • @lukasjetu9776
      @lukasjetu9776 หลายเดือนก่อน +2

      just wanted to say that!!!

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  หลายเดือนก่อน +6

      yes, nice project tho I would have to rewatch his first video to see if his optimizations are better than mine, regardless he uses Java so it's different

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

      Ik i wasnt the only on here feom cosmic reach lol

  • @oglothenerd
    @oglothenerd 23 วันที่ผ่านมา +1

    Do you do greedy meshing?

  • @raulhernandez2010
    @raulhernandez2010 25 วันที่ผ่านมา

    Your english is good, but its kind of hard to understand what you’re saying. I think it had to do with the accent + slight slur (some words seem blend in with others) good video tho 😊

  • @Artleksandr
    @Artleksandr 20 วันที่ผ่านมา

    Man invented the bicycle. This is called minecraft bedrock edition.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  20 วันที่ผ่านมา

      so who will maintain minecraft bedrock edition if no one learns how to make it again?

    • @Artleksandr
      @Artleksandr 20 วันที่ผ่านมา

      @@lowlevelgamedev9330 fair enough.

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

    Imagineaza-ti in viitor dupa ce se mai dezvolta inteligenta artificiala poate va schimba modul in care minecraft se genereaza sau se proceseaza combinat cu computere mai puternice si mai eficiente

  • @cxlappsed1548
    @cxlappsed1548 19 วันที่ผ่านมา

    So i came from a java background, any tips on learning cpp its hard

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  19 วันที่ผ่านมา +1

      yess, the first tip is don't treat c++ like java. Don't allocate things on the heap often. I use containers and stuff that do allocations for me but other than that in that project I trped the word "new" less than 10 times. And you saw the scale of it so don't overuse new. Other than that I have some recent videos on tips for starting learning cpp for gamedev 💪💪

    • @cxlappsed1548
      @cxlappsed1548 19 วันที่ผ่านมา

      ​@@lowlevelgamedev9330Alright thanks, CPP has a lot of complex stuff that confuses me, like the #ifendregion type stuff,I understand variables etc

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

    Wow, I thought single VBO would improve things

  • @rodrigoetoobe2536
    @rodrigoetoobe2536 หลายเดือนก่อน +2

    wasnt minecraft built using "entt" an ECS library? it would be really hard to beat them using OOP instead of ECS

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

      I don't know why am loving your video man!!.....also I suggest you do make a beginner OpenGL series if you can XD.....

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

      hmmm I don't know, I don't use neither OOP nor ECS 😂 and it doesn't really matter, what you are talking about relates to gameplay stuff, I haven't gotten there yet

    • @kplays_6000
      @kplays_6000 หลายเดือนก่อน +1

      The Bedrock edition was, yeah. Java didn't use ECS though

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

      thx bro 💪 I might do some beginner opengl stuff

    • @TheoParis
      @TheoParis 28 วันที่ผ่านมา +1

      @@kplays_6000 Yes - minecraft bedrock edition uses entt. I was thinking of making a minecraft clone with vulkan and the flecs ECS myself.

  • @RANJITH-fi1di
    @RANJITH-fi1di 13 วันที่ผ่านมา

    Instead of rendering whole chunk to render upto -260 can u render only 10 blocks under the player y position because player can't see under the grass blocks unless digging helps increasing fps ??

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  13 วันที่ผ่านมา

      almost, unfortunatelly it's not that easy but there is an advanced cave culling algorithm that finds lut what you can see and improves the fps even more

  • @toksic424
    @toksic424 หลายเดือนก่อน +3

    Why you don't try to make a game with Vulkan (or you can't do that)

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  หลายเดือนก่อน +3

      fuck 😂😂 I don't know vulkan yet but maybe in the future, who knows, if I will do vulkan I will use this comment for the video 💪

    • @nnnik3595
      @nnnik3595 25 วันที่ผ่านมา

      @@lowlevelgamedev9330 btw Vulkan has mesh shaders on most modern GPUs.

  • @NekuroMC
    @NekuroMC 28 วันที่ผ่านมา

    Damn imagine what he could do if he was High level game dev

  • @FiFaRdoH.
    @FiFaRdoH. 29 วันที่ผ่านมา

    why do you sound like the Toppat Clan Leader from Henry Stickmin

  • @arq634
    @arq634 29 วันที่ผ่านมา

    what about lod

  • @Sorin96SecondChannel
    @Sorin96SecondChannel 27 วันที่ผ่านมา

    When a Romanian does an even better job than Mojang. :))))))) Respect frate!

  • @mikhailhumphries
    @mikhailhumphries หลายเดือนก่อน +1

    i tried to get into c++ but i have no idea where to start and theres no easy way to get in

    • @ProGaming-kb9io
      @ProGaming-kb9io หลายเดือนก่อน +3

      first do a hello world, and then study:
      variables, for/while loops, if, else, switch statements, functions that take nothing and return void, functions with parameters, functions that return values, a bit on classes/structs, enums, a bit on raw pointers and references, a bit on templates,
      then go back and study a lot about inheritance and different rules, rule of 5, 3, none, learn about different types of casting: static, dynamic, reinterpret, c style cast, learn about const, and constexpr, go back to pointers, smart pointers, go back to templates and learn SFINAE and a bit of metaprogramming.Go back on functions and learn lambdas, function pointers, RAII.
      Some people might differ with the order of things, but this order to learn c++ is ok
      From there you will know what to do next.

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

      Google "freeCodeCamp c# certificate" it's a course that was made last year and it's entirely free and made in collaboration with microsoft

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

      @@ProGaming-kb9io how do you even compile 3d model?

  • @principleshipcoleoid8095
    @principleshipcoleoid8095 29 วันที่ผ่านมา

    Wouldn't at some point you need more space for textures?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  27 วันที่ผ่านมา +1

      I have a 16 bit index for textures so I can have 2^16 textures, that's more than enough

  • @annonimusfroggo
    @annonimusfroggo หลายเดือนก่อน +2

    Java minecraft's optimisation almost makes me want to play bedrock

    • @fsForward
      @fsForward หลายเดือนก่อน +2

      Mojang was talking about rewriting the Java version with C++ (and a small percent in c#). I hope they still think thay way.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  หลายเดือนก่อน +1

      well yeah, but for that you can use thing like optifine

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  หลายเดือนก่อน +2

      hm interesting, tho that would kill all of the current mods :(

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

      ​@lowlevelgamedev9330 worth it

    • @Felipe-rn1gf
      @Felipe-rn1gf 29 วันที่ผ่านมา

      @@fsForward 🗿

  • @SavageDaAverage
    @SavageDaAverage หลายเดือนก่อน +2

    You should remake yandere sim and fix that games code too and remove the questionable features.

    • @nicknamedd_
      @nicknamedd_ 29 วันที่ผ่านมา +1

      Not really worth of effort in it's entirety.

    • @SavageDaAverage
      @SavageDaAverage 29 วันที่ผ่านมา

      @@nicknamedd_ true lol

  • @OliverJ440
    @OliverJ440 15 วันที่ผ่านมา

    challenge for you. I have. Very old laptop with only 1gb of ram and a cpu intel atom. You goal is for the game can run t least 15 fps on this. Note that is has. Very old graphics card the i dont remenber the model

  • @Neuer_Alias_erstellen
    @Neuer_Alias_erstellen 18 วันที่ผ่านมา

    do you use LODs?

  • @squidwardmasterstudios1992
    @squidwardmasterstudios1992 29 วันที่ผ่านมา

    Mojang: See you in court buddy

    • @MichaelPohoreski
      @MichaelPohoreski 28 วันที่ผ่านมา +2

      *Zach Barth:* _Notch on his blog admitted Minecraft ripped off Infiniminer. “The act of borrowing ideas is integral to the creative process. There are games that came before Infiniminer, and there are games that will come after Minecraft. That’s how it works.”_

    • @roywempor8395
      @roywempor8395 8 วันที่ผ่านมา

      unless he sells it, its not a crime

    • @MichaelPohoreski
      @MichaelPohoreski 8 วันที่ผ่านมา

      @@roywempor8395 That's incorrect. One CAN sell a Minecraft clone as long as you don't use ANY assets you don't have the legal right to. In the 1980's there where court cases that ruled *gameplay is not copyrightable.*

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

    Yo we have the same GPU

  • @timosan9622
    @timosan9622 27 วันที่ผ่านมา

    You should work in Mojang

  • @principleshipcoleoid8095
    @principleshipcoleoid8095 29 วันที่ผ่านมา

    I wonder.. aren't linked lists pretty much always worse than dynamically allocated vectors?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  27 วันที่ผ่านมา

      yes, but there are some times when they are usefull, that is one example because the most common operation is renoving and adding elements, and I also have that map to instantly acces each element

    • @principleshipcoleoid8095
      @principleshipcoleoid8095 27 วันที่ผ่านมา

      @@lowlevelgamedev9330 it sounds like trading off some storage for speed. Always have to benchmark but I guess you did and found the tradeoff to be good

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

    Are u gonna add command?

  • @DOTADER
    @DOTADER 16 วันที่ผ่านมา

    Would this game run on linux?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  15 วันที่ผ่านมา +1

      yes tho I'm not doing linux dev, you can help me compile it on linux if you want but all of the things that I use are cross platform 💪💪

  • @HumanGamer
    @HumanGamer หลายเดือนก่อน +3

    Try using Vulkan instead of OpenGL. You can get up to 3x performance improvements.

    • @pootis1699
      @pootis1699 29 วันที่ผ่านมา +2

      Isnt vulkan notorius for being annoying to use?

    • @sti3167
      @sti3167 29 วันที่ผ่านมา +2

      @@pootis1699 Not exactly.. vulkan is as low level as it has to be - you shouldn't be using it if you don't know why you need it, and its also better than dx12 in that aspect, vulkan is more consistent and has more resources available online.. though both of them has it's own pros and cons, unique features. You can optimize a lot of things in vulkan, but it's better to start with opengl or dx11, so that you would have some idea of how things are working.. overall it allows a lot of optimizations to be possible, because now that's you who creates "pipeline" and everything, not the driver or API

  • @BalintCsala
    @BalintCsala 26 วันที่ผ่านมา +1

    1:51 Each F is only 4 bits tho

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  26 วันที่ผ่านมา

      you're right and I just realized it 😭 idk how I messed that up, but at least people will get the idea

  • @Kwame.283
    @Kwame.283 10 วันที่ผ่านมา

    making minecraft in c++ is legit bedrock edition

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

    Whose here from cosmic reach

  • @sebbog
    @sebbog 17 วันที่ผ่านมา

    Cosmic Reach

  • @BALDO3
    @BALDO3 26 วันที่ผ่านมา

    How do I build the game?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  26 วันที่ผ่านมา

      well it seems to have a build problem rn but I'll try to fix it today and also put building instructions in the readme 💪

    • @BALDO3
      @BALDO3 26 วันที่ผ่านมา

      @@lowlevelgamedev9330 Thanks bro, keep up the good work! 🙏

  • @Caro122-
    @Caro122- 27 วันที่ผ่านมา +1

    how can i download this game

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  27 วันที่ผ่านมา +1

      I don't have a release yet but you can compile it from my github, right click inside the folder and than click open with visual studio, make sure you compile in the release mode

  • @samuel-zagueiro-raiz-de-rua
    @samuel-zagueiro-raiz-de-rua หลายเดือนก่อน +1

    AAAA

  • @flamingkillermc2806
    @flamingkillermc2806 29 วันที่ผ่านมา +1

    Yo are you Bulgarian?

    • @Kitulous
      @Kitulous 9 วันที่ผ่านมา

      sounds more hungarian to me

    • @Kitulous
      @Kitulous 9 วันที่ผ่านมา

      nah he's romanian/moldovan judging by other comments

  • @Mordecry
    @Mordecry 27 วันที่ผ่านมา

    mama accentu de roman e prea mare :)))

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

    cubic chunks

  • @Broom-fz2gm
    @Broom-fz2gm หลายเดือนก่อน

    I want to play the game, can you make it available for download?

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

      you can easily compile it: clone the repo, right click inside the folder space, open with visual studio, select from the dropdowm of the play button, ourcraft, add a 64 bit release and ctrl+f5
      if you have any problems ping me on my discord server 💪

    • @Broom-fz2gm
      @Broom-fz2gm หลายเดือนก่อน

      @@lowlevelgamedev9330 i cant use discord, im too young for it.

    • @Broom-fz2gm
      @Broom-fz2gm หลายเดือนก่อน

      @@lowlevelgamedev9330 where is the folder space?

  • @RaulK
    @RaulK 8 วันที่ผ่านมา

    You sound romanian!

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 วันที่ผ่านมา +1

      poate

    • @RaulK
      @RaulK 8 วันที่ผ่านมา

      Numai romani talentati avem, keep up the good work!

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

    Minecraft Legacy Console:

  • @Dehhoy
    @Dehhoy 12 วันที่ผ่านมา

    minecraft bedrock is already fast and made with C++

  • @AssociationFriends
    @AssociationFriends วันที่ผ่านมา

    C++ Minecraft or yet another minetest

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  วันที่ผ่านมา

      hm it's not made in minetest it that's what you are asking, but I'm trying to get to their level and to be honest they got kinda far

    • @AssociationFriends
      @AssociationFriends 19 ชั่วโมงที่ผ่านมา

      @@lowlevelgamedev9330 (sorry for my english)just joking, sometimes i think this is too much C++ Minecraft in TH-cam

  • @mylittleheartscar
    @mylittleheartscar 29 วันที่ผ่านมา

    Mojang where u at?

  • @Wariowa345
    @Wariowa345 หลายเดือนก่อน +2

    you should copy minecraft protocol so this works with minecraft servers

  • @BabanDlh
    @BabanDlh 27 วันที่ผ่านมา

    Omg Minecraft Bedrock

  • @satyamrajrawat5947
    @satyamrajrawat5947 29 วันที่ผ่านมา +1

    When developer don't have money to buy Minecraft they make their own💪

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

    bro still using intel...

  • @Turjo-music
    @Turjo-music 29 วันที่ผ่านมา

    @mojan

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

    LODs?

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

      yeah lod for a cube,bravo

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

      well good point but apparently nvidium can do it without lod so no, also they are not that easy to do :(( but who knows maybe in the future I will do them

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

      @@yarik_superpro look up distant horizons

    • @ettiSurreal
      @ettiSurreal 29 วันที่ผ่านมา

      ​@@yarik_superpro you can always make a bigger cube. thats what the distant horizons mod does and it allows you to see thousands of blocks away

    • @Broken_Mesh
      @Broken_Mesh 27 วันที่ผ่านมา +1

      ​@@ettiSurrealAs stated it is not necessary or ever detrimental as new geometry must be computed. I believe you're missing the reason for why lods increase performance. It has not as much to do with decreasing the triangle count as it has with decreasing the number of sub pixel triangles (Which cause a dramatic performance loss). Nvidium already deals with that problem.

  • @regele4063
    @regele4063 15 วันที่ผ่านมา

    miros accentu de roman

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  15 วันที่ผ่านมา

      nu stiu la ce te referi, eu nu miros nimic aici 🤔

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

    so from 20 to 30 fps? bruh

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  หลายเดือนก่อน +1

      ye, fortunatelly after adding frustum culling I got to 60 fps 💪

  • @klocity
    @klocity 29 วันที่ผ่านมา

    Mojang taking notes rn
    Nah just kidding we all know they are too lazy for that

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

    why am i watching this

  • @EatSleepCodeRepeat_
    @EatSleepCodeRepeat_ 27 วันที่ผ่านมา

    imagine if this was made with python💀

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

    .

  • @uadev
    @uadev 18 วันที่ผ่านมา

    Still slower than Minecraft with all its complexity with performance mods, especially w/o shaders

    • @uadev
      @uadev 18 วันที่ผ่านมา

      At least in comparison to my r5 5600g w/o videocard. You haven't shown any tests side by side with MC

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  18 วันที่ผ่านมา

      after the frustum culling it's faster than optifine with similar shaders. However it's not faster than something like nvidium. I would have to implement the more advanced culling algorithm first

    • @uadev
      @uadev 18 วันที่ผ่านมา

      @@lowlevelgamedev9330 if so then hope it will be compatible with Minecraft protocol at least partially

  • @TGKPostsSometimes
    @TGKPostsSometimes 28 วันที่ผ่านมา +1

    do you also want to get sued?

  • @CrystalClear51
    @CrystalClear51 หลายเดือนก่อน +1

    thats what minecraft bedrock edition was for

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

    so bedrock?

  • @reenokopli
    @reenokopli 29 วันที่ผ่านมา

    A Romanian man stealing Minecraft or something, idk I just started watching the video.

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

    reaI

  • @Mixoww
    @Mixoww 29 วันที่ผ่านมา

    this is not good cuz there is no 1.8 pvp

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  29 วันที่ผ่านมา +1

      I have a dedicated thread update path for the players so I should be able to implement good combat 💪💪

    • @nnnik3595
      @nnnik3595 25 วันที่ผ่านมา

      @@lowlevelgamedev9330 I can only imagine how much this will come to bite you in the foot once you start to implement Javas redstone...

  • @esfo2824
    @esfo2824 28 วันที่ผ่านมา

    small gamedevs trying not to make a minecraft clone video

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  28 วันที่ผ่านมา

      yess, don't make a minecraft clone video, challenge, level: impossible