Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
J

javascript

> 编程语言
Open source

Javascript binding for godotengine

1.1K stars0 likes2 views
WebsiteGitHub

About

Javascript binding for godotengine

GodotJS

-- JavaScript and TypeScript language binding for Godot game engine --

This module implements JavaScript/TypeScript language support for the Godot game engine using QuickJS as the JavaScript engine.

Getting started

Read the getting-started.

Features

  • Almost complete ES2020 support
  • All Godot API available
  • Operator overriding for built-in types (Vector3, Color, etc)
  • TypeScript support
  • Using third-party libraries from npm
  • Multi-thread support with Worker API
  • Full code completion support for all Godot APIs including signals and enumerations
  • Debug in Visual Studio Code with the plugin - currently not available for 4.x

Getting the engine

No installation or setup necessary. The binaries for download are the complete, usable Godot editor and engine with JavaScript/TypeScript language support.

Binary downloads

Download the binaries from the release page.

Compiling from source

  • Clone the source code of godot:
    • git clone [email protected]:godotengine/godot.git or
    • git clone https://github.com/godotengine/godot.git
  • This branch uses version 4.1 so checkout the version with: git checkout 4.1
  • Clone this module and put it into godot/modules/javascript:
    • git clone [email protected]:godotjs/javascript.git godot/modules/javascript or
    • git clone https://github.com/godotjs/javascript.git godot/modules/javascript
  • Recompile the godot engine
    • Use scons with those additional options warnings=extra werror=yes module_text_server_fb_enabled=yes to show all potential errors:
      • Windows: scons platform=windows warnings=extra werror=yes module_text_server_fb_enabled=yes
      • MacOS: scons platform=macos arch=arm64 warnings=extra werror=yes module_text_server_fb_enabled=yes
    • Hint: To enable unit tests you need to add tests=true to scons arguments

Documentation, Tutorials & Demos

Read this documentation or look at the tutorials or demos:

  • ECMAScriptDemos - Demos
  • godot-ECMAScript-cookbook - Tutorial
  • godot-typescript-starter - Template
  • godot-js-template - Template

Contributing

If you like to contribute to this project check the CONTRIBUTING.md file.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++godotgodot-jsjavascripttypescript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言