Hi Everybody,
i've just started making my first game using cocos2d + box2d.
everything is pretty much ok so far, but i've been having some problems with moving and animating my sprite+body.
i've subclassed ccsprite for each game entity (hero, enemy, etc) each object creates its box2d body.
my logic says each object should handle its movement tried moving with a tick method and with actions, was wondering what's better. what do you say? any best practices?
another thing i was wondering was how to create complex movements, where the objects has a main destination and path but its movement should also be a bit randomized take a look here to see what i mean: http://hezicohen.com/move.gif
thanks in advance,
hezi.