Skip to content

My take on making a networked C /OpenGL Minecraft clone.

Notifications You must be signed in to change notification settings

Mormert/OpenMinecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Minecraft

Open Minecraft was initially written in OpenGL 3.3, but was ported to OpenGL ES 3.0 to ease the porting to WebGL 2. Now, it runs on OpenGL ES 3.0 on desktop, and WebGL 2 on the web.

Cross-Play Networking Support

Using Node.js Socket.IO on the server and an abstraction layer over the client-side Socket.IO (C and JavaScript) allows for cross-play between the browser and native platforms such as Mac, Linux and Windows.

Web Demo

Using Emscripten, Open Minecraft has a WebAssembly port. Click here.

Terrain Generation using the FastNoise C Library.

Terrain Generation

Building and Digging

Building

Instanced block rendering

Rendering millions of individual blocks at an acceptable framerate using instanced rendering. Block Rendering

Dependencies & Building

Open Minecraft is very easy to build, using CMake with no external dependencies.

Building to WebAssembly using Emscripten

Requires the Emscripten SDK, and a shell with the Emscripten environment set-up.

mkdir build
cd build
emcmake cmake .. -DBUILD_EMSCRIPTEN=ON
emmake make

About

My take on making a networked C /OpenGL Minecraft clone.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published