Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+2)

It was surprisingly easy to make dynamic code with Lua - all I had to do was reconstruct the code as a string after changes are made, use the function returned by load() to overwrite the current pattern, and call the new code with pcall() so the game won't crash if the code is invalid.