Updated Working for Web (HTML5) (markdown)

master
Ray 3 年之前
父節點
當前提交
d8d5fabe20
共有 1 個文件被更改,包括 10 次插入4 次删除
  1. +10
    -4
      Working-for-Web-(HTML5).md

+ 10
- 4
Working-for-Web-(HTML5).md

@ -210,10 +210,6 @@ Here some of those additional flags:
--profiling // Include information for code profiling
```
FAQ:
wasm-ld: error: unknown file type: rglfw.o
### 4.2 Using Makefile
To configure all required compilation flags for web, an already setup `Makefile` is provided, you can check [raysan5/raylib-game-template](https://github.com/raysan5/raylib-game-template) for reference.
@ -286,3 +282,13 @@ Upload the `project_name.zip` to a new itch.io project and select the option for
You have some additional config options on the itch.io game section: `Embed options`
When saving the page and entering your itch.io game page, it should be playable!
## FAQ | Common Issues
Q: When compiling my game I got this error with `libraylib.a`:
```
wasm-ld: error: unknown file type: rglfw.o
```
A: That's because it includes symbols from a previous compilation. Just delete all generated .o and `libraylib.a` and compile it again for web.
**Please, feel free to add here your FAQ/Issues to help others!!!**

Loading…
取消
儲存