Hi
I am trying to make bounce kind of game.I wanted my ball to float when it is overlapping particular sprite.I mean when the ball falls in it ball should bounce 2 to 3 times and then finally settle on top of it.
Please help me to do this.
Thank you.
It depends on how realistic you want this to be.
You can try Bullet behavior:
On each collision with the water increase bullet gravity.
After 2-3 collisions disable Bullet.
Develop games in your browser. Powerful, performant & highly capable.
Found an old example I made for something different, but may be of use to you.
https://www.dropbox.com/s/8ete5kjdcjanz ... .capx?dl=0