COCOS2D-html5 MoveBy doesn't work
Posted
by
ufo
on Game Development
See other posts from Game Development
or by ufo
Published on 2012-10-16T08:55:14Z
Indexed on
2012/10/16
11:25 UTC
Read the original article
Hit count: 167
cocos2d-x
I'd like to run an action on a sprite using the MoveBy action. After lots of attempts, I can't achieve the goal... I have issues with the MoveBy in 2 different projects, so maybe I'm missing something in the setup... But I can't figure what!
The instruction is like this:
this.platform1Sprite.runAction(cc.MoveBy.create(1, cc.p(200, 0)));
I don't get any error, simply it doesn't work. Thank you in advance.
© Game Development or respective owner