I added Entities to my Minecraft Clone 🐽!

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

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

  • @scasz
    @scasz 8 месяцев назад +3

    0:01 the video in the middle seems to be made by a really cool dude. Also really interesting video

  • @beepymemes
    @beepymemes 8 месяцев назад +7

    coding an entire 3d multiplayer game in c++ without an engine requires insane skill

  • @nylvon
    @nylvon 8 месяцев назад +16

    hey that compile time thingy reminds me of someone who also likes to overcomplicate his life with compile time thingies ;^ )

  • @Momossim
    @Momossim 8 месяцев назад +27

    3:29 creeper ?

    • @flipfloppy1
      @flipfloppy1 8 месяцев назад +8

      aw man

    • @AlexanderDumb
      @AlexanderDumb 8 месяцев назад +10

      That's actually how the creeper was originally made. Notch accidentally messed up the pig model which gave him the inspiration for the creeper

    • @igoradrian4772
      @igoradrian4772 Месяц назад

      @@flipfloppy1 So we back in the mine

  • @ahmedkj9923
    @ahmedkj9923 8 месяцев назад +3

    this addition alone made your game the best minecraft clone for me, yes even better than minetest

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 месяцев назад

      well I wouldn't say that yet but maybe in the future 💪

  • @bartekburmistrz8679
    @bartekburmistrz8679 8 месяцев назад

    6:07 The compiler actually just executes the function and stores the result as a variable, if you check disasembly you can see that there is no function call (if possible)

  • @coyo_t
    @coyo_t 8 месяцев назад +1

    i saw one of your previous videos and forgot to comment. i think the "undo system" for client side prediction and resolution of terrain updates is very clever
    i do hope you handle "bulk updates" with it carefully though (IE chain reactions that occur, such as a redstone wire updating other wires around it, or a sugarcane breaking all the ones above it, ect)

  • @justaway_of_the_samurai
    @justaway_of_the_samurai 8 месяцев назад +2

    All that compile-time stuff will make compilation times longer.
    It also means that you will be more restricted to programming the game in C++ rather than using a scripting language layer at a later point.
    The memory management concern can be solved by using shared_ptr's, which are implemented in STD.
    The compile-time solution will also make it more difficult to plug-in alternate implementations of an interface class for certain behaviors, because that will require multiple definitions of the "outer" class to support other types, or have the component classes be all-inclusive instead of using different types.
    So for example, if you wanted to make one pig smarter than normal pigs, you could have a component for "AI" which provides all the abstract pathfinding logic. The smarter pig would have the "SmartPigAI" component which inherits from "PigAI".
    If you store the 2 "PigAI" components as standalone instances with shared_ptr's on the "Pig" class, you can swap out the instances at runtime to get different behaviors, as compared to removing the original pig entirely and replacing it with a "SmartPig" class instance.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 месяцев назад +1

      I'm too lazy to answer in detail in text to all of this so I will say that it compiles in like 2 secconds rn (I use glm that is already more heavily templated than what I will ever do) and adding a scripting language means that you need to make a binding for it, adding all sorts of problems, with no benefit except compile times, that already aren't a problem so

    • @justaway_of_the_samurai
      @justaway_of_the_samurai 8 месяцев назад

      @@lowlevelgamedev9330 It's your game engine, so you are the boss.
      But inheritance is a design pattern that gets annoyingly complicated pretty quickly, which is why a lot of modern developers try to avoid it.

  • @ravenmillieweikel3847
    @ravenmillieweikel3847 8 месяцев назад +1

    One correction: In minecraft the limb animation is done with sin waves, not triangle waves.

  • @NotPensive
    @NotPensive 3 месяца назад

    yay

  • @Chulama-qk9fo
    @Chulama-qk9fo 8 месяцев назад

    Yo if you make a survival mode I have an idea:
    Retexture the bugged pig model so that it's a rock golem. It lies dormant until you alert it (how is up to you), and it'll wake up and attack you, doing a massive amount of damage and only becoming dormant again if you die or get far away. It also has a chance to turn a nearby rock into a golem.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 месяцев назад

      I was actually thinking of adding golems but ther's a lot of work unti than

  • @Pedro-jj7gp
    @Pedro-jj7gp 8 месяцев назад

    Could you make a video on OOP vs DOD and how you usually write code regarding this?

  • @Simple_OG
    @Simple_OG 8 месяцев назад +1

    You are my idol. I want to build games like you.

    • @nylvon
      @nylvon 8 месяцев назад

      start doing it then, lad.
      you will never do anything if you do not start.

  • @curryleavesbydhanya
    @curryleavesbydhanya 8 месяцев назад +1

    Will you do proper pathfinding for zombies (A*) because thats what modern Minecraft does. Old versions just made zombies walk in the direction of the player.

  • @darkfllame
    @darkfllame 8 месяцев назад +1

    gg to whoever found steam key before me

  • @Ddos2212
    @Ddos2212 8 месяцев назад +13

    "It took 1 entire week" dude :D. 1 week is nothing in software development, don't beat yourself up if something takes more time than expected. I had to invest a month in order to get close to a solution for a hard problem I had with a project.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 месяцев назад +7

      totally agreed but I'm lazy 😭😂💀

    • @knitnatsnokprogramming
      @knitnatsnokprogramming 8 месяцев назад

      @@lowlevelgamedev9330 I mean, which programmer is not lazy 🤷‍♂️

    • @knitnatsnokprogramming
      @knitnatsnokprogramming 8 месяцев назад +5

      @@lowlevelgamedev9330I mean, which programmer is not lazy? 🤷‍♂️

    • @TopatTom
      @TopatTom 8 месяцев назад

      @@knitnatsnokprogramming true true.
      Dani,

    • @ckpioo
      @ckpioo 7 месяцев назад

      ​@@lowlevelgamedev9330 that's me with my current project with a database system I'm doing entirely from scratch, some days I'm lazy some days I'm productive as hell 😂😂

  • @dantheplanner
    @dantheplanner 8 месяцев назад +2

    Hey. 🧙🏾‍♂️

  • @mlodywest
    @mlodywest 8 месяцев назад

    nice

  • @skyde72
    @skyde72 8 месяцев назад

    LE COUCHON!!!

  • @knitnatsnokprogramming
    @knitnatsnokprogramming 8 месяцев назад

    Pathfinding is not that hard. I think you could somehow use A* or smth like that and somehow make it work 3D

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 месяцев назад +1

      yes, it actually will be even easier than a* probably

    • @knitnatsnokprogramming
      @knitnatsnokprogramming 8 месяцев назад

      @vatyunga Yeah, you would just need to add some more conditions for where you could walk to. But that shouldn’t be too hard.

  • @sajtcraft3473
    @sajtcraft3473 8 месяцев назад

    how to download?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 месяцев назад

      you need to compile the project, the github link is in the description, and you also have instructions there

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 месяцев назад

      you need to compile the project, the github link is in the description, and you also have instructions there

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  8 месяцев назад

      ok nvm you don't have instructions there but clone the repo, right click in the folder and select open with visual studio

  • @Classfied3D
    @Classfied3D 8 месяцев назад

    I found something better... and it is called compile time polymorphism
    Lets go

  • @swapansaha2368
    @swapansaha2368 8 месяцев назад

    Can u pls teach us vulkan if possible. Pls plsplsplspls

  • @Dreadnought-142
    @Dreadnought-142 8 месяцев назад

    Hmmm nice game
    Try to remake it in directx8/direct3d

    • @hexiy_dev
      @hexiy_dev 8 месяцев назад +8

      directx 8 ⁉ god damn at that point port the whole engine to windows 95 💀

    • @TechnicJelle
      @TechnicJelle 8 месяцев назад

      Why??

  • @aleksitjvladica.
    @aleksitjvladica. 8 месяцев назад

    I can not listen to this gay!