Closed Sheepolution closed 3 years ago
I would like to be able to set a variable in LÖVE that I can then read with Javascript.
So very simple:
-- Lua foo = true
// Javascript bar = loveWasm.getValue("foo") if (bar) { console.log("foo is true"); }
This could allow for page and game interactions which can be useful.
You're probably looking for https://github.com/Davidobot/love.js/issues/26 ?
Oh, I suppose I do. Thanks, and sorry for missing that issue.
I would like to be able to set a variable in LÖVE that I can then read with Javascript.
So very simple:
This could allow for page and game interactions which can be useful.