Skip to content
项目

关于

通过 V8、QuickJS、JavaScriptCore 和浏览器为 Godot 4.x 添加 TypeScript/JavaScript 支持。

网站与应用开发

这些数字如何统计

可以做什么

  • Godot ScriptLanguage integration
  • Debug with Chrome/VSCode (with v8) and Safari (with JavaScriptCore)
  • Support for multiple javascript engines (v8, quickjs, quickjs-ng, JavaScriptCore, the host Browser JS)
  • Worker threads (limited support) (experimental)

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

GodotJS Logo

GodotJS

TypeScript/JavaScript Support for Godot 4.x by leveraging the high-performance capabilities of V8 to bring the delightful development experience of TypeScript into Godot.

Build Status MIT License

Documentation

For full documentation, visit godotjs.github.io.


See Breaking Changes if upgrading from old versions.

[!NOTE] The core functionality is implemented and essentially usable but still under testing.

typescript_intellisence

Features

  • Godot ScriptLanguage integration
  • Debug with Chrome/VSCode (with v8) and Safari (with JavaScriptCore)
  • REPL in Editor
  • Hot-reloading
  • Support for multiple javascript engines (v8, quickjs, quickjs-ng, JavaScriptCore, the host Browser JS)
  • Worker threads (limited support) (experimental)
  • Asynchronously loaded modules (limited support) (temporarily only available in v8.impl, quickjs.impl)

Examples

For more information on how to use GodotJS in a project, check out GodotJSExample for examples written in typescript.
And, don't forget to run npm install and npx tsc before opening the example project.

Example: Snake Example: Jummpy Bird

探索相关项目

加载中…