diff --git a/readme.md b/readme.md index 43e1d0f..8c2ece4 100644 --- a/readme.md +++ b/readme.md @@ -10,6 +10,8 @@ The goal of this project is not fixed, and is just to try out some sokol feature To build, you need to have zig master (you can use [zvm](https://www.zvm.app/) to help you with this). Then just `zig build run` and that should be it! +To build for wasm, use `zig build -Dtarget=wasm32-emscripten run` + Note that if you change shaders, you have to recompile them manually - run compile_shaders.bat. ### Live error checking