ECMAScript icon indicating copy to clipboard operation
ECMAScript copied to clipboard

How do the Godot APIs get registered in JS?

Open arunvickram opened this issue 5 years ago • 1 comments

Hi,

I've been toying around with the ECMAScript module for a bit and I've been experimenting with adding Clojurescript support via shadow-cljs. Basically, the status is that the outputted JS from Clojurescript works in Godot, but I'm having trouble getting a REPL working. I was wondering how/at what stage does the Godot API enter globalThis? Also, at what point can the Javascript code be run, can it only be run ingame or no?

arunvickram avatar Dec 24 '20 16:12 arunvickram

Any updates on this?

oxr463 avatar Oct 09 '21 02:10 oxr463