diff --git a/Data/Audio/Purrple Cat - Moonwinds.qoa b/Data/Audio/Purrple Cat - Moonwinds.qoa deleted file mode 100644 index 72d02e2..0000000 --- a/Data/Audio/Purrple Cat - Moonwinds.qoa +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6371378ed2915774ddc878fbc9b94292afb06e0fbf85093760c8178a6ee73784 -size 5532440 diff --git a/Data/Audio/Purrple Cat - Moonwinds.txt b/Data/Audio/Purrple Cat - Moonwinds.txt deleted file mode 100644 index d4d3be7..0000000 --- a/Data/Audio/Purrple Cat - Moonwinds.txt +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c18672a1fd7d3fde836ca29abd833fc5001687030ce6aa6b986bc96b3bc62db7 -size 190 diff --git a/External/tely b/External/tely index e2d184e..db33db4 160000 --- a/External/tely +++ b/External/tely @@ -1 +1 @@ -Subproject commit e2d184ebe0e7b857770f17d279829606a405588f +Subproject commit db33db4944dd98e91e40f9a62d6607169a43fbbd diff --git a/deploy_website.bat b/deploy_website.bat index 7da5cb6..8abac14 100644 --- a/deploy_website.bat +++ b/deploy_website.bat @@ -5,7 +5,7 @@ set script_dir_backslash=%~dp0 set script_dir=%script_dir_backslash:~0,-1% set build_dir=%script_dir%\Build -scp -P 8110 %build_dir%\Terry_Cherry_Emscripten\Terry_Cherry.html doylet@doylet.dev:/selfhost/Terry_Cherry/index.html -scp -P 8110 %build_dir%\Terry_Cherry_Emscripten\Terry_Cherry.data doylet@doylet.dev:/selfhost/Terry_Cherry/Terry_Cherry.data -scp -P 8110 %build_dir%\Terry_Cherry_Emscripten\Terry_Cherry.js doylet@doylet.dev:/selfhost/Terry_Cherry/Terry_Cherry.js -scp -P 8110 %build_dir%\Terry_Cherry_Emscripten\Terry_Cherry.wasm doylet@doylet.dev:/selfhost/Terry_Cherry/Terry_Cherry.wasm +scp -P 8110 %build_dir%\Terry_Cherry_Emscripten\Terry_Cherry.html doylet@doylet.dev:/selfhost/TerryCherry/index.html +scp -P 8110 %build_dir%\Terry_Cherry_Emscripten\Terry_Cherry.data doylet@doylet.dev:/selfhost/TerryCherry/Terry_Cherry.data +scp -P 8110 %build_dir%\Terry_Cherry_Emscripten\Terry_Cherry.js doylet@doylet.dev:/selfhost/TerryCherry/Terry_Cherry.js +scp -P 8110 %build_dir%\Terry_Cherry_Emscripten\Terry_Cherry.wasm doylet@doylet.dev:/selfhost/TerryCherry/Terry_Cherry.wasm diff --git a/feely_pona_build.cpp b/feely_pona_build.cpp index 305307f..206dec3 100644 --- a/feely_pona_build.cpp +++ b/feely_pona_build.cpp @@ -432,19 +432,19 @@ int main(int argc, char const **argv) build_context.compile_flags = Dqn_Slice_InitCArrayCopy(scratch.arena, { DQN_STRING8("cmd"), DQN_STRING8("/C"), DQN_STRING8("emcc.bat"), DQN_STRING8("-o"), Dqn_String8_InitF(scratch.allocator, "%.*s.html", DQN_STRING_FMT(prefix)), - // DQN_STRING8("-Os"), // Optimize for size + DQN_STRING8("-Os"), // Optimize for size DQN_STRING8("-Wall"), - DQN_STRING8("--shell-file"), Dqn_FsPath_ConvertF(scratch.arena, "%.*s/External/raylib/shell.html", DQN_STRING_FMT(tely_dir)), + DQN_STRING8("--shell-file"), Dqn_FsPath_ConvertF(scratch.arena, "%.*s/feely_pona_emscripten_shell.html", DQN_STRING_FMT(code_dir)), Dqn_FsPath_ConvertF(scratch.arena, "%.*s/%.*s", DQN_STRING_FMT(build_dir), DQN_STRING_FMT(raylib_emscripten_lib_name)), DQN_STRING8("-s"), DQN_STRING8("USE_GLFW=3"), - DQN_STRING8("-s"), DQN_STRING8("ASSERTIONS=2"), - DQN_STRING8("-s"), DQN_STRING8("SAFE_HEAP=0"), + // DQN_STRING8("-s"), DQN_STRING8("ASSERTIONS=2"), + // DQN_STRING8("-s"), DQN_STRING8("SAFE_HEAP=0"), DQN_STRING8("-s"), DQN_STRING8("TOTAL_MEMORY=512MB"), DQN_STRING8("-s"), DQN_STRING8("TOTAL_STACK=32MB"), DQN_STRING8("-s"), DQN_STRING8("ALLOW_MEMORY_GROWTH"), - DQN_STRING8("-s"), DQN_STRING8("STACK_OVERFLOW_CHECK=2"), - DQN_STRING8("--profiling-funcs"), // Expose function names in stack trace - DQN_STRING8("-g"), // Debug symbols + // DQN_STRING8("-s"), DQN_STRING8("STACK_OVERFLOW_CHECK=2"), + // DQN_STRING8("--profiling-funcs"), // Expose function names in stack trace + // DQN_STRING8("-g"), // Debug symbols // NOTE: Must be relative path such that fopen("Data/...") works // otherwise the VFS will encode the full absolute path to the // assets diff --git a/feely_pona_emscripten_shell.html b/feely_pona_emscripten_shell.html new file mode 100644 index 0000000..b373394 --- /dev/null +++ b/feely_pona_emscripten_shell.html @@ -0,0 +1,328 @@ + + + + + + + raylib web game + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + {{{ SCRIPT }}} + +