Cocos2D CcAction1
Ian Fan Dec 2012
Target:
Run many types of CCAction with the CCSprite, know when the action started and finished.
Sample Code:
https://github.com/IanFan/CcAction1
Step:
1. Set the ball, action menu, and information label
2. Tap any CCMenuItem in CCMenu to make the sprite run the specific CCAction.
3. Information label will show when the action started and finished.
4. Update function to make sure the ball have proper scale and in proper place.
Further Link:
1. Thenewboston's tutorials:
Creating Sprites :
http://www.youtube.com/watch?v=mNJ0RoepySQ
Making Stuff Move:
http://www.youtube.com/watch?v=WGtMMx4DxwM
Intro to Actions
http://www.youtube.com/watch?v=9sdq1ueNqOM
2. Bob Ueland's Cocos2d Tutorials:
How to move an image:
http://bobueland.com/cocos2d/2011/how-to-make-an-image-move/
The magic of callback functions ():
http://bobueland.com/cocos2d/2011/how-to-synchronize-actions/