Hi, I recently downloaded Corona SDK (Version 2014.2511 (2014.11.18) to get started and I’ve come in to a problem at the beginning. Watching “Creating your first project video”, it has one enter in the first two lines of code as shown below.
–
– main.lua
–
local physics = require( “physics”)
physics.start()
local sky = display.newImage( “bkg_clouds.png” )
All above coding is as is (no different mind you). I pressed short cut Command S, since I’m using a Mac running on OS X Yosemite version 10.10.1 (14b25), to refresh the update. I received an error as seen below.
Corona Simulator Syntax error
File: main.lua
Line: 7
Unexpected symbol near ‘‚’
It is expected to load up the sky image displaying it on the iPhone simulator. I am new at the game, so I assume I don’t have the sky file or something. I’m sure its something I’ve done wrong, but I don’t know what. I even tried using a different image, but of-course the entry uses sky reference, so I wouldn’t know where to start. I did, however, try placing the “–” before each line of code for the above and the same message appears. I read somewhere that this is typed in for each, but ma not be what I thought.
Anyways it would look lIke this for each line of code, but I’m only showing this one example.
–local sky = display.newImage( “bkg_clouds.png” )
What is my issue do you think? The screen capture attachments just show what I’ve already written.