diff options
| author | LLLL Colonq <llll@colonq> | 2026-06-02 04:39:59 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-06-02 04:39:59 -0400 |
| commit | d3396f0433d606bc70fc5d624a7e07293a7b77ce (patch) | |
| tree | 771647de06fef82c3451a7c878402f326f050148 | |
| parent | 65e6af81bd18685a84228d5752b67c979d457934 (diff) | |
Update
| -rw-r--r-- | 2026/README.org | 2 | ||||
| -rw-r--r-- | 2026/index.html | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/2026/README.org b/2026/README.org index 522ce0a..65a8f39 100644 --- a/2026/README.org +++ b/2026/README.org @@ -13,6 +13,6 @@ python3 -m http.server and then open [[http://localhost:8000]]. -For testing, you can add your own game to the list of game URLs in [[./index.html]]. +For testing, you can add your own game to the list of game URLs at the top of [[./index.html]]. Note that this is all still very early stages, so things may evolve and churn unexpectedly. Here be dragons! diff --git a/2026/index.html b/2026/index.html index 14f629a..68a44bc 100644 --- a/2026/index.html +++ b/2026/index.html @@ -1,5 +1,12 @@ <!DOCTYPE html> <html lang="en"> + <script type="module"> + window.microgames = [ + {url: "./examples/raylib/output/index.html", loaded: null, ready: false}, + {url: "./examples/godot/output/index.html", loaded: null, ready: false}, + {url: "./examples/js/index.html", loaded: null, ready: false}, + ]; + </script> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> @@ -49,11 +56,6 @@ <script type="module"> let framing = document.getElementById("jam-framing-iframe"); let microgame_index = 0; - let microgames = [ - {url: "./examples/raylib/output/index.html", loaded: null, ready: false}, - {url: "./examples/godot/output/index.html", loaded: null, ready: false}, - {url: "./examples/js/index.html", loaded: null, ready: false}, - ]; let iframes = [...Array(5).keys()].map(i => document.getElementById(`jam-game-iframe-${i}`)); function resizeView() { let least_ratio = Math.min(Math.floor(window.innerWidth / 480), Math.floor(window.innerHeight / 320)); |
