this is the example he gives but it uses variable names and not variable values
for example I want to eventually make a game where there is an editor and the user can make tiles, npcs, items, and backgrounds and then add them to the editor
Code: Select all
ini = require('ini')
game = {}
-- Resource functions
function game:loadTiles()
-- Load all tile config's here depending on how many there are in the folder
-- Load all tile properties
end
function game:getTile(tile)
-- Return tile id
end
return game