Unity LockstepECS 帧同步框架

2020-4-13 雨辰 Unity3D

LockstepECS

简介

LockstepECS 一个基于c# 指针和结构体 的帧同步框架,使用于超大型场景的帧同步游戏 优点:

  • 运行速度快,使用指针,和结构体,基本无gc , PureMode 都比Entitas 快两倍,Burst Mode,快四倍以上

  • 内存紧凑,预测回滚是否帧状态拷贝快 7000 只鱼的状态拷贝只消耗0.3ms

  • API 和 UNITY ECS 非常相似,可以使用同一种编程范式来编写 logic 层 和 view 层

  • 无缝兼容UnityECS ,使用条件宏可以切换两种模式,

    • PureMode:纯代码形式,可以直接在服务器中运行逻辑,不依赖Unity
    • Burst Mode: 模式,直接生成适配Unity ECS Burst+job框架代码的代码,进一步提升运行速度
  • github 上的是免费版

Wiki

中文使用文档

Reference

视频链接

TODO

  • 预测回滚
  • 碰撞检测库
  • 寻路库
  • 序列化库向前兼容
我是搬运工
https://github.com/JiepengTan/LockstepECS

标签: Unity3D 技术问题 网络通信协议

评论:

Tavyfrada
2021-06-10 12:59
<a href=https://vscialisv.com>generic for cialis
Tavyfrada
2021-06-07 11:20
<a href=http://gcialisk.com/>cialis 20mg for sale
annkimfashion
2021-06-03 11:09
<a href="http://www.buypurehoodia.com/skechers-czarny-non-slip-buty-tenisc">skechers czarny non slip buty</a> <a href="http://www.rawuae.com/hot-rosa-cold-shoulder-kjole-kjoleb">hot rosa cold shoulder kjole</a> <a href="http://www.aglatt.com/kapten-son-rucksack-tasched">kapten son rucksack</a> <a href="http://www.xueaifei.com/pantaloni-adidas-acetato-uomo-tutab">pantaloni adidas acetato uomo</a> <a href="http://www.diekazi.com/air-jordan-33-jaune-chaussures1">air jordan 33 jaune</a> <a href="http://www.hengyiya.com/adidas-stan-smith-negro-verde-zapatos1">adidas stan smith negro verde</a>
annkimfashion http://www.annkimfashion.com/
dubaocankao
2021-05-24 10:18
<a href="https://www.osasuora.net/neon-wedge-heels-bootsb">neon wedge heels</a> <a href="https://www.spaynewjersey.net/nfl-breeland-speaks-womens-limited-white-jersey-57-kansas-city-chiefs-nike-road-vapor-untouchable-jerseyb">nfl breeland speaks womens limited white jersey 57 kansas city chiefs nike road vapor untouchable</a> <a href="https://www.startive.net/froning-shorts-shirtd">froning shorts</a> <a href="https://www.kaanpks.net/marks-and-spencer-bucket-hat-hatc">marks and spencer bucket hat</a> <a href="https://www.fastkoala.net/fishnet-heels-prettylittlething-bootsb">fishnet heels prettylittlething</a> <a href="https://www.spaynj.net/thermal-phone-pouch-bagsa">thermal phone pouch</a>
dubaocankao https://www.dubaocankao.net/
henryglegg
2021-05-10 07:32
<a href="http://us.mcmpodcast.com/boys-athletic-sport-sandals-amb">boys athletic sport sandals</a> <a href="http://us.netparkllc.com/womens-blazers-6-ame">womens blazers 6</a> <a href="http://us.innovuscs.com/home-kitchen-chair-covers-7-ame">home kitchen chair covers 7</a> <a href="http://us.binswimrun.com/tools-home-improvement-bathtub-shower-systems-2-amb">tools home improvement bathtub shower systems 2</a> <a href="http://us.cwdmantap.com/home-kitchen-kids-furniture-stools-2-amb">home kitchen kids furniture stools 2</a> <a href="http://us.ericrac.com/womens-brooches-pins-ama">womens brooches pins</a>
[url=http://us.henryglegg.com/]henryglegg[/url]
rainslibrary
2021-05-05 02:25
<a href="http://www.manifaster.com/puma-ferrari-replica-plecak-torebkic">puma ferrari replica plecak</a> <a href="http://www.lombatech.com/samsung-tab-a-8.0-otterbox-case-casec">samsung tab a 8.0 otterbox case</a> <a href="http://www.yapsystem.com/portemonnee-sling-tassena">portemonnee sling</a> <a href="http://www.reesemortgage.com/iphone-xr-pouzdro-funny-pouzdrod">iphone xr pouzdro funny</a> <a href="http://www.wlpappraisal.com/topshop-faux-snake-pleated-shirt-%C5%A1aty-satyb">topshop faux snake pleated shirt 拧aty</a> <a href="http://www.sunupsystems.com/nero-cotton-baseball-berretto-cappelloa">nero cotton baseball berretto</a>
rainslibrary http://www.rainslibrary.com/

发表评论:

朱文华 joyimp|@2011-2021 京ICP备16030765号-2