Reg: 2D soft body physics and collision detection

adityagameprogrammer
Posts: 4
Joined: Sat Feb 12, 2011 6:38 pm

Reg: 2D soft body physics and collision detection

Post by adityagameprogrammer »

Hi,
I am new to Bullet Physics. am trying to develop a 2D game similar to this one using c++ SDL and opengl
http://www.onlinegames.im/Online_Games/Viroidz
which has circular bubble like bodies which deform at a circular arena walls.
The above game as i understand has a basic collision bounds detection in regards to bullets hitting the bubble like objects.

1. Can we use bullet physics to draw deformable bubbles objects like the ones in that game?
2. Will using bullet physics give me pixel perfect collision detection? if thats possible, will it be expensive ? as in slow down the game?
3. Can we easily obtain the reflected angles at which the ship collides with the circular arena .4. Is it easy to integrate bullet physics libraries with SDL in a visual studio based environment. Are there any tutorials in regards to this.

Thanks.
adityagameprogrammer
Posts: 4
Joined: Sat Feb 12, 2011 6:38 pm

Re: Reg: 2D soft body physics and collision detection

Post by adityagameprogrammer »

In the actual game the blob deformation does look like a standard sprite animation rotated at The tangent after collision to the wall.

But i would like to know how to achieve this otherwise. please no RTFM's ... i do plan to after knowing about this.
onlyachild
Posts: 1
Joined: Tue Feb 15, 2011 11:11 am

Re: Reg: 2D soft body physics and collision detection

Post by onlyachild »

Hi there, I'm also new at flash games programing, but I'm planing to get more serous,also I one a website about horror games culture.
adityagameprogrammer
Posts: 4
Joined: Sat Feb 12, 2011 6:38 pm

Re: Reg: 2D soft body physics and collision detection

Post by adityagameprogrammer »

*bump*
adityagameprogrammer
Posts: 4
Joined: Sat Feb 12, 2011 6:38 pm

Re: Reg: 2D soft body physics and collision detection

Post by adityagameprogrammer »

*bump*
snake5
Posts: 13
Joined: Tue Mar 01, 2011 4:04 pm

Re: Reg: 2D soft body physics and collision detection

Post by snake5 »

Can we use bullet physics to draw deformable bubbles objects like the ones in that game?
You can but it's harder than using 2D physics. It's hard to understand why you decided to look at 3D physics libraries for a 2D game in the first place.
Will using bullet physics give me pixel perfect collision detection? if thats possible, will it be expensive ? as in slow down the game?
You could get pixel perfect collision detection, it just depends on the size of the pixel. There's no additional cost with different collision detection settings. There's just the cost of using a physics engine. And everything can slow down your game, no need to worry about it before anything's actually implemented.
Is it easy to integrate bullet physics libraries with SDL in a visual studio based environment. Are there any tutorials in regards to this.
Depends on what you call easy. You can find some tutorials in the wiki.

P.S. I suggest looking at SFML too. It should be easier to use than SDL. Of course, using a 2D physics library would be better too.