Update README.md

This commit is contained in:
Stephen Seo 2024-09-18 21:46:12 +09:00
parent 96e76cc4d4
commit d231859fe2

View file

@ -19,11 +19,11 @@ Just run `make` in the root of this project.
## Other Notes
This `raylib` branch pulls the repository (if it doesn't exist) and builds it.
It should do this automatically when you invoke `make`.
The current set up of the update/draw loop uses
`emscripten_set_main_loop_arg(...)` with parameters that should call the
browser's `requestAnimationFrame` that should call `update` and `draw` once per
each frame at the fps that the browser decides, which should match the fps of
your display.
If you want to use graphics, I suggest using/building `raylib`, but that will
require building it separately with `emsdk` and linking to it in the Makefile.