Hi,
I am new to Corona, and am currently working on creating a simple eBook. This book will be created from multiple objects, organized in layers (background, trees, main character, etc). I checked the sprites documentation but found only means of creating animations. What I am hoping for, is to use sprite sheets for background and static sprites as well. This should decrease memory usage, since images don’t need to be transformed in power of 2 sizes.
I am using Zwoptex for creating an atlas, but am unable to figure out how to extract sprites from it.
Pseudo code:
local spritesheet = …
local tree1 = spritesheet:getSprite(“Tree1.png”) – Where Tree1.png is the name given by Zwoptex
Can anyone help me write this code correctly for Corona SDK?
Thanks [import]uid: 127214 topic_id: 23351 reply_id: 323351[/import]