godotjs / godotjs/javascript

How do the Godot APIs get registered in JS?

オープン
#85 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る
enhancement investigation
主要言語
C++
スター
1.1k
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。