Homebrew 4D Game Engine In Rust, inspired by Engine4D

Add rust4d_scripting crate with Lua 5.4 runtime

Create the scripting engine foundation (Wave 3, Swarm A Sub-Phase A): - ScriptEngine with Lua VM initialization via mlua - Sandboxed globals (os, io, loadfile, dofile removed) - Script loading from game directory with require() support - Lifecycle callbacks: on_init, on_update, on_fixed_update, on_shutdown - ScriptError type with Display and Error impls - Custom print() routing to log::info - 22 tests covering VM init, sandboxing, loading, lifecycle, error handling


Author sigilzero.dev
Date Commit Parent 0771c6d0
+768
7 changed files
+768
7 changed files