6. INFINITE TERRAIN // Coding a Minecraft Clone with JavaScript + Three.js

Поділитися
Вставка

КОМЕНТАРІ • 10

  • @javifontalva7752
    @javifontalva7752 2 місяці тому

    34:09
    Another alternative
    const {x:chunkX, z:chunkZ} = coords.chunk;

  • @worldbest3097
    @worldbest3097 7 місяців тому +3

    god of threejs bro

  • @ObityScenic
    @ObityScenic 7 місяців тому

    Hi! First of all - great job with the tutorial series, I'm loving it. I've noticed one little bug which I'm unable to fix myself, maybe you have an idea how to approach it. Some of the first from the bottom blocks of the tree don't disappear after being removed. They are technically removed as you can walk through them, console.log displays it has been removed, but it remains displayed and there's no way to delete it from the screen. Quickest way to recreate - on seed 0, walk forward until the sand ends and grass starts, and the first tree on the right hand side, which is kind of double tree glued together is a great example of this bug. Appreciate any help with this! :)

    • @dangreenheck
      @dangreenheck  7 місяців тому +1

      Could you please submit an issue on Github? Then I can keep track of it. Thanks for bringing it up.

    • @ObityScenic
      @ObityScenic 7 місяців тому +1

      @@dangreenheck sure thing, added now! :)

  • @jaydenbascio8110
    @jaydenbascio8110 7 місяців тому +3

    Is it possible to make terrain generation infinite down the y axis as well? 🐔

    • @dangreenheck
      @dangreenheck  7 місяців тому +7

      I don't see why not! I didn't do it because I didn't implement cave generation for this project, so there's nothing much to explore down there. However, that could potentially be a topic for the 10th video which will be up to a community vote.

    • @FernandoMumbach
      @FernandoMumbach 7 місяців тому +1

      @@dangreenheck I would really like to see that!

  • @GaboomMixes
    @GaboomMixes 6 місяців тому

    @coffeecodecreate Hello, I am getting this error at 9:03:
    Uncaught TypeError: Cannot read properties of undefined (reading 'seed')
    at WorldChunk.generate (worldChunk.js:26:41)
    at main.js:29:7
    generate @ worldChunk.js:26
    (anonymous) @ main.js:29
    localhost
    What am I doing wrong? Thanks!

    • @dangreenheck
      @dangreenheck  6 місяців тому

      Not sure without seeing your code. The best place to ask for help is on the Discord :)