Using JavaScript with GDevelop

GDevelopはゲーム制作の幅やゲームエンジンを拡張させられるよう、JavaScriptに対応してます。

JavaScript can be used to write part of a game, alongside with events.

ゲーム内にJavaScriptコードを追加

GDevelop supports adding JavaScript code blocks at any point in the events of your game. It's a good way to implement a complex algorithm or reuse functions from open-source libraries. Events and code blocks can seamlessly be mixed together - so you can implement parts or even the totality of your game with JavaScript!

The JavaScript editor is based on the super powerful Monaco Editor, extracted from Visual Studio Code. Intellisense autocompletions are provided and the editor supports advanced features like multi-selection for faster coding.

Learn more about using JavaScript.

Extend your game or GDevelop with JavaScript extensions

GDevelop is modular and can be extended to suit your needs. In particular, all features available to games (objects, behaviors, events) are based on the extension system. You can quickly create new extensions for your game or contribute to existing ones as GDevelop is open-source.

Learn how to write JavaScript powered extensions and read the game engine reference documentation.

Finally, note that in most cases you don't even need to quit GDevelop to write an extension in JavaScript, as most extensions can be built in the editor, directly in your game project.

The Dark theme being used in GDevelop. The code editor also comes bundled with several beautiful themes!