pewpew

时间:2021-03-07 04:49:07
【文件属性】:
文件名称:pewpew
文件大小:117KB
文件格式:ZIP
更新时间:2021-03-07 04:49:07
TypeScript 新项目 该项目基于 , 是一个可破解的模板,用于创建小型而快速的浏览器游戏。 本地运行 要在本地运行,请安装依赖项并启动本地开发服务器: npm install npm start 然后,在浏览器中打开 。 在VS Code中,Ctrl + Shift + B将显示可用的构建任务,包括npm start ,而F5将打开浏览器。 建筑 要生成优化的版本,请在play/使用Makefile 。 make -C play 默认目标将创建一个HTML文件play/index.html ,所有资源都将内联。 如果您安装了7-Zip命令行实用程序(在Ubuntu上为p7zip-full ),则可以通过运行以下命令来构建ZIP文件: make -C play index.zip
【文件预览】:
pewpew-master
----package.json(1KB)
----.github()
--------workflows()
----.prettierrc(102B)
----index.html(2KB)
----LICENSE(764B)
----package-lock.json(250KB)
----src()
--------entity.ts(770B)
--------scenes()
--------game.ts(3KB)
--------world.ts(3KB)
--------loop.ts(428B)
--------systems()
--------components()
--------config.ts(239B)
--------index.ts(622B)
----tsconfig.json(299B)
----common()
--------number.ts(445B)
--------window.d.ts(104B)
--------quat.ts(6KB)
--------mat4.ts(9KB)
--------audio.ts(6KB)
--------texture.ts(3KB)
--------vec3.ts(3KB)
--------random.ts(465B)
--------vec2.ts(2KB)
--------mat2d.ts(3KB)
--------html.ts(520B)
--------aabb.ts(3KB)
--------easing.ts(2KB)
--------math.ts(1KB)
--------webxr.d.ts(5KB)
--------webgl.ts(79KB)
--------material.ts(1KB)
--------raycast.ts(5KB)
----play()
--------game.css(188B)
--------terser_compress.txt(81B)
--------game.html(232B)
--------posthtml.cjs(882B)
--------Makefile(936B)
--------sed.txt(109B)
----.gitignore(34B)
----README.md(784B)
----favicon.ico(31KB)
----.vscode()
--------launch.json(749B)
--------settings.json(288B)
--------tasks.json(428B)

网友评论