godotjs / godotjs/javascript

How do the Godot APIs get registered in JS?

Ouverte
#85 1 commentaire 3 réactions 0 personnes assignées Voir sur GitHub
enhancement investigation
Langage dominant
C++
Étoiles
1.1k
Forks
80
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.