godotjs / godotjs/javascript

How do the Godot APIs get registered in JS?

Aperta
#85 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
enhancement investigation
Lingua principale
C++
Stelle
1.1k
Fork
80
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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](https://github.com/arundilipan/CLJS-Godot). 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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.