Hey guys, I've seen a lot of folks interested in making a Minecraft-like game. So I've spent the last few hours making an engine, and I'm giving out all the code!
It's a pretty small, finite world. But the engine does what's most important, rendering the terrain and placing/destroying blocks while keeping a decent fps.
Updated 7/27
https://forumfiles.thegamecreators.com/download/2234159
Controls
-Left click - remove block
-Right click - place block
-Space - jump
-Hold 1 - free camera
Some things to note:
-The terrain generation algorithm was thrown together for testing. Try putting your own algorithms in!

-The movement code, especially the part that selects which block to destroy, was also quickly put in for testing. There's probably a much better way to do that.
-It's possible to run out of polygons if you expand the world size. You'd have to use multiple objects to expand the world.
If you use the code, please give some credit!

Speaking of credit, the terrain.png was made by JohnSmith.
That's all I can think of for now. If you want something explained/better commented just ask.