Commit Graph

19 Commits

Author SHA1 Message Date
SeanOMik 9307265a5a
Implement staged system execution, make it easier to add systems, remove some compiler warnings 2024-01-06 15:40:13 -05:00
SeanOMik c673fd98ff
Large restructuring so lyra-scripting can create a Plugin
ci/woodpecker/push/debug Pipeline failed Details
2024-01-04 23:25:29 -05:00
SeanOMik 0f062217ca
ecs: Add world query, make it possible to request resources from function systems 2024-01-04 20:49:27 -05:00
SeanOMik 10fc7842cf
Fix a painful amount of compiler warnings, and clippy warnings 2023-12-28 21:30:45 -05:00
SeanOMik 09bba5b3b3
Switch to lyra-ecs systems, move ecs mod to scene mod, reexport lyra-ecs as ecs 2023-12-26 23:48:46 -05:00
SeanOMik 2805399fe4
Switch to use lyra-ecs 2023-12-26 14:12:53 -05:00
SeanOMik 64519b2b4f
[lyra-ecs] Add World::get_resource_or_else, update README.md 2023-12-22 12:22:10 -05:00
SeanOMik 1a541e527b
Create a Component derive macro 2023-12-21 23:33:55 -05:00
SeanOMik 8c8e7dfd7d
Implement inserting components into entities, ViewOne 2023-12-21 23:33:52 -05:00
SeanOMik da206b4824
Rename World::view to World::view_iter, some code cleanup 2023-12-21 23:33:51 -05:00
SeanOMik 9c6c32199d
Create simple function systems 2023-12-21 23:33:41 -05:00
SeanOMik 08a458eb9c
Implement simple resources 2023-12-21 23:33:38 -05:00
SeanOMik 7d94cf052f
Simple ECS resources 2023-12-21 23:33:37 -05:00
SeanOMik 4c0b517127
Implement despawning entities 2023-12-21 23:33:36 -05:00
SeanOMik 2c718231ed
Implement query for tuples of query types 2023-12-21 23:33:34 -05:00
SeanOMik 2e53156b0d
Implement query borrow and borrow mut for all &T and &mut T 2023-12-21 23:33:33 -05:00
SeanOMik 92e284e625
Create queries and views 2023-12-21 23:33:32 -05:00
SeanOMik f62f21e69f
simple queries (which will be completely rewritten 2023-12-21 23:33:31 -05:00
SeanOMik cde7d140ea
early version of ecs working 2023-12-21 23:33:18 -05:00