SamuKata
jdh
jdh

patreon


3D Engine Code Download

UPDATE 14/July 2023:

The download has been updated (code_140723) to a more recent version! Dependencies list has expanded - please look in the ".gitmodules" file to see what needs to be cloned.

ORIGINAL TEXT:

Hey everyone! Thanks as always for your continued support - there's a download link to the latest version of the code below. Be sure to check out the walkthrough video I've posted as well, I give a brief overview of most of the code there.

Patreon doesn't allow attachments > 200 MB in size, so some of the libraries,

sokol-tools-bin

SDL

SDL_Image

need to be cloned manually into lib/ in order to get things running - sorry about that!

Comments

it's likely because the SDL version is incorrect - I think the libsdl-org/SDL version is on 3 which probably doesn't build an sdl2-config binary. Though if you're on a system with SDL2 as a package (homebrew on osx or just via a package manager on linux) you can probably omit any of the SDL libs/git repos and link against system SDL. will try to get a fixed version up tomorrow with a properly initialised git repo though.

jdh

btw, trying to build with : make libs fails at: chmod +x bin/sdl/sdl2-config because that file doesn't exist... why?

marvhus

The git sub-modules are kinda broken since you gave a version without an initialized git repo with the sub-modules added. This should fix it: (don't forget to initialize a git repo first) git submodule add https://github.com/libsdl-org/SDL lib/SDL git submodule add https://github.com/libsdl-org/SDL_image lib/SDL_image git submodule add https://github.com/cimgui/cimgui lib/cimgui git submodule add https://github.com/jarikomppa/soloud lib/soloud git submodule add https://github.com/floooh/sokol lib/sokol git submodule add https://github.com/floooh/sokol-tools-bin lib/sokol-tools-bin git submodule add https://github.com/recp/cglm lib/cglm git submodule add https://github.com/libsdl-org/SDL_Image lib/SDL_Image git submodule add https://github.com/mlabbe/glutess lib/glutess git submodule add https://github.com/edubart/sokol_gp lib/sokol_gp git submodule add https://github.com/floooh/sokol-tools lib/sokol-tools

marvhus


More Creators