{"id":22826985,"url":"https://github.com/phasereditor2d/starter-template-basic-javascript","last_synced_at":"2025-04-23T13:28:37.366Z","repository":{"id":107663793,"uuid":"402170560","full_name":"PhaserEditor2D/starter-template-basic-javascript","owner":"PhaserEditor2D","description":"Basic JavaScript project template for Phaser Editor 2D","archived":false,"fork":false,"pushed_at":"2024-01-11T10:50:07.000Z","size":2551,"stargazers_count":9,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T13:28:37.271Z","etag":null,"topics":["editor","html5-game","javsacript","phaser"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhaserEditor2D.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-09-01T18:53:30.000Z","updated_at":"2025-04-10T13:04:48.000Z","dependencies_parsed_at":"2023-03-13T14:34:29.596Z","dependency_job_id":"6bcd75f9-6de6-49f2-be2c-4d262901ea94","html_url":"https://github.com/PhaserEditor2D/starter-template-basic-javascript","commit_stats":null,"previous_names":[],"tags_count":9,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhaserEditor2D%2Fstarter-template-basic-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhaserEditor2D%2Fstarter-template-basic-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhaserEditor2D%2Fstarter-template-basic-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhaserEditor2D%2Fstarter-template-basic-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhaserEditor2D","download_url":"https://codeload.github.com/PhaserEditor2D/starter-template-basic-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250439777,"owners_count":21430897,"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":["editor","html5-game","javsacript","phaser"],"created_at":"2024-12-12T18:07:24.317Z","updated_at":"2025-04-23T13:28:37.307Z","avatar_url":"https://github.com/PhaserEditor2D.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic JavaScript project template\n\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/PhaserEditor2D/starter-template-basic-javascript)\n\nThis is a Phaser Editor 2D v3 project template.\n\n## Configuration\n\n* It includes the latest Phaser v3 runtime (in the `lib/` folder).\n* It is coded in JavaScript.\n* It includes a VS Code project configuration (`jsconfig.json` file) and the type definitions (in the `types/` folder).\n\n## Run the editor\n\nIf you have NodeJS installed, you can run the editor using the `editor` NPM script, defined in the `package.json` file.\n\nFirst you have to install \u0026 update the dependencies:\n\n```bash\n$ npm install\n$ npm update\n```\n\nAnd then you can run the editor:\n\n```bash\n$ npm run editor\n```\n\nIf you are in a remote environment (like the Gitpod.io IDE), then run the editor like this:\n\n```bash\n$ npm run editor-remote\n```\n\nIf you want to see all the editor options, run:\n\n```bash\n$ npx phasereditor2d-launcher -help\n```\n\nIf Phaser Editor 2D Core is globally installed, you can run:\n\n```bash\n$ PhaserEditor2D -project .\n```\n\n## Gitpod\n\nThis repository is ready to start coding in Gitpod, a Cloud Development Environment. You only need to [click on [this link](https://gitpod.io/#https://github.com/PhaserEditor2D/starter-template-basic-javascript) to start a new workspace.\n\nThis is what Gitpod does:\n\n- Creates a workspace for this project.\n- Opens VS Code to edit this repo.\n- Installs \u0026 updates the dependencies of this repo.\n- Runs Phaser Editor 2D Core server in port `1959`.\n\nIn the **Ports** panel in VS Code, it shows the links for opening the editor (port `1959`). It gives you the option of copying the URL, opening the URL in a preview panel, or opening the URL in a new tab.\n\n## Script Nodes\n\nScript nodes are logic objects. You can add a script node to the scene or a game object, for extending it with custom data and behavior.\n\nThis project includes the script libraries:\n\n- [@phasereditor2d/scripts-core](https://github.com/PhaserEditor2D/phasereditor2d-scripts-core)\n- [@phasereditor2d/scripts-simple-animations](https://github.com/PhaserEditor2D/phasereditor2d-scripts-simple-animations#duration-config)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphasereditor2d%2Fstarter-template-basic-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphasereditor2d%2Fstarter-template-basic-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphasereditor2d%2Fstarter-template-basic-javascript/lists"}