【文件属性】:
文件名称:vectorwar:一款 HTML5 多人游戏
文件大小:3.94MB
文件格式:ZIP
更新时间:2021-06-24 17:22:30
JavaScript
矢量战争
一款 HTML5 多人游戏
在此处查看应用程序: :
此应用程序基于本教程: :
学分:/public/credits.html
入门(使用 npm package.json)
获取 node.js
在克隆的文件夹中运行npm install
在克隆的文件夹中运行node app.js
访问
入门(手动安装)
获取 node.js (v0.10.25)
安装 socket.io npm install socket.io@0.9.17
安装 node-udid npm install node-uuid@1.3.3
安装 express npm install express@3.3.8
不同的版本可能也适用。
在克隆的文件夹中运行node app.js
访问
##创建地图
安装平铺地图编辑器
从地图目录复制地图
编辑你想要的
将其导出为 js
【文件预览】:
vectorwar-master
----README.md(1004B)
----maps()
--------cubefarm.tmx(931B)
--------sigma-delta.tmx(1KB)
--------octal.tmx(951B)
----public()
--------cache.appcache(301B)
--------index.css(7KB)
--------robots.txt(113B)
--------guide.html(948B)
--------layout.html(821B)
--------imgs()
--------js()
--------index.html(3KB)
--------favicon.ico(19KB)
--------layout.css(2KB)
--------sounds()
--------credits.html(2KB)
----LICENSE(1KB)
----game.server.js(11KB)
----app.js(4KB)
----package.json(385B)
----imgs()
--------tileset.png(23KB)