Coder Social home page Coder Social logo

ecmascript's Introduction

GodotJS - JavaScript language binding for Godot game engine

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

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 started

Read the getting-started.

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]:Geequlim/ECMAScript.git godot/modules/javascript or
    • git clone https://github.com/Geequlim/ECMAScript.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

Documentation, Tutorials & Demos

Read this documentation or look at the tutorials or demos:

ecmascript's People

Contributors

geequlim avatar fire avatar nmerget avatar why-try313 avatar teashrock avatar ogrotten avatar michaelbelousov avatar poohcom1 avatar sanikoyes avatar 94pxls avatar vonagam avatar flux159 avatar lewiji avatar animanmaster avatar zw7u9tru avatar rosshadden avatar thecolorred avatar tomcaserta avatar beicause avatar jaune avatar jv-vogler avatar asakuramizu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.