Updated Working for Web (HTML5) (markdown)

master
José Salavert Torres 2 년 전
부모
커밋
e1ac43294f
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      Working-for-Web-(HTML5).md

+ 3
- 1
Working-for-Web-(HTML5).md

@ -153,7 +153,9 @@ endif ()
## 3. Setup raylib game for web
To setup your game to compile for web there are two possible options:
At this point, if you optionally want to compile the provided examples for the web, there is another Makefile to configure. Make sure all paths to emscripten installation (`EMSDK_PATH`) and emscripten required tools (Clang, Python, Node) are correctly configured on `raylib/examples/Makefile`, you must verify [these lines](https://github.com/raysan5/raylib/blob/master/examples/Makefile#L134). Then start up Notepad++ for raylib, open the `raylib/examples/Makefile` file, press F6, choose `raylib_makefile`, verify that in the script the web platform is set (`SET PLATFORM=PLATFORM_WEB`) and click OK to run the script. It will compile all the examples. It will compile all the examples for the web.
To setup your own game to compile for web there are two possible options:
### 3.1 Avoid raylib `while(!WindowShouldClose())` loop

불러오는 중...
취소
저장