From 2f7bf31f6a66a3bddcae916144b4a2d95a41bc1e Mon Sep 17 00:00:00 2001 From: Kapil Mandowra <92047917+karntheai@users.noreply.github.com> Date: Sat, 24 Sep 2022 20:25:05 +0530 Subject: [PATCH] there was a typing mistake so I changed "or" with "own" now it's making sense --- Working-for-Web-(HTML5).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Working-for-Web-(HTML5).md b/Working-for-Web-(HTML5).md index c8cd769..dacd39b 100644 --- a/Working-for-Web-(HTML5).md +++ b/Working-for-Web-(HTML5).md @@ -196,7 +196,7 @@ The compilation line is quite standard, similar to any other compiler and platfo -Lpath // Library path to look for additional library .a files (if required) -s USE_GLFW=3 // We tell the linker that the game/library uses GLFW3 library internally, it must be linked automatically (emscripten provides the implementation) -s ASYNCIFY // Add this flag ONLY in case we are using ASYNCIFY code - --shell-file path-to/shell.html // All webs need a "shell" structure to load and run the game, by default emscripten has a `shell.html` but we can provide or own + --shell-file path-to/shell.html // All webs need a "shell" structure to load and run the game, by default emscripten has a `shell.html` but we can provide our own ``` There are some additional emscripten flags that can be useful if the game requires them. For example, in case of resources loading (images, textures, audio, fonts, models..), they need to be compiled with code (`.data` file generated). Web games use an internal Virtual-File-System to store data. Also note that the maximum memory size required by the application (considering everything the game will load) SHOULD be provided.