Commit graph

19 commits

Author SHA1 Message Date
d001e136d0
lua: expose WorldTransform
Some checks failed
CI / build (pull_request) Failing after 3m20s
2024-10-17 17:11:46 -04:00
d0e6fc6ecd
lua: make it easier to expose events and asset handle wrappers 2024-10-13 12:30:06 -04:00
8e56ee1f0f
lua: start exposing events 2024-10-11 20:49:00 -04:00
b90e19161d
lua: expose FreeFlyCamera 2024-10-07 16:28:38 -04:00
e9cbb48653
lua: expose camera, support ToLua and FromLua structs in World:view 2024-10-07 15:20:13 -04:00
49dfb38da3
lua: expose fields on some types from lyra_resource 2024-10-05 13:46:53 -04:00
76b7cac699
lua: expose most fields for window component 2024-10-02 20:54:54 -04:00
ef2b0bf326
ecs,scripting: fix invalid resources being passed to lua
Some checks failed
CI / build (pull_request) Failing after 3m35s
The issue was World::get_resource_ptr, it was returning a pointer to the AtomicRefCell instead of the actual resource data
2024-09-29 14:35:24 -04:00
fa22a0310c
scripting: switch to latest mlua, create custom impl of lua's getmetatable 2024-09-29 15:59:48 -04:00
02f0c93aa2
game: fix some unhandled device events causing panics 2024-09-28 22:05:57 -04:00
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
d1f1e03cbb
scripting: improve macros to make it easier to create wrappers 2024-04-27 19:43:45 -04:00
29c68abbbb
scripting: fix lua scripting (#13), create an example for it
Some checks failed
ci/woodpecker/push/debug Pipeline failed
2024-04-27 00:52:47 -04:00
de4fb76f31
scripting: update for elua and new wip support for teal 2024-02-28 21:10:52 -05:00
e354528942
scripting: Implement LuaVec3:move_by, and add more methods for Lua on math types 2024-02-19 23:14:38 -05:00
e6b4e83dee
scripting: fix math type wrapper macro for lua. Expose math types as userdata through LuaProxy trait 2024-02-19 17:57:48 -05:00
6465ed2e0b
scripting: support 'overloaded' like methods in wrapper macro
Some checks failed
ci/woodpecker/manual/debug Pipeline failed
2024-01-20 11:46:42 -05:00
e5599e1d27
scripting, ecs: expose Transform to lua, update component ticks on changes from lua 2024-01-13 11:52:20 -05:00
d14abcc3e5
Get some math types and some ecs stuff exposed to lua 2024-01-12 14:11:33 -05:00