Hi.
I’am trying Corona SDK out to see if it’s fits my needs for at cross platform enviroment (eg not paying yet - but find it very interesting).
I’am using build 2011.704 - is there a newer version/build?
Can someone tell me what i’m doing wrong here:
xcode debugger says:
Lua Runtime Error: lua_pcall failed with status: 2, error message is: ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ‘:’
for this line in lua:
physics.addBody(twitterIcon, “dynamic”, { bounce = 0.8 } )
Here is some of the surrounding code:
title.text = “1”
twitterIcon = display.newImage(“image/Twitter_48x48.png”)
title.text = “2”
physics.addBody(twitterIcon, “dynamic”, { bounce = 0.8 } )
title.text = “3”
group:insert(twitterIcon)
title.text = “4”
Thanks in advance [import]uid: 131983 topic_id: 23549 reply_id: 323549[/import]
[import]uid: 131983 topic_id: 23549 reply_id: 94901[/import]