Hey!
> What is line 328?
According to http://textmechanic.com/Number-Each-Line.html it is “object.objectType = objectType” Here is the line in context:
local collisionFilter = { categoryBits = 4, maskBits = 2 }
local body = { filter=collisionFilter, isSensor=true }
if “enemy” == objectType then
object = display.newImage(“image4.png”, startX, startY, 1, 1 )
object.sizeXY = 1
end
if “reward” == objectType or “penalty” == objectType then
object = display.newImage(“image3.jpg”, startX, startY, 1, 1 )
object.sizeXY = 1
end
if “reward” == objectType or “penalty” == objectType then
object = display.newImage(“image3.jpg”, startX, startY, 1, 1 )
object.sizeXY = 1
end
local objectAlpha
object.objectType = objectType
object.xVelocity = xVelocity
object.yVelocity = yVelocity
physics.addBody ( object, body )
object.isFixedRotation = true
table.insert ( objects, object )
end–}}}
> Are there additional messages in your console log?
The Corona Simulator Output has the same error messages as the Corona Runtime Error.
> I see one image is a .png the other is a .jpg. Is that right?
Yep!
Thank you.