Corona Canon fails to load

Hi all I am trying to run the Corona Canon sample game and I get the following error:

ERROR: display.setDefault() given invalid key (isAnchorClamped)

It is line 9 in main.la:

display.setDefault(‘isAnchorClamped’, false) – Needed for scenes/reload_game.lua animation

It looks valid to me unless it’s an issue with the C libs on my mac?

Hi @ed76,

Currently, this demo requires a more current daily build of Corona, as noted in the announcement:

https://coronalabs.com/blog/2016/02/02/corona-cannon-a-new-corona-sdk-sample-game/

You can get a more current build here:

https://developer.coronalabs.com/downloads/daily-builds/

In the meantime, I’ll explore if we can address the issue you’re having so that it works in the current public release (2731).

Best regards,

Brent

Hi Ed,

You can just comment that problem line and the demo will run fine.
Line 9 in main.lua

--display.setDefault('isAnchorClamped', false)

Hi @ed76,

Currently, this demo requires a more current daily build of Corona, as noted in the announcement:

https://coronalabs.com/blog/2016/02/02/corona-cannon-a-new-corona-sdk-sample-game/

You can get a more current build here:

https://developer.coronalabs.com/downloads/daily-builds/

In the meantime, I’ll explore if we can address the issue you’re having so that it works in the current public release (2731).

Best regards,

Brent

Hi Ed,

You can just comment that problem line and the demo will run fine.
Line 9 in main.lua

--display.setDefault('isAnchorClamped', false)