Пример #1
0
 public CCEaseInState(CCEaseIn action, CCNode target) : base(action, target)
 {
 }
Пример #2
0
 public CCEaseInState (CCEaseIn action, CCNode target) : base (action, target)
 {
 }
Пример #3
0
        public override void OnEnter()
        {
            base.OnEnter();

            var size = Layer.VisibleBoundsWorldspace.Size;

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

            var move_ease_in = new CCEaseIn(move, 2.5f);
            var move_ease_in_back = move_ease_in.Reverse();

            var move_ease_out = new CCEaseOut(move, 2.5f);
            var move_ease_out_back = move_ease_out.Reverse();

			var delay = new CCDelayTime(0.25f);

			var seq1 = new CCSequence(move, delay, move_back, delay) { Tag = 1 };
			var seq2 = new CCSequence(move_ease_in, delay, move_ease_in_back, delay) { Tag = 1 };
            var seq3 = new CCSequence(move_ease_out, delay, move_ease_out_back, delay) { Tag = 1 };

            m_grossini.RepeatForever (seq1);

            m_tamara.RepeatForever (seq2);

            m_kathia.RepeatForever (seq3);

            Schedule(testStopAction, 6.25f);
        }