diff options
| author | LLLL Colonq <llll@colonq> | 2026-07-31 05:00:49 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-07-31 05:00:49 -0400 |
| commit | ea5332e4a1a035e888709bee278fcafb182f7922 (patch) | |
| tree | 7e1520391e7f04fa3df425fd9ed02008f748cdfd /2026/games/just__jane/src/main.cpp | |
| parent | 3ec03ba57474aa4320cb7901980b55706adbc111 (diff) | |
Update
Diffstat (limited to '2026/games/just__jane/src/main.cpp')
| -rw-r--r-- | 2026/games/just__jane/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2026/games/just__jane/src/main.cpp b/2026/games/just__jane/src/main.cpp new file mode 100644 index 0000000..2c07641 --- /dev/null +++ b/2026/games/just__jane/src/main.cpp @@ -0,0 +1,17 @@ +#include "raylib.h" + +#include <emscripten/em_types.h> +#include <emscripten/emscripten.h> +#include <emscripten/html5.h> + +#include <cut.hpp> +#include <game_loop.hpp> + +int main() { + InitWindow(GAME_WIDTH * SCALE, GAME_HEIGHT * SCALE, "sakura samurai"); + emscripten_run_script("window.parent.postMessage({op: \"ready\"});"); + emscripten_set_main_loop(UpdateDrawFrame, 30, 1); + // EM_ASM(window.lcolonqJamStart = 1.0;); + + return 0; +} |
