Corona for dummies

I’m their website?. Just type it “download sublime text 3” and should be the first link…

Thank you

Where does one write the actual code on one’s pc?

What do you mean?. In Corona make a new project and select “new project” then open “main.lua” and start coding.

I am referring to my pc itself. Where can I write scripts or code on it? Where is its files located?

Did you make a new project? The projects are located at Documents/Corona Projects

This is what my editor looks like. I don’t know where to write and what are these lines representing?

Did you download “sublime”? You need it to edit because notepad will be very confusing and it’s not for editing code. Right click on the main.lua and click " Open with" and select sublime. Don’t see sublime? Then click “find another all on this PC” (may vary on diff PC’s) … Then click on your C drive and find “program files” then look for “Sublime text 3”. Open it and select the exe file. Sorry if instructions unclear. I’m doing this on my phone.

Hi. I downloaded sublime 3. I am just trying to activate it, but when I right click on mail lua nothing appears.

You dont need to activate it…

It still only shows notepad as my editor.

You have select sublime as your default editor. Right click on a lua file and press “open with” and then “choose default program”. Then find the suble folder and select the executable.

I have tried to make sublime my default editor, but when I right click on lua nothing happens.

What is the best approach to learning how to code?

To be honest, it seems like you would do well to learn some even more basic stuff before you attempt to learn to code at all. You seem to struggle to use your OS or even a text editor at even a basic level. Plus, if you’d typed the above question into Google you’d have found all sorts of useful articles and tutorials, rather than relying on someone else to do the research for you.

Not trying to be mean, but it really looks like you’re trying to run before you can walk. 

@JWiow Is correct.

But that aside.

Just start little projects and just try to make little games. That’s how I learned.

But I still need to code even to make little games. Which coding should I learn first?

I agree with JWiow.
Before you want to code, compile and debug you should be able to operate your operating system.
Downloading the editor, set paths, check compatibilitys, drivers,…e.g.
If you are not really into this, you will never get a program finished.

Sorry to be honest. But also corona isnt that easy. You must understand basic coding elements.
Math and logic topics.
What you can do ist to start with the corona samples inside.
There you will have default codes and you can adapt this code then.
And have a look what happens.
The corona samples are located in the windows/program files folder

Try it and learn to adapt the pre-installed samples.
Then you go further to bigger programs…

Good luck and all the best

Mikel

Corona SDK does provide a button called New Project that you don’t need to know much about your operating system to get started. You can, painfully use Notepad, but something better like Notepad++, Sublime Text or other smart text editor will make your life better. Also consider the editor called “Atom”. It’s free to use and has some nice features.

Now to what everyone else is saying. Coding is not a visual experience. It’s words, math, syntax, abstract concepts that when assembled forms a visual app. Of all code options out there, Corona SDK is one of the easier to learn, but it’s still all text until it’s rendered in the simulator.

You cannot hide from the OS forever either. If you want to eventually build your app to run on a device, you’re going to have to deal with building a keystore and knowing where you’re saving your build on  your computers operating system.

For now, install Corona SDK. Use the “Samples” link on the right. Run the sample. Use whatever text editor you choose, open the same files in the text editor and start playing around and read some tutorials.

Rob

I have tried everything to change my editor but it keeps on kicking out notepad.