ECMAScript icon indicating copy to clipboard operation
ECMAScript copied to clipboard

Missing template / examples for pre-release

Open rmgaray opened this issue 2 years ago • 2 comments

Hello! As a newcomer, I am having some issues trying out this project in its pre-release state. There are templates and examples for Godot 3.5, but this is unfortunately of no use to me, as I need to use Godot 4.X .

When testing the projects at ECMAScriptDemos, none of the Javascript implemented classes seem to work (e.g: the sprite in the npm_module example does not spin). Of course, these projects were written for Godot 3.5 and needed to be converted to 4.X, so I don't expect them to work without some work in updating them.

Could perhaps the developers of this project kindly provide an example project using the latest pre-release of ECMAScript? Or maybe some instruction on how to set up such an example? I can provide more information if necessary about the issues I found when trying the ECMAScript demos.

rmgaray avatar Nov 16 '23 20:11 rmgaray

Created a simple template for 4.x to show npm module usage. Hope it would be helpful for now: https://github.com/Cumulativerse/godot-js-template

I am not developer of this ECMAScript project

fukaraadam avatar Nov 21 '23 15:11 fukaraadam

Thank you @fukaraadam! I will happily study your template.

rmgaray avatar Nov 21 '23 20:11 rmgaray