ECMAScript
ECMAScript copied to clipboard
Javascript binding for godotengine
export default class Player extends godot.KinematicBody2D { constructor() { super(); this.direction = new godot.Vector2(1, 0); } _ready() { } _process(delta) { this.position.x += this.direction.x; //does nothing. Same if I use...
This pull request would implement the _new_ function. This will create a more convenient API for instantiating JavaScript classes in GDScript. For example: ``` gdscript var ControllerApp = preload("res://dist/GodotFreApp.jsx") #...
Currently, Godot will not recognize custom resource classes written in JS/TS.
Hello, I've having an issue about emitting the custom signal, I think it's broken. The built-in signal works just fine, but the custom are just having an issue.  This...
In C#, we are able to use the simplest and nice `` as a shortcut and cleaner version of `(T)` or `as` to convert the Node into other class that...
I have every way I can think of and it seems I cannot export my project to desktop. (A documentation would help lots.) If anyone knows how to export my...
Am I missing something? The OSX Binary release has no extension and wont launch from terminal....
As it is i much prefer javascript over gdscript however would like to get one thing sorted before trying out this package . . . what happens if i use...
I really like godot and javascript. But the latest supported version seems to be stuck at godot3.3. (My own attempt at compiling godot 3.4 failed.) godot4.0 has been tested for...
I can't import a library that doesn't have a class definition. All import ends with: ``` ERROR: get_instance_base_type: Parameter "ecma_class" is null. At: modules/ECMAScript/ecmascript.cpp:29 ``` Library i tried: https://csv.js.org/ https://www.papaparse.com/