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.

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

Follow

@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

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
coolkids.house

this is where the cool kids live