游戏模板:使用Electron和Angular以及Phaser游戏引擎的跨平台项目模板。 Project集成了Flexbox,可...

Coher3nTS项目这是一个Angular项目模板,其内部嵌套有Phaser,并设置为与Electron一起运行。跨平台和响应式该模板应在任何桌面操作系统上运行。 Flexbox集成允许响应性极强的设计元素。 Angular和Phaser可以很容易地与Electron分离,从而可以使用不同的框架进行移动部署。易于构建使用HTML,CSS和Typescript进行构建入门先决条件(您无需经过步骤1) npm install electron -g全局安装电子并设置路径。 npm install在项目根文件夹中,以确保安装了所有依赖项。跑步项目根文件夹中的npm run-script start命令将同时运行ng serve和npm run-script electron来启动项目。发球需要一分钟才能完成。希望将尽快修复此问题,以便等角度编译完成后自动重新加载电子。去做设置配置以指向Electron的main.js中项目的正确托管环境在Angular运行时正确将index.html暴露给Electron(已证明很难在一个运行脚本中执行此操作,因为您
zip
game-template-master.zip 预估大小:41个文件
folder
game-template-master 文件夹
file
browserslist 429B
folder
bin 文件夹
file
Microsoft.NodejsTools.WebRole.dll 26KB
file
tsconfig.app.json 210B
file
NodejsWebApp1.njsproj.user 381B
file
package.json 2KB
file
tslint.json 3KB
file
NodejsWebApp1.njsproj 6KB
folder
obj 文件夹
folder
Debug 文件夹
file
NodejsWebApp1.njsprojAssemblyReference.cache 4KB
folder
.github 文件夹
file
FUNDING.yml 64B
file
tsconfig.spec.json 270B
file
angular.json 4KB
file
LICENSE 1KB
file
package-lock.json 545KB
file
NodejsWebApp1.vstemplate 796B
folder
src 文件夹
file
test.ts 753B
folder
assets 文件夹
file
phaser.min.js 948KB
folder
.gitkeep 文件夹
file
index.html 553B
folder
app 文件夹
file
app.module.ts 499B
file
app.component.spec.ts 1KB
folder
app.component.scss 文件夹
file
app.component.ts 989B
file
app.component.html 96B
file
app-routing.module.ts 246B
file
styles.scss 187B
file
main.ts 387B
file
polyfills.ts 3KB
folder
environments 文件夹
file
environment.ts 662B
file
environment.prod.ts 51B
file
favicon.ico 66KB
file
libman.json 71B
file
tsconfig.json 645B
folder
e2e 文件夹
file
protractor.conf.js 808B
folder
src 文件夹
file
app.po.ts 301B
file
app.e2e-spec.ts 645B
file
tsconfig.json 214B
file
main.js 811B
file
.gitignore 635B
file
karma.conf.js 1024B
file
README.md 4KB
file
.editorconfig 274B
zip 文件大小:429.41KB