diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-12-22 22:17:44 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-12-22 22:17:44 -0600 |
| commit | 726876d42270f8974fd495be91127ea7585472ff (patch) | |
| tree | cfd6f6c32e1d6e97144e326092ae091a3e6f2795 /src/main.lua | |
| parent | 8fd93fad84e043def785e594b4745e56c88c5d48 (diff) | |
| download | ggj25-726876d42270f8974fd495be91127ea7585472ff.tar.gz ggj25-726876d42270f8974fd495be91127ea7585472ff.tar.bz2 ggj25-726876d42270f8974fd495be91127ea7585472ff.zip | |
Get things working
Diffstat (limited to 'src/main.lua')
| -rw-r--r-- | src/main.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.lua b/src/main.lua index 176cddc..8c8461a 100644 --- a/src/main.lua +++ b/src/main.lua @@ -4,11 +4,12 @@ print("Hello, world!") am.eval_js("console.log('Hello, js!')") local win = am.window{ - title = "Hi", + title = "ggj25", width = 1280, height = 720, clear_color = vec4(0.8, 0.8, 0.3, 1) } print("about to pcall") -local a,b = pcall(am.eval_js, require("js_bridge")) +am.eval_js(require("js_bridge")) +--local a,b = pcall(am.eval_js, require("js_bridge")) print("done with pcall", a,b) |
