Geequlim / ECMAScript

Javascript binding for godotengine
MIT License
959 stars 84 forks source link

Missing template / examples for pre-release #179

Open rmgaray opened 9 months ago

rmgaray commented 9 months ago

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.

fukaraadam commented 9 months ago

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

rmgaray commented 9 months ago

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