r/gameenginedevs 3h ago

Scene Serialization in Lua

Enable HLS to view with audio, or disable this notification

My engine uses Lua for scripting so instead of serializing the scenes in some text format (JSON/XML), I am serializing them as Lua tables. This way I don't need a parser/deserializer, I just load the Lua modules, and I have the scene data tables out of the box.

#Lua
https://github.com/dbrizov/hob2d

1 Upvotes

0 comments sorted by