I made a game playable from the console, but I’d like to turn it into an app.
I have one file called “classMgmt.lua” which pulls the specific values pertaining to each class from .txt files, then makes appropriate adjustments to these values as the game goes along.
If I wanted to access this file in a different lua file, is simply do:
require(“classMgmt”)
Then I’ll be good to go.
When working from my main.lua file, I did that and tried to access a variables and tables from classMgmt.lua and everything just kept appearing as nil.
What I’d like to do is be able to create display.newText with the “text” being strings that are stored in the classMgmt file.
Any help?