Edit:
i can't find tutorials on Atlas Sprites (Which is what I
- THINK
Could you please help me determine whether Atlas is the way to go, or if another method is better?
Either way - If you could - just point me in the right direction - Tutorials would be the best
Thanks....
-------------------------
Original Question Below:
I am trying to add a series of sprites named "spritebasic" with a number attached to the end - platforms
In my code I have the following
Sprite * ("spritebasic" + spritenovalue) = [Sprite spriteWithFile:@"spriteblue.png"];
How should I refer to this when I am dealing with the sprite, and how should I unload this?
Or is there an easier way?
I have googled for ages and have come up with Tilemaps - but are unsure how to implement them...
Or is there a better function for this???
----------------------------
Edit: I think I may have found the answer: AtlasSprites - but from what I have looked at they seem best for animation???
ANY help is appreciated