Where to start?

So I came across Corona SDK because it looked like a platform somebody could easily use with barely any programming experience, but I’m still a bit lost. I don’t really plan to make a huge game or complex app, just a simple app for my school that has a menu and photo gallery etc. Where do i start? could somebody please lead me somewhere to start? thanks a lot

There are a couple of different paths you can take.  One is to browse through the sample apps and look at apps similar to what you want to do do and pull the parts out you need.  There is a couple of image gallery type apps out there.  There is also what we call the Business Sample App on our github repository here: https://github.com/coronalabs/business-app-sample

The other option is to start going through tutorials and build your skills up a little at a time.  You can start here: http://coronalabs.com/resources/tutorials/getting-started-with-corona/

The first way is probably the fast path, but if you don’t have much in the way of programming skills, you may struggle with making your changes.  The second path is slower but you  learn more and you understand why things happen, which is critical for figuring things out.

Rob

thanks for the advice, i chose the faster method but i seem to get a problem when i run the the guy’s code. I changed a lot of lines to suit my needs but the the problem initially is that it says

"module ‘myApp’ can not be found.Module ‘myApp’ not found:resource (myApp.lu) does not exist in archive

   

thanks

You need a module named myApp.lua.  The corona simulator is not case sensitive with file names but the devices are, so you might have a myapp.lua file and myApp is not finding it.

If you are using the Business Sample app, just copy the myapp.lua file into your project.

Rob

Alright thanks that fixed that problem but now i’m receiving an error that says there’s an unexpected symbol near ‘.’ Rewrote the code, tried deleting some symbols that were near the line, even downloaded a new text editor and everything but this error isn’t going away :frowning:

It’s really helpful when asking for help to provide some information that we can use to help you.

What line number is the error?

What line of code is at that line number?

The error might not be there, but somewhere further along.  If you’re only using the popup alert box for your info, there is more information in the log files.  If you need help learning how to debug your app, I would suggest this tutorial as a next step:

http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

Anyway unless you post the code around where the problem is there isn’t much we can do to help you.

Rob

oh right sorry 

local storyboard = require ( “storyboard” )

local widget = require( “widget” )

local json = require( “json” )

local myApp.lua = require (“myApp.lua”)

if (display.pixelHeight/display.pixelWidth) > 1.5 then

    myApp.isTall = true

line 4 (local myApp.lua) it’s saying that there’s an unexpected symbol near ‘.’

You need to change

local myApp.lua = require("myApp.lua")  

to

local myApp = require("myApp")  

The first “myApp” is a variable, and in a variable you can’t put a “.”

The myApp.lua file needs to be in the same folder as the main.lua file.

There are a couple of different paths you can take.  One is to browse through the sample apps and look at apps similar to what you want to do do and pull the parts out you need.  There is a couple of image gallery type apps out there.  There is also what we call the Business Sample App on our github repository here: https://github.com/coronalabs/business-app-sample

The other option is to start going through tutorials and build your skills up a little at a time.  You can start here: http://coronalabs.com/resources/tutorials/getting-started-with-corona/

The first way is probably the fast path, but if you don’t have much in the way of programming skills, you may struggle with making your changes.  The second path is slower but you  learn more and you understand why things happen, which is critical for figuring things out.

Rob

thanks for the advice, i chose the faster method but i seem to get a problem when i run the the guy’s code. I changed a lot of lines to suit my needs but the the problem initially is that it says

"module ‘myApp’ can not be found.Module ‘myApp’ not found:resource (myApp.lu) does not exist in archive

   

thanks

You need a module named myApp.lua.  The corona simulator is not case sensitive with file names but the devices are, so you might have a myapp.lua file and myApp is not finding it.

If you are using the Business Sample app, just copy the myapp.lua file into your project.

Rob

Alright thanks that fixed that problem but now i’m receiving an error that says there’s an unexpected symbol near ‘.’ Rewrote the code, tried deleting some symbols that were near the line, even downloaded a new text editor and everything but this error isn’t going away :frowning:

It’s really helpful when asking for help to provide some information that we can use to help you.

What line number is the error?

What line of code is at that line number?

The error might not be there, but somewhere further along.  If you’re only using the popup alert box for your info, there is more information in the log files.  If you need help learning how to debug your app, I would suggest this tutorial as a next step:

http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

Anyway unless you post the code around where the problem is there isn’t much we can do to help you.

Rob

oh right sorry 

local storyboard = require ( “storyboard” )

local widget = require( “widget” )

local json = require( “json” )

local myApp.lua = require (“myApp.lua”)

if (display.pixelHeight/display.pixelWidth) > 1.5 then

    myApp.isTall = true

line 4 (local myApp.lua) it’s saying that there’s an unexpected symbol near ‘.’

You need to change

local myApp.lua = require("myApp.lua")  

to

local myApp = require("myApp")  

The first “myApp” is a variable, and in a variable you can’t put a “.”

The myApp.lua file needs to be in the same folder as the main.lua file.