I just bought sprite candy:) Not had a chance to play with it yet but I could do with opinions on the best way to do scrolling tiled levels. As I see it I have 3 options
1. create a layer as big as the level, tile the whole level on it and move the layer to scroll
2. Make a layer 1 tile bigger than the screen in all directions and re-tile the layer when the edge of the layer is reached
3. Make a layer as big as the screen and re-tile it every frame
Which is best? I'm thinking 2. is as 1. will be useless for very big levels and 3. may be too slow. Is there a way I aint thought of?
Thanks
1. create a layer as big as the level, tile the whole level on it and move the layer to scroll
2. Make a layer 1 tile bigger than the screen in all directions and re-tile the layer when the edge of the layer is reached
3. Make a layer as big as the screen and re-tile it every frame
Which is best? I'm thinking 2. is as 1. will be useless for very big levels and 3. may be too slow. Is there a way I aint thought of?
Thanks