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 /2026/index.html | |
| parent | 65e6af81bd18685a84228d5752b67c979d457934 (diff) | |
Update
Diffstat (limited to '2026/index.html')
| -rw-r--r-- | 2026/index.html | 12 |
1 files changed, 7 insertions, 5 deletions
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)); |
