Home
Projects
Resources
Alternatives
Blog
Sign In
Ecs Framework Versions
Save
一套ecs框架,可用于egret/laya/cocos及其他使用ts/js语言的引擎
Overview
Versions
Reviews
Resources
v1.2.4
2 years ago
新增verlet物理引擎
内置tween系统
v1.2.3
2 years ago
框架优化(见代码提交日志)
v1.2.2
2 years ago
component的update允许更新
优化框架性能,Time支持传入自定义dt
优化vector2构造函数
新增渲染接口
修复arcadeRigidBody不触发onEntityTransform事件
修复mover碰撞失效问题
修复mover返回collisionResult无数据问题
新增phycics.debugDraw默认绘制(需要实现渲染接口后才可使用)
新增圆盒重叠检查
完善Color类
新增角色控制器(包含单向平台,跳跃及斜坡)
math库完善
v1.2.1
3 years ago
修复系统超过30个时导致失效问题
完善MathHelper类方法
修复getComponents获取为空问题
ShapeCollision类拆分
Time.deltaTime更正为除1000
完善Vector2Ext/Vector2类
v1.2.0
3 years ago
优化getComponent与getComponents性能
优化EntitySystem实体加入/移除性能
修复系统上限问题(Bitset优化)
新增collidesWithAnyNonMotion方法
新增collidesWithAny
新增系统的useTime(仅开启debug时可用)
组件识别参数补全
修复transform.setParent问题
新增findEntitesOfComponent
新增tryGetComponent
移除timeruler类
v1.1.9
3 years ago
新增Entity中createComponent(componentType)方法
新增DelayedIteratingSystem(追踪每个实体的冷却时间,当实体的计时器耗尽时进行处理)
新增IntervalIteratingSystem(每x个ticks处理一个实体的子集)
新增IntervalSystem(实体系统以一定的时间间隔进行处理)
新增TimeRuler用于分析游戏平均帧率。仅在es.Core.create(true) 参数为true时启用
不在使用new es.Core()方式进行初始化,更改为es.Core.create(true) 参数内为是否启用debug模式
修改stopwatch.Stopwatch命名空间移动至es下为es.Stopwatch
新增Insist类用于Debug
1.1.5
3 years ago
2020/12/10 更新日志
新增ArcadeRigidbody组件*(一个简单的物理模拟)
优化NumberDictionary
新增VisibilityComputer(可以计算出一个网格,表示从给定的一组遮挡物的原点可以看到哪些区域)
新增Matrix(4
4矩阵)/新增Matrix2D.toMatrix用于从3
3矩阵转换为4*4矩阵
修复RealtimeCollisions.intersectMovingCircleBox计算错误问题
改动Collisions.lineToLineIntersection 返回为boolean并新增返回可选参数intersection 更名Collisions.isLineToLine为Collisions.lineToLine
新增BezierSpline类(提供了一系列立方贝塞尔点,并提供了帮助方法来访问贝塞尔)、优化Bezier类内部方法
1.1.4
3 years ago
2020/12/4 更新日志
新增Core.Instance._frameCounter与Core.Instance.totoalMemory(使用 Core.Instance._titleMemory = (fps, memory)=> {})方式获取当前fps与内存使用情况
新增linq.List用以包装Array数组并扩展若干方法
修复SceneComponent/EntityList/Matrix2D/Mover等报错问题
修复碰撞算法内计算错误问题
优化EntityList在Scene.createEntity方法效率提高10倍
修复ArrayUtils.randomItem方法会获取undefined问题
新增RealTimeCollisions.testCircleBox用于检测园与方框是否重叠返回交点
2020/11/30 更新日志
删除Extension对数组的扩展更改为linq.List类以避免forin污染
对SceneComponent中onEnabled和onDisabled虚方法进行调用
更改Entity.getOrCreateComponent方法参数
1.1.0
3 years ago
修复一系列bug
不再依赖egret引擎为独立库
兼容laya/egret/cocos
v1.0.7
3 years ago
新增相机震动组件
新增SceneComponent场景辅助组件
新增tiled支持(数据格式仅支持json/内容编码为csv)
新增2D射线检测
修复Vector2只读问题
修复bounds计算错误
新增协程管理器
移除Long.js依赖
« Previous
Next »
Home
Projects
Resources
Alternatives
Blog
Sign In
Sign In to OSA
I agree with
Terms of Service
and
Privacy Policy
Sign In with Github