What to put in the main.lua ?

I’m new to CoronaSDK still, I understand LUA at a basic level, but i’m getting progressively better :slight_smile: My question do you really put in main.lua ?

I’m just curious so that i don’t put the wrong things in there.

Thanks!

Landon [import]uid: 111492 topic_id: 27137 reply_id: 327137[/import]

Hi there :slight_smile:

Just a brief note before I answer your question; try to remember it’s “Lua” not “LUA” - some people can be a little funny about that :wink:

RE your question; what do you mean “do you really put in main.lua”? Yes, you put main.lua into your project file and yes you write code in there.

You can also spread your code between different Lua files if you wish to, either by using modulization or else using Director or Storyboard.

Peach :slight_smile: [import]uid: 52491 topic_id: 27137 reply_id: 110256[/import]