This code (commented out in MenuTest) doesn't seem to work:
CCSize s = Director.sharedDirector().winSize();
int i = 0;
for (CocosNode child : menu.getChildren()) {
int offset = (int) (s.width / 2 + 50);
if (i % 2 == 0)
offset = -offset;
child.setPosition(child.getPositionX() + offset, child.getPositionY());
child.runAction(EaseElasticOut.action(MoveBy.action(2, child.getPositionX() - offset, 0),
0.35f));
i++;
}
This should be fairly easy to fix.
Original issue reported on code.google.com by philip.desegur@gmail.com on 18 Jan 2010 at 2:54
Original issue reported on code.google.com by
philip.desegur@gmail.com
on 18 Jan 2010 at 2:54