Thank you very much for the quick response. I’m sorry I didn’t respond in kind. As a whole my project is to create a Roguelike game. What sparked this question is that originally I intended to code the game in a completely text-based way. (I understand this doesn’t make much sense on a phone, and that Corona probably isn’t the best tool for doing so, but that’s my project so oh well)
Anyway, from the completed text-based portions I would create a graphical overlay as an optional interface for the user. The problem is, if I were to change every routine that changed my arrays, it would almost be like recoding the entire game to incorporate graphics. Instead what I would like is to simply create a module or whatever that can just scan the environment’s/player’s grid on each move and display the correct information accordingly.
Edit: I suppose that can just amount to creating a whole new graphical grid on each turn, since I’m not too worried about efficiency. Just wondering if there’s a way to instead just monitor each thing in the array and change it accordingly. (If this sounds weird or unrealistic then I’m sorry. Still a newbie game programmer.)