{"id":19831862,"url":"https://github.com/godotjs/godotjsexample","last_synced_at":"2025-05-01T16:32:35.584Z","repository":{"id":234898266,"uuid":"781468032","full_name":"godotjs/GodotJSExample","owner":"godotjs","description":"An example project for demonstrating the usage of GodotJS","archived":false,"fork":false,"pushed_at":"2025-02-28T10:10:20.000Z","size":15642,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T15:25:25.150Z","etag":null,"topics":["example","godot","godotjs","javascript","scripting","tutorial","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/godotjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-03T12:47:19.000Z","updated_at":"2025-03-29T12:41:03.000Z","dependencies_parsed_at":"2024-09-12T11:57:54.572Z","dependency_job_id":"d23a4f11-386f-4d7e-9ed0-12329d00903e","html_url":"https://github.com/godotjs/GodotJSExample","commit_stats":null,"previous_names":["ialex32x/godotjsexample","godotjs/godotjsexample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godotjs%2FGodotJSExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godotjs%2FGodotJSExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godotjs%2FGodotJSExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godotjs%2FGodotJSExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godotjs","download_url":"https://codeload.github.com/godotjs/GodotJSExample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251907015,"owners_count":21663198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example","godot","godotjs","javascript","scripting","tutorial","typescript"],"created_at":"2024-11-12T11:35:28.525Z","updated_at":"2025-05-01T16:32:35.576Z","avatar_url":"https://github.com/godotjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GodotJSExample\nThis project includes examples at different complexity levels, incrementally introducing and utilizing more engine features.\n\nA prebuilt version of `Godot Editor` can be downloaded from [GodotJS-Build](https://github.com/ialex32x/GodotJS-Build/releases).\n\n\u003e [!NOTE]\n\u003e Run `npm i` in the project folder before opening it in godot editor.  \n\u003e   \n\u003e And, so far, `npx tsc` (or `npx 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.\n\n## Snake \nA simple snake game. \nIn this example, only a limited subset of Godot's features is utilized: \n* script lifetime callbacks (_ready, _process etc.)\n* resource loader\n* using primitive types (float, bool, string, StringName)\n* export variables\n\n[![Snake](./raw/screenshots/snake_01.gif)](./snake/snake.ts)\n\n\n## JumpyBird\n\nAdditional features used:\n* Signals (connect `area_shape_entered` signal with js class member function)\n\n[![JumpyBird](./raw/screenshots/jumpybird.gif)](./jumpybird/jumpybird_main.ts)\n\n## Piggy\n\nAdditional features used:\n* `signal_` annotation\n* `onready_` annotation\n* `export_` annotation\n\n[![Piggy](./raw/screenshots/piggy.gif)](./piggy/piggy_main.ts)\n\n## Audio Generator\n\nThis is an example originally from https://godotengine.org/asset-library/asset/526  \n\nIt utilizes [ZzFXM](https://keithclark.github.io/ZzFXM/) which is written in pure javascript to play a 8bit-ish sound without audio media files.\n\n[![AudioGenerator](./raw/screenshots/audio_generator.gif)](./jumpybaudio_generatorird/generator_demo.ts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodotjs%2Fgodotjsexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgodotjs%2Fgodotjsexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodotjs%2Fgodotjsexample/lists"}