How to set a tilt based gravity using Corona accelerometer ?
Hi, For setting a tilt based gravity using Corona Accelerometer, use the following sample of code. 🙂
Hi, For setting a tilt based gravity using Corona Accelerometer, use the following sample of code. 🙂
For an interactive game building using Box2D, collision detection of Box2D bodies is necessary. There is an easy way to implement collision detection in Box2D. For checking whether two bodies have collided with each other in Box2D while using it with cocos2D, then use the following lines of code where ever you want to check… Read More »