update wechat code

This commit is contained in:
k8w 2021-12-14 23:20:38 +08:00
parent 8210e3d101
commit 5e7a5782ab
2 changed files with 9 additions and 10 deletions

View File

@ -10,8 +10,15 @@
https://tsrpc.cn/fight/index.html https://tsrpc.cn/fight/index.html
(可浏览器多开体验多人效果) (可浏览器多开体验多人效果)
**在线教程** ## 在线教程
https://1drv.ms/p/s!AviSVsaYsolWnh7DCp2Y8g_NtDbA?e=67ZqqS - 文章:
- [2 天做了个多人实时对战200ms 延迟竟然也能丝滑流畅?](https://mp.weixin.qq.com/s/V1YWPF5LmY-l1L5LF2nR3A)
- 视频:
- [2021-12-04 Cocos Star Meeting 深圳站](https://www.bilibili.com/video/BV16F411z7iP)
- Github 源码地址
- https://github.com/k8w/tsrpc-examples/tree/main/examples/cocos-creator-multiplayer
![](README_assets/wechat.png)
<img src="README_assets/1.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/2.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/3.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/4.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/5.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/1.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/2.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/3.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/4.jpg" style="width: 300px; margin: 10px" /> <img src="README_assets/5.jpg" style="width: 300px; margin: 10px" />
@ -42,14 +49,6 @@ 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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 30 KiB