How to move a sprite on a slope in chipmunk Spacemanager

Posted by Anil gupta on Game Development See other posts from Game Development or by Anil gupta
Published on 2012-02-29T19:12:01Z Indexed on 2012/03/31 11:43 UTC
Read the original article Hit count: 530

Filed under:
|
|

I have used one polygon shape image (terrain) in my game. It's just like a mountain, and now I want to move the tanker on a mountain path from one side to the other and then turn around at the edge of the screen and go back. I don't understand the method to move the tanker on the slope (image) path in chipmunk spacemanager.

When collision detection happens like that, if any bomb falls on the slope (image of mountain) then I want to do a little damage to the slope (image of mountain) like this video.

© Game Development or respective owner

Related posts about ios

Related posts about cocos2d