Created
June 15, 2011 00:20
-
-
Save bohdon/1026252 to your computer and use it in GitHub Desktop.
cocos view layer animation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id seq = [CCSequence actions:[CCMoveTo actionWithDuration:0.0 position:ccp(249, 180)], | |
[CCMoveTo actionWithDuration:27.29 position:ccp(753, 180)], | |
[CCMoveTo actionWithDuration:1.5 position:ccp(774, 180)], | |
[CCMoveTo actionWithDuration:0.63 position:ccp(779, 180)], | |
[CCMoveTo actionWithDuration:0.71 position:ccp(783, 180)], | |
[CCMoveTo actionWithDuration:3.33 position:ccp(780, 180)], | |
[CCMoveTo actionWithDuration:1.46 position:ccp(778, 147)], | |
[CCMoveTo actionWithDuration:18.04 position:ccp(762, -876)], | |
[CCMoveTo actionWithDuration:1.63 position:ccp(761, -925)], | |
[CCMoveTo actionWithDuration:1.38 position:ccp(760, -940)], | |
[CCMoveTo actionWithDuration:32.67 position:ccp(760, -940)], | |
[CCMoveTo actionWithDuration:0.63 position:ccp(768, -940)], | |
[CCMoveTo actionWithDuration:7.71 position:ccp(1100, -940)], | |
[CCMoveTo actionWithDuration:9.42 position:ccp(1700, -943)], | |
[CCMoveTo actionWithDuration:5.83 position:ccp(2214, -943)], | |
[CCMoveTo actionWithDuration:1.0 position:ccp(2302, -945)], | |
[CCMoveTo actionWithDuration:1.75 position:ccp(2456, -976)], | |
[CCMoveTo actionWithDuration:2.75 position:ccp(2721, -976)], | |
[CCMoveTo actionWithDuration:3.75 position:ccp(3088, -949)], | |
[CCMoveTo actionWithDuration:2.67 position:ccp(3358, -926)], | |
[CCMoveTo actionWithDuration:1.38 position:ccp(3481, -901)], | |
[CCMoveTo actionWithDuration:4.46 position:ccp(3880, -775)], | |
[CCMoveTo actionWithDuration:3.68 position:ccp(4035, -708)], | |
[CCMoveTo actionWithDuration:18.85 position:ccp(4702, -450)], | |
[CCMoveTo actionWithDuration:7.46 position:ccp(4871, -366)], | |
[CCMoveTo actionWithDuration:1.0 position:ccp(4871, -366)], | |
[CCMoveTo actionWithDuration:0.0 position:ccp(4786, 250)], | |
[CCMoveTo actionWithDuration:3.6 position:ccp(4786, 250)], | |
[CCMoveTo actionWithDuration:0.0 position:ccp(4871, -371)], | |
[CCMoveTo actionWithDuration:18.27 position:ccp(4871, -371)], | |
[CCMoveTo actionWithDuration:0.21 position:ccp(4873, -371)], | |
[CCMoveTo actionWithDuration:0.17 position:ccp(4876, -371)], | |
[CCMoveTo actionWithDuration:0.17 position:ccp(4881, -371)], | |
[CCMoveTo actionWithDuration:0.17 position:ccp(4888, -371)], | |
[CCMoveTo actionWithDuration:0.17 position:ccp(4899, -371)], | |
[CCMoveTo actionWithDuration:0.13 position:ccp(4910, -371)], | |
[CCMoveTo actionWithDuration:0.17 position:ccp(4927, -371)], | |
[CCMoveTo actionWithDuration:0.13 position:ccp(4944, -371)], | |
[CCMoveTo actionWithDuration:15.0 position:ccp(7467, -357)], | |
[CCMoveTo actionWithDuration:2.46 position:ccp(7881, -351)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(7959, -348)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8031, -341)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8098, -330)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8159, -314)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8214, -294)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8263, -269)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8307, -241)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8346, -210)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8379, -175)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8407, -138)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8430, -99)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8448, -58)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8461, -17)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8470, 22)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8474, 62)], | |
[CCMoveTo actionWithDuration:0.25 position:ccp(8475, 85)], | |
[CCMoveTo actionWithDuration:18.29 position:ccp(8475, 1565)], | |
[CCMoveTo actionWithDuration:2.08 position:ccp(8475, 1663)], | |
[CCMoveTo actionWithDuration:2.08 position:ccp(8475, 1730)], | |
[CCMoveTo actionWithDuration:2.13 position:ccp(8475, 1825)], | |
[CCMoveTo actionWithDuration:2.13 position:ccp(8475, 2020)], | |
[CCMoveTo actionWithDuration:5.17 position:ccp(8475, 2664)], nil]; | |
CCAction *action = [CCMusicAction actionWithAction:seq endTime:240.0]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id seq = [CCSequence actions:[CCMoveTo actionWithDuration:0.0 position:ccp(740, -960)], | |
[CCMoveTo actionWithDuration:4.79 position:ccp(915, -961)], | |
[CCMoveTo actionWithDuration:3.21 position:ccp(1033, -960)], | |
[CCMoveTo actionWithDuration:9.42 position:ccp(1680, -953)], | |
[CCMoveTo actionWithDuration:4.75 position:ccp(2123, -946)], | |
[CCMoveTo actionWithDuration:5.83 position:ccp(2627, -964)], | |
[CCMoveTo actionWithDuration:3.0 position:ccp(2960, -977)], | |
[CCMoveTo actionWithDuration:2.67 position:ccp(3220, -974)], | |
[CCMoveTo actionWithDuration:1.58 position:ccp(3369, -950)], | |
[CCMoveTo actionWithDuration:2.29 position:ccp(3584, -892)], | |
[CCMoveTo actionWithDuration:3.46 position:ccp(3903, -770)], | |
[CCMoveTo actionWithDuration:1.68 position:ccp(3981, -732)], | |
[CCMoveTo actionWithDuration:6.99 position:ccp(4211, -603)], | |
[CCMoveTo actionWithDuration:7.88 position:ccp(4457, -489)], | |
[CCMoveTo actionWithDuration:6.21 position:ccp(4648, -417)], | |
[CCMoveTo actionWithDuration:4.58 position:ccp(4781, -382)], nil]; | |
CCAction *action = [CCMusicAction actionWithAction:seq endTime:157.333333333]; | |
seq = [CCSequence actions:[CCRotateTo actionWithDuration:0.0 angle:0.0], | |
[CCRotateTo actionWithDuration:4.79 angle:0.0], | |
[CCRotateTo actionWithDuration:3.21 angle:0.0], | |
[CCRotateTo actionWithDuration:9.42 angle:0.0], | |
[CCRotateTo actionWithDuration:4.75 angle:0.0], | |
[CCRotateTo actionWithDuration:5.83 angle:0.0], | |
[CCRotateTo actionWithDuration:3.0 angle:-1.77], | |
[CCRotateTo actionWithDuration:2.67 angle:-7.62], | |
[CCRotateTo actionWithDuration:1.58 angle:-16.74], | |
[CCRotateTo actionWithDuration:2.29 angle:-20.9], | |
[CCRotateTo actionWithDuration:3.46 angle:-20.0], | |
[CCRotateTo actionWithDuration:1.68 angle:-20.0], | |
[CCRotateTo actionWithDuration:6.99 angle:-20.0], | |
[CCRotateTo actionWithDuration:7.88 angle:-20.0], | |
[CCRotateTo actionWithDuration:6.21 angle:-12.65], | |
[CCRotateTo actionWithDuration:4.58 angle:-0.78], nil]; | |
action = [CCMusicAction actionWithAction:seq endTime:157.333333333]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id seq = [CCSequence actions:[CCMoveTo actionWithDuration:0.0 position:ccp(4877, -381)], | |
[CCMoveTo actionWithDuration:1.58 position:ccp(5144, -381)], | |
[CCMoveTo actionWithDuration:2.17 position:ccp(5479, -403)], | |
[CCMoveTo actionWithDuration:0.96 position:ccp(5644, -397)], | |
[CCMoveTo actionWithDuration:0.96 position:ccp(5808, -379)], | |
[CCMoveTo actionWithDuration:2.5 position:ccp(6237, -334)], | |
[CCMoveTo actionWithDuration:1.0 position:ccp(6414, -333)], | |
[CCMoveTo actionWithDuration:2.5 position:ccp(6857, -356)], | |
[CCMoveTo actionWithDuration:3.13 position:ccp(7377, -371)], | |
[CCMoveTo actionWithDuration:2.71 position:ccp(7826, -368)], | |
[CCMoveTo actionWithDuration:0.63 position:ccp(7930, -363)], | |
[CCMoveTo actionWithDuration:0.25 position:ccp(7980, -364)], | |
[CCMoveTo actionWithDuration:0.38 position:ccp(8049, -355)], | |
[CCMoveTo actionWithDuration:0.38 position:ccp(8095, -346)], | |
[CCMoveTo actionWithDuration:0.38 position:ccp(8141, -335)], | |
[CCMoveTo actionWithDuration:0.5 position:ccp(8212, -312)], | |
[CCMoveTo actionWithDuration:0.46 position:ccp(8275, -287)], | |
[CCMoveTo actionWithDuration:0.33 position:ccp(8314, -263)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8362, -231)], | |
[CCMoveTo actionWithDuration:0.33 position:ccp(8389, -205)], | |
[CCMoveTo actionWithDuration:0.42 position:ccp(8413, -169)], | |
[CCMoveTo actionWithDuration:0.58 position:ccp(8438, -110)], | |
[CCMoveTo actionWithDuration:0.5 position:ccp(8451, -57)], | |
[CCMoveTo actionWithDuration:1.5 position:ccp(8462, 86)], | |
[CCMoveTo actionWithDuration:4.71 position:ccp(8460, 474)], | |
[CCMoveTo actionWithDuration:5.88 position:ccp(8459, 935)], | |
[CCMoveTo actionWithDuration:5.75 position:ccp(8459, 1419)], nil]; | |
CCAction *action = [CCMusicAction actionWithAction:seq endTime:224.625]; | |
seq = [CCSequence actions:[CCRotateTo actionWithDuration:0.0 angle:0.0], | |
[CCRotateTo actionWithDuration:1.58 angle:1.6], | |
[CCRotateTo actionWithDuration:2.17 angle:-1.02], | |
[CCRotateTo actionWithDuration:0.96 angle:-4.67], | |
[CCRotateTo actionWithDuration:0.96 angle:-8.61], | |
[CCRotateTo actionWithDuration:2.5 angle:-3.13], | |
[CCRotateTo actionWithDuration:1.0 angle:-0.21], | |
[CCRotateTo actionWithDuration:2.5 angle:2.89], | |
[CCRotateTo actionWithDuration:3.13 angle:2.37], | |
[CCRotateTo actionWithDuration:2.71 angle:-2.16], | |
[CCRotateTo actionWithDuration:0.63 angle:-3.41], | |
[CCRotateTo actionWithDuration:0.25 angle:-6.37], | |
[CCRotateTo actionWithDuration:0.38 angle:-10.83], | |
[CCRotateTo actionWithDuration:0.38 angle:-15.69], | |
[CCRotateTo actionWithDuration:0.38 angle:-20.55], | |
[CCRotateTo actionWithDuration:0.5 angle:-25.59], | |
[CCRotateTo actionWithDuration:0.46 angle:-30.22], | |
[CCRotateTo actionWithDuration:0.33 angle:-37.73], | |
[CCRotateTo actionWithDuration:0.42 angle:-47.12], | |
[CCRotateTo actionWithDuration:0.33 angle:-56.05], | |
[CCRotateTo actionWithDuration:0.42 angle:-67.2], | |
[CCRotateTo actionWithDuration:0.58 angle:-77.94], | |
[CCRotateTo actionWithDuration:0.5 angle:-87.15], | |
[CCRotateTo actionWithDuration:1.5 angle:-90.0], | |
[CCRotateTo actionWithDuration:4.71 angle:-90.0], | |
[CCRotateTo actionWithDuration:5.88 angle:-90.0], | |
[CCRotateTo actionWithDuration:5.75 angle:-90.0], nil]; | |
action = [CCMusicAction actionWithAction:seq endTime:224.625]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment