TheBurnDoc / Lime2DTileEngine

My fork of the Lime 2D Tile Engine for Corona SDK
http://lime.outlawgametools.com
Other
0 stars 0 forks source link

Port deprecated sprite calls to display.newSprite #1

Open TheBurnDoc opened 11 years ago

TheBurnDoc commented 11 years ago

Parts of Lime seem to depend on the sprite Corona SDK, which has been deprecated. The Corona docs recommend porting over to the newer display.newSprite() and SpriteObject framework. It seems lime-tileSet at least depends on sprite, and possibly other parts of the code as well.

TheBurnDoc commented 11 years ago

It looks like the old sprite library is going to be removed with Corona SDK Graphics 2.0 as well

TheBurnDoc commented 11 years ago

These tutorials may help:

http://www.coronalabs.com/blog/2012/10/02/animated-sprites-and-methods/ http://www.coronalabs.com/blog/2013/05/14/sprites-and-image-sheets-for-beginners/

TheBurnDoc commented 11 years ago

It seems we will only need to focus on the following files:

$ grep -l "require.*sprite" *
lime-tile.lua
lime-tileSet.lua
TheBurnDoc commented 11 years ago

graphics2_migration branch created to support this work