Spritesheets or not?

Hello :slight_smile:

I am very new to corona sdk, and I am very used to how things work with cocos2d.

I know that the best practice in cocos2d is to use spritesheets and load images from them. So the question is do you use spritesheets in corona or do you just load the sprites from single files? If not how do you load a sprite from lets say a plist containing the information?

[import]uid: 235505 topic_id: 36707 reply_id: 336707[/import]

Yes, you should use sprite sheets. Use a program like TexturePacker to make them (it can export directly to Corona). Search “image sheet” in the Corona API for details about how to use it. [import]uid: 51654 topic_id: 36707 reply_id: 145009[/import]

Hi @chrene91,
Yes, it is generally good practice to use image sheets. Here is the documentation on it:
http://docs.coronalabs.com/api/library/graphics/newImageSheet.html

And, animated sprites are based on image sheets. Here’s a tutorial on the basics of sprite implementation:
http://www.coronalabs.com/blog/2012/10/02/animated-sprites-and-methods/

Hope this helps,
Brent Sorrentino [import]uid: 200026 topic_id: 36707 reply_id: 145041[/import]

Yes, you should use sprite sheets. Use a program like TexturePacker to make them (it can export directly to Corona). Search “image sheet” in the Corona API for details about how to use it. [import]uid: 51654 topic_id: 36707 reply_id: 145009[/import]

Hi @chrene91,
Yes, it is generally good practice to use image sheets. Here is the documentation on it:
http://docs.coronalabs.com/api/library/graphics/newImageSheet.html

And, animated sprites are based on image sheets. Here’s a tutorial on the basics of sprite implementation:
http://www.coronalabs.com/blog/2012/10/02/animated-sprites-and-methods/

Hope this helps,
Brent Sorrentino [import]uid: 200026 topic_id: 36707 reply_id: 145041[/import]

Yes, you should use sprite sheets. Use a program like TexturePacker to make them (it can export directly to Corona). Search “image sheet” in the Corona API for details about how to use it. [import]uid: 51654 topic_id: 36707 reply_id: 145009[/import]

Hi @chrene91,
Yes, it is generally good practice to use image sheets. Here is the documentation on it:
http://docs.coronalabs.com/api/library/graphics/newImageSheet.html

And, animated sprites are based on image sheets. Here’s a tutorial on the basics of sprite implementation:
http://www.coronalabs.com/blog/2012/10/02/animated-sprites-and-methods/

Hope this helps,
Brent Sorrentino [import]uid: 200026 topic_id: 36707 reply_id: 145041[/import]

Yes, you should use sprite sheets. Use a program like TexturePacker to make them (it can export directly to Corona). Search “image sheet” in the Corona API for details about how to use it. [import]uid: 51654 topic_id: 36707 reply_id: 145009[/import]

Hi @chrene91,
Yes, it is generally good practice to use image sheets. Here is the documentation on it:
http://docs.coronalabs.com/api/library/graphics/newImageSheet.html

And, animated sprites are based on image sheets. Here’s a tutorial on the basics of sprite implementation:
http://www.coronalabs.com/blog/2012/10/02/animated-sprites-and-methods/

Hope this helps,
Brent Sorrentino [import]uid: 200026 topic_id: 36707 reply_id: 145041[/import]