How do I make my ActionScript 3 Pool Game more realistic with Box2dFlash?

1k Views Asked by At

Here is my pool game engine done in Box2dFlash.

I would like to make this simulation more realistic as I received mixed opinion from pool experts.

Here is my standard wall setting:

var leftWall = _sim.addBox({x:0.9, y:8.15, width: 0.6, height: 11.5, density: 0, fillAlpha: wallAlpha, lineAlpha: wallAlpha});

And of the ball:

_solidBall_7 = _sim.addCircle({x:ballPosX - (ballRadius * 5) - 0.8, y:ballPosY, radius:ballRadius, density: 0.1, linearDamping: 1, isBullet: true, restitution: 0.7, angularDamping: 5, skin: Solid_Bordo});

What other params I might try to improve the realistic movement of the pool game?

1

There are 1 best solutions below

2
On BEST ANSWER

Nice work. Looks good.

To make the game mote realistic I would ...

  • Animate the balls (spinning, hitting the pockets)
  • Add sounds (hit ball, hit walls, hit pocket)
  • Add shadows (adds a 3d feel)
  • The balls should be beneath (masked out) by the walls
  • Look over the physics parameters