Starting off

This is most likely a dumb question but from the tutorials ive been watching on installing and getting started the SDK comes with a text editor for the code. After mine was installed i been looking for the code editor and can’t find it anywhere. Can someone tell me how to get to the code editor for the .lua files?

an editor isn’t included with corona. you can use any text editor but most on here are using sublime, outlaw, or glider

Are you thinking of Corona Package Manger (CPM)?  

It is in the Tools subdir inside the Corona directory.  And at least on Mac, it is a separate package that you have to install (i.e. double-click the .pkg file to install it, then look for the CPM executable in the Applications directory).

I use sublime text 2 at the moment, and i think it’s a pretty good program. Good luck starting! :slight_smile:

Ok i got the sublime text editor but it doesnt let me create my own main.lua file. I got the first level and main menu done that i wanna test out but it only gives me the pre packed menu and main.lua file so how do i create a new one and use my own assets?

Create with corona

My corona has 2 options… new project which gives me a folder with codes and assets already in it. and open a project 

In Sublime Text, open a new file.  Type in some code Save it and give the name main.lua and you should get the syntax highlighting and such.

Rob

Thanks Rob.

an editor isn’t included with corona. you can use any text editor but most on here are using sublime, outlaw, or glider

Are you thinking of Corona Package Manger (CPM)?  

It is in the Tools subdir inside the Corona directory.  And at least on Mac, it is a separate package that you have to install (i.e. double-click the .pkg file to install it, then look for the CPM executable in the Applications directory).

I use sublime text 2 at the moment, and i think it’s a pretty good program. Good luck starting! :slight_smile:

Ok i got the sublime text editor but it doesnt let me create my own main.lua file. I got the first level and main menu done that i wanna test out but it only gives me the pre packed menu and main.lua file so how do i create a new one and use my own assets?

Create with corona

My corona has 2 options… new project which gives me a folder with codes and assets already in it. and open a project 

In Sublime Text, open a new file.  Type in some code Save it and give the name main.lua and you should get the syntax highlighting and such.

Rob

Thanks Rob.