BrowserQuest server documentation
=================================
The game server currently runs on nodejs v0.4.7 (but should run fine on the latest stable as well) and requires the latest versions of the following npm libraries:
- underscore
- log
- bison
- websocket
- websocket-server
- sanitizer
All of them can be installed via `npm install [module_name]`
Configuration
-------------
The server settings (number of worlds, number of players per world, etc.) can be configured.
Copy `config_local.json-dist` to a new `config_local.json` file, then edit it. The server will override default settings with this file.
Deployment
----------
In order to deploy the server, simply copy the `server` and `shared` directories to the staging/production server.
Then run `node server/js/main.js` in order to start the server.
Note: the `shared` directory is the only one in the project which is a server dependency.
Monitoring
----------
The server has a status URL which can be used as a health check or simply as a way to monitor player population.
Send a GET request to: `http://[host]:[port]/status`
It will return a JSON array containing the number of players in all instanced worlds on this game server.
没有合适的资源?快使用搜索试试~ 我知道了~
H5小游戏源码 BrowserQuest源代码.zip
共408个文件
png:235个
json:74个
js:74个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 120 浏览量
2023-10-14
16:56:45
上传
评论
收藏 2.7MB ZIP 举报
温馨提示
游戏源码 欢迎下载
资源推荐
资源详情
资源评论
收起资源包目录
H5小游戏源码 BrowserQuest源代码.zip (408个子文件)
main.css 86KB
achievements.css 22KB
ie.css 259B
empty.cur 1KB
advocut-webfont.eot 12KB
graphicpixel-webfont.eot 11KB
spinner.gif 9KB
.gitignore 91B
index.html 16KB
promo-title.jpg 51KB
screenshot.jpg 34KB
world_client.js 446KB
r.js 337KB
require-jquery.js 314KB
game.js 94KB
renderer.js 28KB
worldserver.js 26KB
app.js 18KB
gameclient.js 16KB
character.js 16KB
css3-mediaqueries.js 16KB
player.js 13KB
stacktrace.js 13KB
main.js 13KB
underscore.min.js 10KB
map.js 10KB
updater.js 9KB
ws.js 9KB
audio.js 9KB
gametypes.js 8KB
bison.js 7KB
player.js 7KB
entity.js 7KB
npc.js 6KB
map.js 6KB
entityfactory.js 6KB
astar.js 5KB
sprite.js 5KB
message.js 5KB
mobs.js 5KB
storage.js 4KB
main.js 4KB
mob.js 4KB
items.js 3KB
properties.js 3KB
pathfinder.js 3KB
sprites.js 3KB
text.js 3KB
infomanager.js 3KB
bubble.js 3KB
metrics.js 3KB
npcs.js 3KB
camera.js 2KB
character.js 2KB
format.js 2KB
class.js 2KB
class.js 2KB
transition.js 2KB
mobarea.js 2KB
area.js 2KB
modernizr.js 2KB
animation.js 2KB
mapworker.js 2KB
utils.js 1KB
entity.js 1KB
item.js 1KB
log.js 975B
detect.js 970B
util.js 832B
tile.js 824B
item.js 823B
build.js 755B
chestarea.js 663B
formulas.js 611B
area.js 608B
checkpoint.js 595B
chest.js 580B
config.js 567B
chest.js 511B
timer.js 467B
mob.js 275B
exceptions.js 237B
warrior.js 219B
npc.js 130B
home.js 110B
world_client.json 446KB
world_server.json 122KB
boss.json 595B
wizard.json 593B
crab.json 591B
rat.json 556B
morningstar.json 554B
deathknight.json 554B
leatherarmor.json 554B
goldensword.json 554B
goldenarmor.json 553B
bluesword.json 552B
platearmor.json 552B
skeleton2.json 552B
clotharmor.json 552B
共 408 条
- 1
- 2
- 3
- 4
- 5
资源评论
苍穹一梦
- 粉丝: 827
- 资源: 2468
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- 关于mybatis的一些相关资源
- 关于mybatist的一些相关资源
- uni-app实战社区交友类app开发&带视频教程
- mybatis动态sql的一些相关资源
- 隐马尔可夫模型在期货市场的应用_曾琦裕 (1).caj
- 极域解控和极域反控!!!
- 安卓android-serialport-api 串口demo源代码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功