mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-29 18:29:18 -05:00
Updated Working for Web (HTML5) (markdown)
@ -210,10 +210,6 @@ Here some of those additional flags:
|
|||||||
--profiling // Include information for code profiling
|
--profiling // Include information for code profiling
|
||||||
```
|
```
|
||||||
|
|
||||||
FAQ:
|
|
||||||
|
|
||||||
wasm-ld: error: unknown file type: rglfw.o
|
|
||||||
|
|
||||||
### 4.2 Using Makefile
|
### 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.
|
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`
|
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!
|
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!!!**
|
||||||
|
|||||||
Reference in New Issue
Block a user