6

做了一个在线多人平台跳跃页游

 9 months ago
source link: https://www.v2ex.com/t/1000545
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  分享创造

做了一个在线多人平台跳跃页游

  luluxia · 2 小时 26 分钟前 · 1602 次点击

链接:喵喵竞赛

以前很喜欢玩一款叫做 wtfgame 猫猫竞赛的游戏,于是今年趁着没事干,自己捣鼓模仿原作的玩法做了个新游戏。

游戏核心机制为每隔 3~5 秒,地图会震动一次,此时玩家需要下蹲,否则将被传送至起点。目前有 50 多张地图,会在房间内随机轮换,分为两种类型,竞速图与积分图。

游戏采用了一款小众 JS 游戏引擎 Kaboom.js 开发,算是比较容易上手的引擎,不过坑也挺多的,运行效率似乎也不高,目前游戏在一些低端设备上运行会挺卡的,帧数和碰撞判定挂钩,帧数低了就会在游戏中穿墙。

至于多人部分的后端,则是基于 Midway + Socket.IO

欢迎各位试玩并分享建议😘!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK