diff --git a/.gitignore b/.gitignore index 061ed91..fb2f0de 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ !main.cpp !screenshot.png !build.sh -!build-web.sh \ No newline at end of file +!build-web.sh +!emscripten_shell.html \ No newline at end of file diff --git a/build-web.sh b/build-web.sh index 584a7ef..6da709e 100755 --- a/build-web.sh +++ b/build-web.sh @@ -1,2 +1,2 @@ #!/bin/bash -/usr/lib/emscripten/em++ -std=c++26 --use-port=sdl2 -O2 --emrun -sASSERTIONS -o index.html main.cpp \ No newline at end of file +/usr/lib/emscripten/em++ -std=c++26 --use-port=sdl2 -O2 --emrun --shell-file emscripten_shell.html -sASSERTIONS -o index.html main.cpp \ No newline at end of file diff --git a/emscripten_shell.html b/emscripten_shell.html new file mode 100644 index 0000000..0f3a78b --- /dev/null +++ b/emscripten_shell.html @@ -0,0 +1,49 @@ + + + + + + + Randomwalk + + + + + + + {{{ SCRIPT }}} + + + \ No newline at end of file