• Stars
    star
    241
  • Rank 167,643 (Top 4 %)
  • Language
    C#
  • Created almost 5 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fast Lockstep ECS Framework

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

  • 预测回滚
  • 碰撞检测库
  • 寻路库
  • 序列化库向前兼容

More Repositories

1

Lockstep-Tutorial

帧同步 教程
C#
963
star
2

LockstepEngine

A lockstep solution include lots of deterministic library (Math,Collision,Navmesh,BehaviorTree,Serialization ...)
C#
826
star
3

FishManShaderTutorial

shader 中级教程
ShaderLab
758
star
4

Unity-Raymarching-Framework

A framework to easy implement raymarching in unity. Include lots of hash,noise,fbm,SDF,rotate functions
HLSL
160
star
5

LockstepEngine_ARPGDemo

A lockstep ARPG demo for LockstepEngine
C#
130
star
6

Collidable-Raymarching-Terrain

Real time generate collider mesh according shader, it is really useful when you want to interact with your raymarching scene
C#
97
star
7

LockstepCollision

A deterministic collision lib for lockstep
C#
88
star
8

ECS_Game_Demo

C#
76
star
9

Lockstep.Math

A deterministic math lib for lockstep game
C#
59
star
10

GamesTanTools

个人的 Unity 小工具箱,含一些个人比较常用的代码
C#
50
star
11

Lockstep.BehaviourTree

Memory-compact BehaviorTree (use c# unsafe pointer && struct)
C#
43
star
12

LcokstepECS_Demo_Boid

Lockstep ECS demo
C#
43
star
13

DOTS_Rougelike

DOTS Rougelike
C#
34
star
14

ME

A DSL for macro expansion ,in order to help framework develop
C#
27
star
15

SubstancePainter-Plugin-Tutorial

QML
14
star
16

UnityAssetToolTutorial

Unity 资源批量处理 小工具 教程
C#
14
star
17

LockstepECSTutorial-Tank2D

C#
13
star
18

Lockstep.Debug

C#
3
star
19

ECL

a domain-specific language(DSL) for Entity component design
C#
3
star
20

Lockstep.Serializer

C#
3
star
21

LockstepECS_Document

3
star
22

JiepengTan.github.io

github page repository
SCSS
3
star
23

FishManGameTutorialInfos

2
star
24

libgodot_llgo_demo

Shell
1
star