{"id":25455497,"url":"https://github.com/idongliming/phaser3-typescript","last_synced_at":"2025-05-16T16:33:54.648Z","repository":{"id":39323569,"uuid":"220611871","full_name":"idongliming/phaser3-typescript","owner":"idongliming","description":"使用ts语言写的phaser游戏示例-中文","archived":false,"fork":false,"pushed_at":"2023-01-07T11:33:33.000Z","size":14131,"stargazers_count":3,"open_issues_count":15,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T00:58:34.137Z","etag":null,"topics":["game","phaser3","translation","tutorial"],"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/idongliming.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}},"created_at":"2019-11-09T08:13:11.000Z","updated_at":"2023-12-07T21:35:29.000Z","dependencies_parsed_at":"2023-02-07T01:16:21.841Z","dependency_job_id":null,"html_url":"https://github.com/idongliming/phaser3-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idongliming%2Fphaser3-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idongliming%2Fphaser3-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idongliming%2Fphaser3-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idongliming%2Fphaser3-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idongliming","download_url":"https://codeload.github.com/idongliming/phaser3-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254567253,"owners_count":22092738,"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":["game","phaser3","translation","tutorial"],"created_at":"2025-02-18T00:58:48.891Z","updated_at":"2025-05-16T16:33:54.581Z","avatar_url":"https://github.com/idongliming.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=60% src=\"assets/github/phaser3-typescript.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  用TypeScript语言和Phaser 3 框架开发的简单游戏 \n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  ![Dependencies](https://img.shields.io/david/idongliming/phaser3-typescript.svg)\n  ![GitHub issues](https://img.shields.io/github/issues/idongliming/phaser3-typescript.svg)\n  ![GitHub stars](https://img.shields.io/github/stars/idongliming/phaser3-typescript.svg)\n  ![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)\n  ![Code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)\n  ![GitHub licence](https://img.shields.io/github/license/idongliming/phaser3-typescript.svg)\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003e\n    Examples made with ❤︎ by \u003ca href=\"https://github.com/digitsensitive\"\u003edigitsensitive\u003c/a\u003e\u003c/br\u003e\n    Framework created by \u003ca href=\"https://github.com/photonstorm\"\u003ePhotonstorm\u003c/a\u003e\n  \u003c/sub\u003e\n\u003c/p\u003e\n\n# Phaser 3 and TypeScript\n\n[Phaser](https://github.com/photonstorm/phaser) 是一个优秀, 快速 并且开源面给的 HTML5 游戏框架。\n这里你会找到使用TypeScript和Phaser 3开发的游戏，愉快的开发和玩游戏\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://www.buymeacoffee.com/JZDVjsT26\" target=\"blank\"\u003e\n\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/black_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important; width: auto !important;\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## 快速开始\n\n### 前提\n\n```\n在 https://nodejs.org/en 下载安装Node.js \n```\n\n### 安装\n\n选择一个文件夹使用这条命令克隆这个仓库:\n\n```\ngit clone https://github.com/idongliming/phaser3-typescript.git\n```\n\n使用这条命令安装依赖:\n\n```\nnpm install\n```\n\n### 构建、运行\n\n执行构建 (bundle.js) 并且启动本地服务器:\n\n```\nnpm run dev\n```\n\n## 游戏示例\n\n![Beginner](https://img.shields.io/badge/Difficulty-Beginner-green.svg)\n\n\u003cp float=\"left\"\u003e\n  \u003ca href=\"src/games/coin-runner/coin-runner.md\"\u003e\u003cimg src=\"src/games/coin-runner/assets/github/coinRunner.png\"\u003e\u003c/a\u003e\n  \u003ca href=\"src/games/alpha-adjust/alpha-adjust.md\"\u003e\u003cimg src=\"src/games/alpha-adjust/assets/github/alphaAdjust.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp float=\"left\"\u003e\n  \u003ca href=\"src/games/snake/snake.md\"\u003e\u003cimg src=\"src/games/snake/assets/github/snake.png\"\u003e\u003c/a\u003e\n  \u003ca href=\"src/games/blockade/blockade.md\"\u003e\u003cimg src=\"src/games/blockade/assets/github/blockade.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp float=\"left\"\u003e\n  \u003ca href=\"src/games/asteroid/asteroid.md\"\u003e\u003cimg src=\"src/games/asteroid/assets/github/asteroid.png\"\u003e\u003c/a\u003e\n  \u003ca href=\"src/games/flappy-bird/flappy-bird.md\"\u003e\u003cimg src=\"src/games/flappy-bird/assets/github/flappyBird.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n![Intermediate](https://img.shields.io/badge/Difficulty-Intermediate-blue.svg)\n\n\u003cp float=\"left\"\u003e\n  \u003ca href=\"src/games/space-invaders/space-invaders.md\"\u003e\u003cimg src=\"src/games/space-invaders/assets/github/spaceInvaders.png\"\u003e\u003c/a\u003e\n  \u003ca href=\"src/games/tank/tank.md\"\u003e\u003cimg src=\"src/games/tank/assets/github/tank.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp float=\"left\"\u003e\n  \u003ca href=\"src/games/super-mario-land/super-mario-land.md\"\u003e\u003cimg src=\"src/games/super-mario-land/assets/github/super-mario-land.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n## 备忘录\n\n- [查看备忘录](https://github.com/idongliming/phaser3-typescript/blob/master/cheatsheets)\n\n\n## 外部资源\n\n- [Phaser 3 Framework](https://github.com/photonstorm/phaser)\n- [Phaser 3 Docs with TypeScript Definition File](https://github.com/photonstorm/phaser3-docs)\n- [Phaser 3 Online Docs](https://photonstorm.github.io/phaser3-docs/index.html)\n- [Phaser 3 Official Examples](https://github.com/photonstorm/phaser3-examples)\n- [Phaser 3 Discourse](https://phaser.discourse.group)\n\n## 有用的工具\n\n- [Leshy SpriteSheet Tool](https://www.leshylabs.com/apps/sstool)\n- [Tiled](https://www.mapeditor.org)\n- [Littera](http://kvazars.com/littera)\n- [Tile Extruder](https://github.com/sporadic-labs/tile-extruder)\n\n## TypeScript 配置\n\n### tsconfig.json\n\nThe following `Compiler Options` have been set in the `tsconfig.json` file:\n\n| Option | Value     |\n| :------------- | :------------- |\n| target       | ES2016 |\n| module       | CommonJS |\n| sourceMap    | true |\n| noImplicitAny| true [WIP] |\n| strict       | true [WIP] |\n\nYou can see the complete list of the available options at [here](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html).\nInteresting read about [setting up a nodejs-project](https://codeburst.io/tips-for-setting-up-a-typescript-nodejs-project-5d1c48dc1a2d).\n\n\n## 协议\n\n这个项目使用 MIT 协议 -  [LICENSE.md](https://github.com/digitsensitive/phaser3-typescript/blob/master/LICENSE).\n\n\u003e forked from [digitsensitive](https://github.com/digitsensitive/phaser3-typescript)","funding_links":["https://www.buymeacoffee.com/JZDVjsT26"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidongliming%2Fphaser3-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidongliming%2Fphaser3-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidongliming%2Fphaser3-typescript/lists"}