Commit Graph

24 Commits

Author SHA1 Message Date
SeanOMik 90b821f95c
scripting: implement loading assets in lua 2024-02-24 11:16:09 -05:00
SeanOMik 1f43a9d4da
fix compiler errors after some changes to game crate 2024-02-23 16:43:23 -05:00
SeanOMik e354528942
scripting: Implement LuaVec3:move_by, and add more methods for Lua on math types 2024-02-19 23:14:38 -05:00
SeanOMik 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
SeanOMik ea958f9f18
scripting: convert LuaDeltaTime into a Lua Number instead of using it as userdata 2024-02-19 11:27:49 -05:00
SeanOMik e6c9e0725c
scripting: remove ReflectedLuaTableProxy and slightly modify ReflectLuaProxy to replace it 2024-02-18 23:42:57 -05:00
SeanOMik 20a36795dc
scripting: update elua, change test lua script 2024-02-17 19:08:11 -05:00
SeanOMik 6cd38376e0
scripting: update elua submodule 2024-02-17 14:30:27 -05:00
SeanOMik 4247c4f5c1
scripting: switch to elua, create LuaTableProxy for proxying rust types into and from lua tables 2024-02-17 14:27:16 -05:00
SeanOMik f2f8248de7
scripting: add elua as a git submodule, remove mlua from the cargo.toml 2024-02-14 20:33:07 -05:00
SeanOMik 82c13a7dd2
scripting: do a bit of code cleanup 2024-02-12 20:26:51 -05:00
SeanOMik 747d4dcf19
scripting: implement querying for resources from lua 2024-02-12 20:26:45 -05:00
SeanOMik 6465ed2e0b
scripting: support 'overloaded' like methods in wrapper macro
ci/woodpecker/manual/debug Pipeline failed Details
2024-01-20 11:46:42 -05:00
SeanOMik e88758f59d
scripting: expose resources to the world 2024-01-20 00:54:36 -05:00
SeanOMik 94abf2ddf0
scripting: override lua's print method 2024-01-16 23:04:17 -05:00
SeanOMik db77ca4388
scripting: lua script auto-reloading 2024-01-15 23:22:21 -05:00
SeanOMik a9705b3f81
scripting, game: make fixes for changes to resource crate 2024-01-15 21:30:05 -05:00
SeanOMik e5599e1d27
scripting, ecs: expose Transform to lua, update component ticks on changes from lua 2024-01-13 11:52:20 -05:00
SeanOMik d14abcc3e5
Get some math types and some ecs stuff exposed to lua 2024-01-12 14:11:33 -05:00
SeanOMik e49d69dbc1
scripting: update scripts on all game stages, create utility api provider
ci/woodpecker/push/debug Pipeline failed Details
2024-01-07 00:57:19 -05:00
SeanOMik 13ad671a55
scripting: update lua scripts on 'update' stage 2024-01-06 23:06:00 -05:00
SeanOMik 4a42989098
Remove most compiler warnings 2024-01-06 15:52:12 -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 6caf235a6f
Add early scripting system with lua
ci/woodpecker/push/debug Pipeline failed Details
2024-01-04 20:52:47 -05:00