Announcement

Collapse
No announcement yet.

I've created an Infinite Voxel World, similar to Minecraft

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    I've created an Infinite Voxel World, similar to Minecraft

    Hey everyone!

    Usually I work on my real game project. But now I spent a little bit of time on a "small side project" as I called it. But then suddenly, it turned out not to be as small as initially thought

    It was definitely a lot of fun. UE4 is really a great engine for something like this. But I should probably not write too much, you wanna see screenshots, I know! So I won't let you wait any longer:

    Here you have a nice Video:



    And here some screenshots:

    Click image for larger version

Name:	Screenshot1 (5).jpg
Views:	1
Size:	307.3 KB
ID:	1175549
    Click image for larger version

Name:	Screenshot1 (1).jpg
Views:	1
Size:	519.1 KB
ID:	1175545
    Click image for larger version

Name:	Screenshot1 (7).jpg
Views:	1
Size:	490.6 KB
ID:	1175551
    Click image for larger version

Name:	Screenshot1 (6).jpg
Views:	1
Size:	381.1 KB
ID:	1175550
    Click image for larger version

Name:	Screenshot1 (4).jpg
Views:	1
Size:	345.1 KB
ID:	1175548
    Click image for larger version

Name:	Screenshot1 (2).jpg
Views:	1
Size:	502.4 KB
ID:	1175546
    Click image for larger version

Name:	Screenshot1 (3).jpg
Views:	1
Size:	389.4 KB
ID:	1175547
    Click image for larger version

Name:	Screenshot1 (8).jpg
Views:	1
Size:	148.8 KB
ID:	1175542

    So, this is it!

    All assets in this project are either created entirely by myself or were released as Public Domain and then used directly or edited by me.

    While it's looking similar to Minecraft, my intention was not to create a game similar to Minecraft, but just to see if it works to make a voxel based game with good performance using Blueprints only in Unreal Engine 4. The Minecraft look then later came when I searched for textures, and actually the whole internet is filled with public domain texture packs for Minecraft. So it was the best way for me to get textures for a voxel based project, since I am no artist. And let's be honest, it does not look bad like this, having the graphical power of UE4 combined with the pixel look of textures which were intented to be used in Minecraft.

    What am I using for this? I also want to say that I'm actually not a big fan of Minecraft and I have never spent any time on reading about how Minecraft did anything, everything I did for this is just my ideas on how to do it, and that was the fun about this. I have also never read anything about how any other voxel based game works, so I really started at 0 for this. I decided to use Instanced Static Mesh Components for the blocks, the game is divided up into chunks of at the moment 20x20x70 blocks where every block type has it's own ISMC.

    One thing I first expected to be impossible was implementing the noise generator in blueprint. The whole world is generated procedurally from a seed, so you need to have a noise algorithm to use. You can't access the noise function from the material inside of blueprint, so you either need to not use any noise, use a plugin, or do it yourself in blueprint. First I used a plugin for this. After I saw that it worked, I decided to actually implement it myself in blueprint. So I implemented a 2D Simplex Noise function in Blueprint. I can tell you, that was a lot of fun. But after many hours, it actually worked!

    So, I am not using any plugins at the moment. The whole project s 100% blueprint with no C++ being used. I think this project is a great example for the power of blueprint. If you would have showed this to the Epic Devs who originally built blueprint, they would probably not have believed it how far blueprint came. This project profits greatly from the BP->C++ converter, which is not a surprise with having a SimplexNoise algorithm implemented in blueprint.

    The most time I have spent on getting the dynamic streaming of chunks working in a nice and performant way. You can't use multithreading from Blueprint, so all your game logic has to run on one thread. It's quite a challenge to get the game to never hitch while it's only using one thread for all the logic. But, after a lot of work, I think I got it to work quite perfectly. There is obviously a lot of math in this project. Actually, if I disable the BP->C++ converter and profile the game, the nodes that take most time are actually +, -, *, / BP nodes if I remember correctly. Just really a lot of math. Doint it in BP is just a really nice challenge for the start, I will likely change that later.

    I am very eager to hear what y'all have to say!
    Last edited by John Alcatraz; 03-21-2016, 04:09 PM.
    Easy to use UMG Mini Map on the UE4 Marketplace.
    Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

    #2
    1nd. Extra text.
    Marketplace Assets

    Advanced Mobile Input: Marketplace Page | Support Thread ――― Easy Input Remapping: Marketplace Page | Support Thread
    Multiplayer Blueprint Chat System: Marketplace Page | Support Thread ――― Closing Credits System: Marketplace Page | Support Thread
    Minesweeper Template: Marketplace Page | Support Thread ――― Maze Creator: Marketplace Page | Support Thread

    Comment


      #3
      I am interested in this.

      Comment


        #4
        So will this be called.... Johncraft: Infinite?

        Comment


          #5
          Looks fantastic! Good job! I think you can make something great with this and stray from the Minecraft concept.

          -S
          Run with the flock, end up a lamb chop!

          Unreal 4 in 30 Days - An Unreal Experience: https://youtu.be/DV5l7d4b9Cs

          Comment


            #6
            This is super cool

            Comment


              #7
              Really nice, I like the AO. Congrats!

              Comment


                #8
                Omg [MENTION=23635]_[/MENTION]@ i want now!!!!
                Pls pls pls pls pls pls [MENTION=23635]_[/MENTION]@ owl dislikes idea of not having that

                Comment


                  #9
                  Very cool, blueprints only and nice sunrays.
                  Do you not think, that could cause problems, when you offer a download?
                  Even when it's a free game without any income, i would bet 1/16 of my left feet, that soon someone will knock on your door(virtual).
                  Last edited by Luftbauch; 03-04-2016, 05:07 AM.
                  My small game on IndieDB ****** Beams on Twitter ****** Beams on Steam ****** VideoStuff ****** PictureStuff
                  UE brings Math back into my life or i am not sure.

                  Comment


                    #10
                    WOW, cool, is this Blueprints only??

                    Comment


                      #11
                      Super cool!

                      Comment


                        #12
                        Awesome job man, insane that its blueprints only

                        Comment


                          #13
                          Minecraft with UE4 lighting looks awesome!

                          Comment


                            #14
                            This is awesome, would be cool to see all the blueprints

                            Comment


                              #15
                              Oh man, this is so cool, please post more about it . We're all really curious about how it was put together and how it works
                              Last edited by Alexander Paschall; 03-07-2016, 10:06 AM.
                              Twitch /unrealalexander| Twitter @UnrealAlexander
                              How to report a bug? | Installation & Setup issues?
                              Call me to a thread by posting this: [MENTION]Alexander Paschall[/MENTION]

                              Comment

                              Working...
                              X