Proyectos
Ver en GitHub
JiepengTan/LockstepECS
Acerca de
Fast Lockstep ECS Framework
Juegos y emulaciónCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalLockstepECS
简介
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
- 帧同步基础库 https://github.com/JiepengTan/LockstepEngine
- 高性能帧同步ECS框架 https://github.com/JiepengTan/LockstepECS
- 代码生成DSL https://github.com/JiepengTan/ME
- demo: 帧同步版联机版 模拟鲨鱼围捕 2000 条小鱼 https://github.com/JiepengTan/LcokstepECS_Demo_Boid
- 帧同步教程 https://github.com/JiepengTan/Lockstep-Tutorial
视频链接
TODO
- 预测回滚
- 碰撞检测库
- 寻路库
- 序列化库向前兼容
Explorar proyectos relacionados
Cargando…