- Notifications
You must be signed in to change notification settings - Fork5
An example project for demonstrating the usage of GodotJS
License
godotjs/GodotJSExample
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project includes examples at different complexity levels, incrementally introducing and utilizing more engine features.
A prebuilt version ofGodot Editor can be downloaded fromGodotJS-Build.
Note
Runnpm i in the project folder before opening it in godot editor.
And, so far,npx tsc (ornpx tsc -w) must be run on your side to make the changes to the scripts take effect, since all.js files are not included in this git repository.
A simple snake game.In this example, only a limited subset of Godot's features is utilized:
- script lifetime callbacks (_ready, _process etc.)
- resource loader
- using primitive types (float, bool, string, StringName)
- export variables
Additional features used:
- Signals (connect
area_shape_enteredsignal with js class member function)
Additional features used:
signal_annotationonready_annotationexport_annotation
This is an example originally fromhttps://godotengine.org/asset-library/asset/526
It utilizesZzFXM which is written in pure javascript to play a 8bit-ish sound without audio media files.
About
An example project for demonstrating the usage of GodotJS
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.



