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.

  • replied
    Sorry for the necro.

    I would pay a nice amount for the original blueprint project. You should revisit it and post it in the marketplace!
    Sharing the knowledge would be nice and helps the game dev community grow!

    Leave a comment:


  • replied
    Hey man! I was wondering if you were gonna ever release project files or do a tutorial or something on your approach for this, or a marketplace plugin, I would love to tear it apart and learn from it

    Leave a comment:


  • replied
    Nice job but I have a problem - mouse didn't work. Windows 7 sp1

    Leave a comment:


  • replied
    Originally posted by davidg0 View Post
    [ATTACH=CONFIG]142829[/ATTACH]
    [ATTACH=CONFIG]142830[/ATTACH]
    [ATTACH=CONFIG]142831[/ATTACH]
    Hey John!
    Less than a year ago, I was shocked and exceedingly inpressed when i saw your magnificent project for the first time. I tried to make a similiar unreal based minecraft and took a lot of time to research in hope of finding the correct approach. However, that didn't end up well: even the most initial steps seemed unachievable for the little noob :P
    For more than half a year, I have been studying the unreal engine and learning how to manipulate it efficiently by both blueprint and c++. And just three days ago, I started to make a voxel based survival game ----- AGAIN. And so far I'm doing everything nicely: I managed to implement dual-chunk generation, a primitive save&load system and basic foliage generation.( I was also messing with the block y locations to make the terrain smoother than that of traditional minecrafty games ) Thank you for inspiring me and helping me to set up my actual goals
    Great job David!!! Wish all the luck with this project!

    Leave a comment:


  • replied
    Originally posted by SterlingY View Post
    Looks fantastic! Good job! I think you can make something great with this and stray from the Minecraft concept.

    -S
    I agree! Give it a new spin!

    Leave a comment:


  • replied
    Can you offer any further advice on how to do this? I'm brand new to Unreal Engine and game development in general and my first project is to try to do this exact thing for the learning experience, so far, first day, still clueless, hahaha.

    Leave a comment:


  • replied
    That's a fun game good job

    Leave a comment:


  • replied
    Hello there,

    u need to update this project, added so many fetures !!!!!


    hope u will continue this

    exelent

    Leave a comment:


  • replied
    Click image for larger version

Name:	DBAYQIAU0AAy5Dc.jpg
Views:	1
Size:	58.8 KB
ID:	1128735
    Click image for larger version

Name:	DBAYVJcUAAAeC__.jpg
Views:	1
Size:	104.0 KB
ID:	1128736
    Click image for larger version

Name:	DBAYWhVVYAA3sVQ.jpg
Views:	1
Size:	90.6 KB
ID:	1128737
    Hey John!
    Less than a year ago, I was shocked and exceedingly inpressed when i saw your magnificent project for the first time. I tried to make a similiar unreal based minecraft and took a lot of time to research in hope of finding the correct approach. However, that didn't end up well: even the most initial steps seemed unachievable for the little noob :P
    For more than half a year, I have been studying the unreal engine and learning how to manipulate it efficiently by both blueprint and c++. And just three days ago, I started to make a voxel based survival game ----- AGAIN. And so far I'm doing everything nicely: I managed to implement dual-chunk generation, a primitive save&load system and basic foliage generation.( I was also messing with the block y locations to make the terrain smoother than that of traditional minecrafty games ) Thank you for inspiring me and helping me to set up my actual goals
    Attached Files

    Leave a comment:


  • replied
    If you ever need any help or thoughts I would love to make this in to a better form of minecraft with you

    Leave a comment:


  • replied
    It's a masterpiece!!! Those who say it's just a clone, but this game can go your way!!!It may even be the best minecraft, the one who writes in the comments that the game is "so-so", then You don't understand just how amazing it is (or just not played the updated version, if you're reading this, I beg you not to leave the game and not listening to anyone.If you started this case and further, you can't completely copy minecraft, you can do something else, to add something of their own, but you can change everything in the game (not perestarasya), just don't drop the project and make it better.I have everything!

    Leave a comment:


  • replied
    Sup minecraftians,

    If anyone can help me pass the Twitch 4 Minecraft stream IE looking at my C++ and like his video his ends up working but mine still crashes..

    But i do have the terrain Generation working just no noise ive posted the code in question on his Youtube twitch feeds...
    Help me and you have what i got to start with =)

    PS Big thanks to John for his feeds.. sometimes bit hard to follow the code side but he definitely explains why hes doing what he does..

    Matt
    MogamingEmporium

    Leave a comment:


  • replied
    would like to ask a request

    hey john,
    me and a friend are trying to make a game similar to minecraft but are having trouble with it, i was wondering if i could have a copy of the project file so we can make one like it, we tried but it kept coming out either misformed or blank. we wont copy the game it self, just want to use some of the lines for it, we already got the textures and models of tools made, but the world just isnt cooperating with us.
    thanks,
    alex_rider
    (ps if you can make a copy of it, plz send it to my email youcefthomas@hotmail.com )

    Leave a comment:


  • replied
    cool!!!! really good job!!!!!!

    Leave a comment:

Working...
X