Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm not very good with the technical parts of lua and I couldn't find anything about the eval command. How do you use it exactly?

Basically any code that would be valid to type in the code editor, you can type in the eval command. For instance: eval trace(table.concat({"a", "b", "c"}))

It's very useful for inspecting the state of your variables or calling functions after running your game and hitting ESC.