2013.2076 - newSpriteSheet issue

I did an upgrade from CoronaSDK 2013.1137 to 2013.2076 

Then added in config.lua   graphicsCompatibility = 1 but I get an error while this line executes

sheet1 = sprite.newSpriteSheet(“image1.png”, 24,24)

Error is “attempt to call field newSpriteSheet’ (a nil value)”

There is no problem with code since in 2013.1137 game is ok and its even published in android and apple stores. 

However I am stuck with upgrading to new version cause when I try with 2013.2076 I always get a DEBUG apk although I am using live enviroment keystore (I saw in another post I had to upgrade in order to get it fixed)

Sprite library was very long time depreciated but Corona still supported it for compatibility (pprobably) reasons. Maybe now they decided to cut it off completely.

Use graphics.newImageSheet and display.newSprite since it was performance improved.

sprite.* was deprecated in CoronaSDK 2013.1137 (and probably even before that). It’s been dead for awhile, but they left in support for compatibility reasons. It’s been fully removed as of Graphics 2.0 builds AFAIK.

Hi guys,

In 2.0-based builds, the legacy sprite library has been removed… however, if you still rely on it (or use a 3rd-party library which relies on it), you can download and require() the legacy sprite library and use it with G2.0. That library is available here:

https://github.com/coronalabs/framework-sprite-legacy/

Best regards,

Brent

Sprite library was very long time depreciated but Corona still supported it for compatibility (pprobably) reasons. Maybe now they decided to cut it off completely.

Use graphics.newImageSheet and display.newSprite since it was performance improved.

sprite.* was deprecated in CoronaSDK 2013.1137 (and probably even before that). It’s been dead for awhile, but they left in support for compatibility reasons. It’s been fully removed as of Graphics 2.0 builds AFAIK.

Hi guys,

In 2.0-based builds, the legacy sprite library has been removed… however, if you still rely on it (or use a 3rd-party library which relies on it), you can download and require() the legacy sprite library and use it with G2.0. That library is available here:

https://github.com/coronalabs/framework-sprite-legacy/

Best regards,

Brent