Follow

I love Lua so much. Added a quest/event system for my game that lets me drop Lua script files in a folder and they become available in the game automatically. Also makes the game super modder friendly.

· · Web · 2 · 6 · 15

@ivan this is very cool! how do you get access to variables like image and desc from c++?

@nasser each script is parsed into its own table in the global Lua state, so you can access any of its local variables as you would any table

Sign in to participate in the conversation
coolkids.house

this is where the cool kids live