Config.lua Error...Plus Settings...

Ok, I am completely new to Corona, so please bear with me…I am creating my first game and I am trying to set up my config.lua file to be as flexible and universal as possible…I would like the pp to be able to run on everything from older iPhones to the newest tablets and everything in between. I am using Outlaw Game Tool as my development environment…Unfortunately I keep getting this error whenever I run the simulator…

–Corona Runtime Error–

…all the directory info…/config,lua:6: unexpected symbol near ‘?’

And it also keeps asking me whether I want to relaunch the project…

…as I said, I am very new and this may have a painfully simple answer to it…thank you for your time…

It probably means your config.lua has a syntax error.  Most likely a missing comma or curly brace.  Look on line 6, as well as line 5 and line 7 (especially line 5) and see if you can spot it.  If not, copy/paste your entire config.lua here and we’ll see if we can help.

  • Andrew

It probably means your config.lua has a syntax error.  Most likely a missing comma or curly brace.  Look on line 6, as well as line 5 and line 7 (especially line 5) and see if you can spot it.  If not, copy/paste your entire config.lua here and we’ll see if we can help.

  • Andrew