From 283174497abd1b1ff072e65cf1891778579d17e7 Mon Sep 17 00:00:00 2001 From: Krasilnikov Roman Date: Wed, 21 Feb 2024 21:27:30 +0300 Subject: [PATCH] Events queue --- README.md | 2 +- index.html | 20 +++++++++++++++++++- raylib_worker.js | 33 ++++++++++++++++++++++++++------- shared_queue.js | 10 ++++++++++ 4 files changed, 56 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9833ca9..c3390c9 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ We have no plans to replace the official Emscripten version of Raylib. This is a The demo is deployed to GitHub pages: https://tsoding.github.io/raylib.js/ But you can run it locally. ```console -$ python3 -m http.server 6969 +$ python3 server.py $ http://localhost:6969/ ``` diff --git a/index.html b/index.html index 1f79d11..2f07167 100644 --- a/index.html +++ b/index.html @@ -56,9 +56,17 @@ font-family: grixel; src: url(fonts/acme_7_wide_xtnd.woff); } + + .warning-msg { + color: red; + font-weight: bold; + } +
+ SharedArrayBuffer is not available. +