コード例 #1
0
 public CCEaseExponentialInOut (CCEaseExponentialInOut easeExponentialInOut) : base (easeExponentialInOut)
 { }
コード例 #2
0
ファイル: EaseActionsTest.cs プロジェクト: Karunp/cocos2d-xna
        public override void OnEnter()
        {
            base.OnEnter();

            var s = CCDirector.SharedDirector.WinSize;

            var move = new CCMoveBy (3, new CCPoint(s.Width - 130, 0));
            var move_back = move.Reverse();

            var move_ease = new CCEaseExponentialInOut((CCActionInterval) move.Copy());
            var move_ease_back = move_ease.Reverse(); //-. reverse()

            var delay = new CCDelayTime (0.25f);

            var seq1 = new CCSequence(move, delay, move_back, (CCFiniteTimeAction) delay.Copy());
            var seq2 = new CCSequence(move_ease, (CCFiniteTimeAction) delay.Copy(), move_ease_back, (CCFiniteTimeAction) delay.Copy());

            positionForTwo();

            m_grossini.RunAction(new CCRepeatForever (seq1));
            m_tamara.RunAction(new CCRepeatForever (seq2));
        }
コード例 #3
0
 public CCEaseExponentialInOut(CCEaseExponentialInOut easeExponentialInOut) : base(easeExponentialInOut)
 {
 }