godotjs / javascript

Javascript binding for godotengine
https://godotjs.github.io/
MIT License
963 stars 84 forks source link

Is possible to use this with CoffeeScript #111

Closed Jeremi360 closed 2 years ago

Jeremi360 commented 2 years ago

I always wanted to try CoffeeScript with godot. CoffeeScript is compiled to JS, so it should be possible.

If this is possible can you give an example how ?

scgm0 commented 2 years ago

可以参考typescript代码的使用。

Jeremi360 commented 2 years ago

可以参考typescript代码的使用。

Sorry @scgm0 , but I don't understand Japanese.

greenbas commented 2 years ago

They're speaking chinese, and according to deepL, they're asking you to refer to how typescript is used to use coffeescript.

If you can set things up so that the coffeescript files are compiled to js before godot goes to use them, then it can work.

Jeremi360 commented 2 years ago

They're speaking chinese, and according to deepL, they're asking you to refer to how typescript is used to use coffeescript.

If you can set things up so that the coffeescript files are compiled to js before godot goes to use them, then it can work.

Okey I see thanks @greenbas