Help explain clearly how to run the script to compile raylib for PLATFORM_WEB

master
Utarize 4 년 전
부모
커밋
9cd8bcd95c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      Working-for-Web-(HTML5).md

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

@ -31,7 +31,7 @@ Before compiling your game, raylib library **must be recompiled for HTML5**, gen
Before compiling raylib, make sure all paths to emscripten (`EMSDK_PATH`) and tools are correctly configured on `C:/raylib/raylib/src/Makefile`, you must verify [these lines](https://github.com/raysan5/raylib/blob/master/src/Makefile#L149).
To compile raylib source code, just execute Notepad++ script: `raylib_makefile` and `SET PLATFORM=PLATFORM_WEB`. That script just calls the following `make` line (in case you're are working on a custom environment):
To compile raylib source code, just execute Notepad++ script: `raylib_makefile` and `SET PLATFORM=PLATFORM_WEB`. To do this, start up Notepad++ for raylib, open the `raylib.h` file, press F6, choose `raylib_makefile`, verify that in the script `SET PLATFORM=PLATFORM_WEB`, then click OK to run the script. That script just calls the following `make` line (in case you're are working on a custom environment):
`make PLATFORM=PLATFORM_WEB -B`

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