Making Minecraft from scratch in 48 hours (NO GAME ENGINE)
Video Statistics and Information
Channel: jdh
Views: 795,373
Rating: 4.9561272 out of 5
Keywords: c++, programming, coding, minecraft, opengl, graphics, java, voxel, 3d, gamedev, gaming, code
Id: 4O0_-1NaWnY
Channel Id: undefined
Length: 16min 38sec (998 seconds)
Published: Sun Apr 26 2020
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
pretty good.
Here's a few suggestions I'd say:
You have stuff like
#define CONST const
. I suggest replacing that with anonymous enums.It's not a wholly bad thing but less preprocessor stuff, the cleaner.
struct Camera self; memset(&self, 0, sizeof(struct Camera));
why not do
struct Camera self = {0};
?Other than that, I like the design it has. I liked and shared this to my C programming group on Quora.
Here's a link to the source: https://github.com/jdah/minecraft-weekend (it's a bit of a mess!)
I am really surprised how little code this is in the end. After watching the video with all the features you explained I thought it must be huge.
Still, mad props for finishing all this in two days, that's ridiculous!
I really enjoyed watching this. Wish I knew what any of this code was (I really want to learn C, but can't find the drive). Keep up the great work!
I think it's really inspiring to see projects like this completed to such an extent. I always work on projects and quit after less than a day of work but this was something really cool to watch! In the past I've tried to mess around with SDL to work on really small 2D projects but would you recommend using OpenGL (or a combination of such things) to work on 2D or 3D for game dev projects? (Also assuming they would be programmed in C)
That is the coolest thing I've seen in a long time. Especially for a weekend project.
Next: minecraft in assembly
I love this! Awesome job! This has inspired me to actually build things like these from scratch myself :)
Very nice indeed! Great video, very instructional.