Hello. I am very new to programming. I was following the Hello World tutorial by Dr. Burton yesterday night, and I got stuck for over 3-4 hours. I followed everything STEP by STEP and my Corona Terminal won’t open any files or folders. I created a project named “lua stuff” with Xcode, then I created file “main.lua” and typed in the coding “print (“Hello World!”)”. I saved the file in “lua stuff” and then I opened Corona Terminal and opened dialogue by pressing command+O. Then I went to “lua stuff” and my “Open” button is still greyed out. My “main.lua” file is greyed out and I can’t open any folders. Please HELP ME! [import]uid: 28424 topic_id: 5640 reply_id: 305640[/import]
To my knowledge Terminal doesn’t open files or projects…simulator does! Somebody correct me if I’m wrong. Hope that helps! [import]uid: 20687 topic_id: 5640 reply_id: 19274[/import]
Open Corona Simulator not the terminal, and navigate to your “lua stuff” and open main.lua file.
Terminal is foroutput it tells you if there is any mistakes in your code.
To use terminal go to Applications/Corona/Corona Terminal and that should lunch the corona simulater and just navigate to your folder
Hope that help.
[import]uid: 11559 topic_id: 5640 reply_id: 19286[/import]
OMG. Thank you so much. I was getting so frustrated with this. WOW. Thank you very much. All I had to do was close the Welcome Screen and now I am able to open the folder “lua stuff”. Also, I know that this has nothing to do with this thread, but could you please tell me the difference between using XCode and Corona and Text Wrangler and Corona? I am very new but very motivated to learn how to program with Lua and make apps. I noticed that some tutorials write codes using normal editors like Text Wrangler and the one I saw for “Hello World” by Burton uses XCode. Is there a difference? [import]uid: 28424 topic_id: 5640 reply_id: 19291[/import]
I use Text Wrangler its better you more color and easy to read code . U can use any editors. I like Text Wrangler.
thants how
Text Wrangler.
-- Game variables
game.levelOver = false
game.pause = false
game.sound = true
game.music = true
game.score = 0
game.editlevel = true -- When true, player can position pieces in the level
game.soundPressed = media.newEventSound( "Sounds/Pressed.mp3" )
game.musicStream = audio.loadStream("Musics/1.mp3")
Xcode dashcode is just plain no colors [import]uid: 11559 topic_id: 5640 reply_id: 19296[/import]
Hello Ayena. Thank you for your input.
I believe that XCode has color too. Syntax highlighting correct?
I have only created the “Hello World” project and the codes have colors and numbers do to.
Is that what you were referring to? [import]uid: 28424 topic_id: 5640 reply_id: 19301[/import]
Yes . I just never mess with Xcode [import]uid: 11559 topic_id: 5640 reply_id: 19304[/import]
How long have you been programming? I first downloaded Text Wrangler, but after I started watching Burton’s tutorial, he was using XCode, so I downloaded XCode. Do you have any tips for me? I am just going through Quick Start Guide to pick up some knowledge at this moment. I have never programmed before, but do you have any tips to help me learn quicker? A good place to start? [import]uid: 28424 topic_id: 5640 reply_id: 19305[/import]
Well i just started with corona aboun a month ago and it so easy
just look at APIS reference library [import]uid: 11559 topic_id: 5640 reply_id: 19309[/import]
Do you have programming experience? Should I read that whole book or just look things up when I need it? I am reading everything one by one on the Quick Start for Corona. [import]uid: 28424 topic_id: 5640 reply_id: 19322[/import]
Book is good, but i would recoment start acctualy doing it, after 1-3 weeks u will see how much you have learend , just do it, read tutorials and look at the APIs refference library. [import]uid: 11559 topic_id: 5640 reply_id: 19326[/import]