godotjs / godotjs/javascript

How do the Godot APIs get registered in JS?

Abierto
#85 1 comentario 3 reacciones 0 asignados Ver en GitHub
enhancement investigation
Lenguaje dominante
C++
Estrellas
1.1k
Forks
80
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.