Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.42 KB

README.md

File metadata and controls

45 lines (38 loc) · 1.42 KB

Minecraft

This is a Minecraft clone, made with recreational intended purposes.

Thumbnail Image

Building

Currently, this is only tested for macOS. To build on macOS, run

make run

Which will build the executable file in the bin folder.

Current Implemented Features

Features that are implemented include:

  • Movement
  • Placing and blocks
  • Removing blocks
  • Hotbar

Libraries Used

Issues and Fixes

Path: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon

Update glfw path: cmake -D CMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

TODO

  • Optimize rendering
    • Pack and unpack the data, each vertice should be 0-16 (4 bits); a face is (4 * 6) / 8 = 3 bytes
    • Pass a chunk_pos vec3 into the vertex shader
  • Either vectors are slow or classes are slow, most likely the former. Load times are taking a while...
  • Chunks rendering as player moves around
  • Physics
  • Padding issues, add -Wpadded to see