public override void OnEnter() { base.OnEnter(); float x, y; CCSize size = Layer.VisibleBoundsWorldspace.Size; x = size.Width; y = size.Height; CCSprite sprite = new CCSprite(grossini); CCSprite spriteSister1 = new CCSprite(sister1); CCSprite spriteSister2 = new CCSprite(sister2); sprite.Scale = 1.5f; spriteSister1.Scale = 1.5f; spriteSister2.Scale = 1.5f; sprite.Position = size.Center; spriteSister1.Position = (new CCPoint(40, y / 2)); spriteSister2.Position = (new CCPoint(x - 40, y / 2)); AddChild(sprite); AddChild(spriteSister1); AddChild(spriteSister2); sprite.RunAction(rot); spriteSister1.Repeat (5, jump2, jump1); spriteSister2.Repeat (5, jump1, jump2); spriteSister1.Repeat (5, rot1, rot2); spriteSister2.Repeat (5, rot2, rot1); }