This commit is contained in:
k8w 2021-12-07 16:44:12 +08:00
parent 1e52b9f759
commit fe3fdd95bc
7 changed files with 26 additions and 1 deletions

View File

@ -6,6 +6,13 @@
- 逻辑和表现分离的架构,帧同步和状态同步并用,前后端复用状态计算逻辑 - 逻辑和表现分离的架构,帧同步和状态同步并用,前后端复用状态计算逻辑
- 快节奏有冲突的同步策略:预测 + 和解 + 插值 的落地运用展示100~200 ms 延迟也无感知 - 快节奏有冲突的同步策略:预测 + 和解 + 插值 的落地运用展示100~200 ms 延迟也无感知
**体验地址**
https://tsrpc.cn/fight/index.html
(可浏览器多开体验多人效果)
**在线教程**
https://1drv.ms/p/s!AviSVsaYsolWnh7DCp2Y8g_NtDbA?e=67ZqqS
## 启动 ## 启动
### 先启动后端 ### 先启动后端
@ -33,6 +40,24 @@ npm run dev
**注意:前端项目需要先 `npm install` 后再打开 Cocos如果报错可以关闭 Cocos 后重启试一下。** **注意:前端项目需要先 `npm install` 后再打开 Cocos如果报错可以关闭 Cocos 后重启试一下。**
## 微信交流群
欢迎加入 TSRPC 和 TypeScript 全栈开发学习交流群:
(请注明来意)
![](README_assets/wechat.png)
## 效果预览 ## 效果预览
https://user-images.githubusercontent.com/1681689/144695691-c8c556dd-68c4-44bf-8a38-5c37e203dbda.mp4 https://user-images.githubusercontent.com/1681689/144695691-c8c556dd-68c4-44bf-8a38-5c37e203dbda.mp4
![](README_assets/1.jpg)
![](README_assets/2.jpg)
![](README_assets/3.jpg)
![](README_assets/4.jpg)
![](README_assets/5.jpg)

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 819 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB