{"id":22826970,"url":"https://github.com/phasereditor2d/starter-template-basic-typescript","last_synced_at":"2026-04-30T00:03:40.872Z","repository":{"id":107663807,"uuid":"402291130","full_name":"PhaserEditor2D/starter-template-basic-typescript","owner":"PhaserEditor2D","description":"Basic TypeScript project template for Phaser Editor 2D.","archived":false,"fork":false,"pushed_at":"2024-01-11T10:56:53.000Z","size":127,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T06:16:52.844Z","etag":null,"topics":["2d-game","editor","html5-game","ide","phaser"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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-02T04:39:31.000Z","updated_at":"2024-05-29T13:22:25.000Z","dependencies_parsed_at":"2023-03-10T19:45:46.401Z","dependency_job_id":"1f41d99c-15c5-40a9-acb8-af718d1787eb","html_url":"https://github.com/PhaserEditor2D/starter-template-basic-typescript","commit_stats":null,"previous_names":[],"tags_count":7,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhaserEditor2D%2Fstarter-template-basic-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhaserEditor2D%2Fstarter-template-basic-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhaserEditor2D%2Fstarter-template-basic-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhaserEditor2D%2Fstarter-template-basic-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhaserEditor2D","download_url":"https://codeload.github.com/PhaserEditor2D/starter-template-basic-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399790,"owners_count":20770907,"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":["2d-game","editor","html5-game","ide","phaser"],"created_at":"2024-12-12T18:07:14.733Z","updated_at":"2026-04-30T00:03:40.832Z","avatar_url":"https://github.com/PhaserEditor2D.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic TypeScript 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-typescript)\n\nThis is a Phaser Editor 2D v3 project template.\n\n## Configuration\n\n* It includes the latest Phaser v3 runtime as a node package.\n* It is coded in TypeScript. The `tsc` is included as a node package.\n* It includes a VS Code project configuration (`jsconfig.json` file).\n\n## Compiles the source code\n\nThis project is based on TypeScript so for getting the game, first, you need to install TypeScript and other dependencies:\n\n```bash\n$ npm install\n$ npm update\n```\n\nThen, for running the game, you need to compile the TypeScript files:\n\n```bash\n$ npm run build\n```\n\nIt outputs the JavaScript code into the `game.js` file.\n\nOften, you would like to run the TypeScript compiler in watch mode:\n\n```bash\n$ npm run watch\n```\n\n## Run the editor\n\n* If you have NodeJS installed, you can run the editor using the `editor` NPM script, defined in the `package.json` file:\n\n    ```bash\n    $ npm install\n    $ npm run editor\n    ```\n\n* If 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\n* If you want to see all the editor options, run:\n\n    ```bash\n    $ npx phasereditor2d-launcher -help\n    ```\n\n* If 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 for 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-typescript) for starting 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 options of copy the URL, open the URL in a preview panel, or open the URL in a new tab.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphasereditor2d%2Fstarter-template-basic-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphasereditor2d%2Fstarter-template-basic-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphasereditor2d%2Fstarter-template-basic-typescript/lists"}