{"id":13624278,"url":"https://github.com/julien/generator-phaser","last_synced_at":"2025-05-16T12:05:19.371Z","repository":{"id":11561991,"uuid":"14048720","full_name":"julien/generator-phaser","owner":"julien","description":"A yeoman generator for phaser games","archived":false,"fork":false,"pushed_at":"2024-12-26T00:20:45.000Z","size":1252,"stargazers_count":260,"open_issues_count":0,"forks_count":32,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-02T03:14:37.003Z","etag":null,"topics":["gamedev","javascript","phaser","phaserjs","yeoman"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/julien.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":"2013-11-01T17:11:33.000Z","updated_at":"2024-12-26T00:19:41.000Z","dependencies_parsed_at":"2025-02-07T10:10:52.138Z","dependency_job_id":"0fd2a3b7-5245-4f61-acac-6692f305b5cd","html_url":"https://github.com/julien/generator-phaser","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/julien%2Fgenerator-phaser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julien%2Fgenerator-phaser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julien%2Fgenerator-phaser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julien%2Fgenerator-phaser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julien","download_url":"https://codeload.github.com/julien/generator-phaser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980836,"owners_count":21027808,"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":["gamedev","javascript","phaser","phaserjs","yeoman"],"created_at":"2024-08-01T21:01:40.955Z","updated_at":"2025-04-09T05:07:11.878Z","avatar_url":"https://github.com/julien.png","language":"JavaScript","readme":"generator-phaser\n=================\n\nA [Yeoman](http://yeoman.io/) generator to create HTML5 games with [Phaser](http://phaser.io/). This generator allows for the creation of Phaser games with best practices. The main generator (`yo phaser`) outputs a basic Phaser game. You can also generate new prefabs (`yo phaser:prefab`) or states (`yo phaser:state`) to add to your project.\n\nYou can view your game in the browser by running `npm start` from the project's root directory and the web page will refresh as you save your files.\n\nWhen you are ready to publish, build your game with `npm run build` and view the output in the `build/` folder. The build process minifies and compresses individual files into one file for faster network downloading, the source code is transpiled to ES5 compatible JavaScript using [Babel](https://babeljs.io/).\n\n**INSTRUCTIONS**\n\n+ Install [Node.js](http://www.nodejs.org)\n\n+ Install the required npm modules by issuing these commands:\n\n  `npm install -g yo generator-phaser`\n\n+ Create a new directory for your game:\n  + Unix/OSX : `mkdir ~/Desktop/mygame \u0026\u0026 cd $_`\n  + Windows  : `mkdir %USERPROFILE%\\Desktop\\mygame \u0026\u0026 cd %USERPROFILE%\\Desktop\\mygame`\n\n+ Invoke the generator:\n\n  `yo phaser`\n\n+ Invoke the state generator (Note: this updates \u0026 overwrites `main.js`):\n\n  `yo phaser:state`\n\n+ Invoke the prefab generator:\n\n  `yo phaser:prefab`\n\n+ Invoke the shader generator:\n\n  `yo phaser:shader`\n\n+ Run a local development server (livereload enabled) with this command:\n\n  `npm start`\n\n+ Package your game (i.e. minify css, html and js) with:\n\n  `npm run build`\n\n**Notes**\n\nThe game's `main.js` file will be updated with new states when you run the state generator.\nIt adds in .js files found in the `src/states/` directory.\n\n**CREDITS**\n\n+ [@photonstorm](https://github.com/photonstorm/) for creating\n  [Phaser](https://github.com/photonstorm/phaser).\n\n+ The guys behind [yeoman](https://github.com/yeoman/yeoman).\n\n+ [Gulp.js](http://www.gulpjs.com)\n\n+ [Ben Alman](http://benalman.com/) for [Grunt](http://gruntjs.com/)\n\n+ [Keney.nl](http://kenney.nl/assets/shooting-gallery) for the default game's images, [erkanozan](https://www.freesound.org/people/erkanozan/sounds/51749/) for gunshot audio,  [iut_Paris8](https://www.freesound.org/people/iut_Paris8/sounds/88243/) for 'ding' audio\n\n+ All other repo contributors\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien%2Fgenerator-phaser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulien%2Fgenerator-phaser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien%2Fgenerator-phaser/lists"}