javascript

Javascript binding for godotengine

MIT License

Stars
964

Bot releases are visible (Hide)

javascript - 4.1-v0.0.19-20240906 Latest Release

Published by nmerget 29 days ago

What's Changed

Full Changelog: https://github.com/Geequlim/ECMAScript/compare/v0.0.18...v0.0.19

javascript - 4.1-v0.0.18-alpha-20240903

Published by nmerget about 1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/Geequlim/ECMAScript/compare/v0.0.17...v0.0.18

javascript - 4.1-v0.0.17-alpha-20231003

Published by nmerget about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/Geequlim/ECMAScript/compare/191201...v0.0.17

javascript - QuickJS-binding-alpha16-20220418

Published by Geequlim over 2 years ago

What's Changed

Full Changelog: https://github.com/GodotExplorer/ECMAScript/compare/alpha15...alpha16

javascript - QuickJS-binding-alpha15-20220409

Published by Geequlim over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/GodotExplorer/ECMAScript/compare/alpha14...alpha15

javascript - QuickJS-binding-alpha14-20201213

Published by Geequlim almost 4 years ago

javascript - QuickJS-binding-alpha13-20200830

Published by Geequlim about 4 years ago

New Features

  • Add iterator support for Pool*Vector
  • Add godot.instance_from_id
  • [TypeScript] Add gdclass decorator to register anonymous ECMAClass
  • All virtual properties of builtin types are avaliable now

Improvements

  • Allow debug via network connection
  • Improved debugger
  • Improved javascript stacks parser
  • Improved console log functions to allow output colored message for console.warn and console.error
  • Improved multi-thread support
  • Improved error handling for worker callbacks
  • Improved ECMAScript classes, registered class properties are initialized when constructing now
  • Improved bytecode export support for ECMAScript modules
  • Display error message when cyclic module import detected
  • Improve the binding of builtin types allow extends builtin types in script

Bug Fix

  • Fix memory leak of Pooled Vectors
  • Fix crash when script method contains error called from C++
  • Fix argument may be freed when they are still in use
  • Fix missing constant and enumerations of some singletons
  • Fix tooled script property values missing

Download

The binaries are compiled with godot 3.2.2 stable

javascript - QuickJS-binding-alpha12-20200801

Published by Geequlim about 4 years ago

  • Fix 32bit CPU support issue
  • Support export scripts as encrypted file
  • Support export ECMAScript module to bytecode (expiremental)
  • Fix memory error of godot.Reference in release build
  • Add debugger support
  • [TypeScript] Add npm command to compile TypeScript and start start compilation server
javascript - QuickJS-binding-alpha11-20200711

Published by Geequlim over 4 years ago

  • Add API to get ArrayBuffer from godot.Pool*Array (with memory copy)
  • Add constructor overriding for godot.Pool*Array to construct from ArrayBuffer
  • Improved tool script reload workflow
  • Improved TypeScript decorators
  • Fix crash when constructor of ECMAClass contains error
  • Using DOMHighResTimeStamp value for requestAnimationFrame argument
  • Fix int value out of range when godot return a value larger than 2^32
  • Update QuickJS to 2020-07-05
javascript - QuickJS-binding-alpha10-20200625

Published by Geequlim over 4 years ago

  • Importing JSON file as javascript Object support
  • Improved property export from JavaScript classes
    • Support register advanced property from javascript ( For enumerations, value ranges etc
    • Allow using this in setter/getter of exported godot properties
  • Improved error message ouput
  • Fix memory error of reference type in some use case
  • TypeScript: Improved member decorators to support pure javascript class members
  • TypeScript: Add enum_property decorator to export enumeration property from class
  • Update godot engine code to 3.2.2 rc3
javascript - QuickJS-binding-alpha9-20200613

Published by Geequlim over 4 years ago

  • Add indexed property support
  • Add $ method to godot.Node act the same with godot.Node.get_node
  • Allow log object as JSON text for better debug workflow by enable console.LOG_OBJECT_TO_JSON
  • Add editor tool to genrate enumeration binding script for release build
  • TypeScript: Add onready decorator to get node when it is ready
  • TypeScript: Add signals decorator to register multiple signals from string arrays or key value objects.
  • Fix bugs in godot reference memory managerment
  • Fix bugs in module resolve
  • Fix module import in worker thread context
  • Update godot engine code to 3.2.2 rc1
javascript - QuickJS-binding-alpha8-20200607

Published by Geequlim over 4 years ago

  • Using .jsx as script extension that can attach to nodes
  • Add CommonJS module support
  • Allow using thirdparty libraries directly from npm
  • Improved typescript support
  • Fix memory leak for import statements
  • Fix memory leak for Reference types
javascript - QuickJS-binding-alpha7-20200603

Published by Geequlim over 4 years ago

  • TypeScript compile to ES2019 code
  • Bind all methods for PoolByteArray
  • Fix NAN and INF type declearations
javascript - QuickJS-binding-alpha6-20200526

Published by Geequlim over 4 years ago

Fix statck overflow error with release bug.

javascript - QuickJS-binding-alpha5-20200502

Published by Geequlim over 4 years ago

  • Fix error when retrive object with its class is not registed to ClassDB in godot
  • Update QuickJS to 2020-04-14
  • Compiled with Godot 3.2.2 beta
javascript - QuickJS-binding-alpha4-20200215

Published by Geequlim over 4 years ago

Update QuickJS to 2020-01-19
Allow operators between Builtin types and number

let v2 = new godot.Vector2(1, 2);
v2 *= 3.14; // It is valid

Compiled with godot 3.2.1 rc with 245ecb6684d089940273564fb7a314e5e11ea72e

javascript - QuickJS-binding-alpha3-20200110

Published by Geequlim almost 5 years ago

Performance improvement
Add tools to generate typescript project
Improve API resove support for IDEs with TypeScript support

javascript - QuickJS-binding-alpha2-191229

Published by Geequlim almost 5 years ago

Add multi-threading support with Worker API
Add editor tool to generate typescript project
Fix known error

javascript - QuickJS-binding-alpha1-191222

Published by Geequlim almost 5 years ago

Add godot.requestAnimationFrame and godot.cancelAnimationFrame
Update QuickJS to 2019-12-21

javascript - QuickJS-binding-alpha1-191221

Published by Geequlim almost 5 years ago