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`

Завантаження…
Відмінити
Зберегти