Use Chipmunk body location to drive Cocos2D Parallax -


I am using Chipmunk inside the cocos 2D with the Space Manager. I have a body that is moving with impulses, I want to be able to use the condition of that body to run a parallax node in Cocos 2D.

Therefore, when the body 'A' goes to the left, it comes after parallax, but with a small time offset, or elastic effect. If you know AS3 and Flash, then you can think about the use of the film Kleip's X and Y space to easily update with the updated effect. This is what I want to achieve, and after taking no sleep to work last night I have decided to ask you more experienced people :)

Thank you.

You can combine an extra body with a parallax node, and it will replace the body with the appropriate code < Code> a or a set of joints is difficult to ask for exactly what you want for the behavior, but at least one slide, drain or damp-spring deficiency should be trickled.


Comments