Skip to content

Vercix/fre-godot-demo-project

Repository files navigation

Godot-Fre Demo Project

What


This is a demo project for fre-godot. A fre fork for the Godot engine with javascript bindings.


How to use


Start by installing the packages:

npm install

Then build root.

npm run watch

Actual godot project is in project folder.


You need to bundle npm packages:

Because the javascript vm used, in the Godot engine with javascript bindings, is QuickJS.


Important: if you want to use the demo project and start changing the folder structure.
See more details at the javascript bindings repository.


Important Notes:

  1. Project is build using esbuild.

  2. Have a look at /src/fre-godot

  3. Its designmated for bundling in scripts.json.

  4. Which is used in /build.js


  • I did my own hack for injecting jsx imports from /src/fre-godot. See injectFre plugin in /build.js