mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-26 08:59:16 -05:00
Updated Working for Web (HTML5) (markdown)
@ -6,10 +6,12 @@ There are some additional compilation flags for `emcc` compilation and code link
|
|||||||
|
|
||||||
The complete process to compile for web is detailed below. The main steps to follow are:
|
The complete process to compile for web is detailed below. The main steps to follow are:
|
||||||
|
|
||||||
1. Install emscripten toolchain
|
1. [Install emscripten toolchain](#1-install-emscripten-toolchain)
|
||||||
2. Compile raylib library
|
2. [Compile raylib library](#2-compile-raylib-library)
|
||||||
3. Setup raylib game for web
|
3. Setup raylib game for web
|
||||||
4. Compile raylib game for web
|
4. Compile raylib game for web
|
||||||
|
5. Test raylib game on web
|
||||||
|
6. Upload raylib web game to itch.io
|
||||||
|
|
||||||
Note that it's VERY important to understand the different steps of the process. If you expect to find an already setup solution, ready to use out-of-the-box, it's very probable that it fails at some point. So, understanding the process is crucial to be able to configure web compilation with ANY build system.
|
Note that it's VERY important to understand the different steps of the process. If you expect to find an already setup solution, ready to use out-of-the-box, it's very probable that it fails at some point. So, understanding the process is crucial to be able to configure web compilation with ANY build system.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user