Commit Graph

19 Commits

Author SHA1 Message Date
SeanOMik 8fb686b7fe
scripting: switch to mlua, scripts need to be tested and fixed
currently the lua-scripting example doesnt work. For some reason the userdata's metatable is a boolean...
2024-09-28 12:32:37 -04:00
SeanOMik f5aca87ede
ecs: don't automatically tick the world, use Res and ResMut anywhere ecs resources are requested to track changes better
now the user must manually tick the world. The engine will do this before every update
2024-09-27 21:03:27 -04:00
SeanOMik f3b5106073
reflect: fix warnings
ci/woodpecker/push/debug Pipeline failed Details
2024-04-01 11:17:19 -04:00
SeanOMik a2aac25249
ecs, reflect: implement Bundle for (), use `nobuild` instead of `compile_fail` for reflect rustdocs 2024-03-31 00:29:12 -04:00
SeanOMik e5018c8258
reflect: fix type registry from changes with ecs resources 2024-03-30 22:42:41 -04:00
SeanOMik f345f065c1
reflect: create ReflectedMap 2024-03-10 00:17:09 -05:00
SeanOMik aa3a4a17d7
resource: implement waiting for resource dependencies to be loaded 2024-03-10 00:11:15 -05:00
SeanOMik 1c29e6fa72
cleanup some simple compiler warnings 2024-03-09 00:48:23 -05:00
SeanOMik 70fecc8cdd
fixes across crates after changes to ecs 2024-03-02 22:55:13 -05:00
SeanOMik 5521d4a659
scripting: start work on exposing InputActions to lua, implement inserting reflected resource 2024-02-25 17:06:53 -05:00
SeanOMik f2d302c6d4
reflect: ReflectedComponent takes ownership over reflected component when inserting into entity 2024-02-23 16:39:51 -05:00
SeanOMik e88758f59d
scripting: expose resources to the world 2024-01-20 00:54:36 -05:00
SeanOMik 189d05e323
split the math module into a lyra-math crate, implement Reflect and Component for Transform 2024-01-13 11:51:16 -05:00
SeanOMik 544aee4a31
reflect: Implement reflect for glam types 2024-01-12 14:08:46 -05:00
SeanOMik eb44aba3dc
reflect: Fix weird panics for rust-analyzer
Not sure why they were happening. These panics didn't happen on CI and my machine when building and running the tests.
2024-01-08 20:25:20 -05:00
SeanOMik 29467faf55
reflect: Expect doctests to fail compile 2024-01-07 23:15:44 -05:00
SeanOMik 4a42989098
Remove most compiler warnings 2024-01-06 15:52:12 -05:00
SeanOMik 74f43e9ffe
reflect: implement TypeData for T 2024-01-04 20:43:46 -05:00
SeanOMik 52e58b1ca5 Add lyra-reflect
ci/woodpecker/push/debug Pipeline failed Details
2023-12-30 18:55:05 -05:00