I have only been programming in Cocos2D for two days, its a miracle! I'm definitely going to use this in my next game, if I can figure out one thing. I would love to use sprite sheets, which I don't know how to do. And more than just that, rather than have them run an animation blindly, I would like to be able to control which sprite on the sheet it jumps to when from my code. I looked at the APIs, but they are some of the least helpful I have seen in all my years of programming. Can someone give me a very basic explanation (with some code, if you've got time) of how I would go about making a 64x64 sprite that can be switched though a message ( [spriteSheetSprite gotoSprite:(2,4)]) to any of the 64x64 cells on my 1024x1024 sprite sheet?
Sprite Sheets
(2 posts) (2 voices)Reply
You must log in to post.