clouting
02-17-2009, 11:06 AM
hi ppl.....
have just started making a pool game but have hit a bit of a wall.
I have created some rough designs and just wanted to get the game working so i thought i'd try getting the ball physics to work.
I have used the code from 'ActionScript 3.0 Animation - Making things move' by Friends of Ed because i have found all of their other techniques to be extremely effective, however, with this piece of code there seems to be a bug.
every now and again (particularly on the break off shot) it seems as if some of the balls get stuck together, causing them to behave wrongly.
you can see an example of it here -
http://www.ghosttownclub.co.uk/games/pool_game.swf
just hold down on the big white ball to generate power - release to fire.
Does anyone know how to get the code working? perhaps i have done something wrong.
if not, has anyone else made a pool game? and where did u find the code?
thanks in advance
clouting
have just started making a pool game but have hit a bit of a wall.
I have created some rough designs and just wanted to get the game working so i thought i'd try getting the ball physics to work.
I have used the code from 'ActionScript 3.0 Animation - Making things move' by Friends of Ed because i have found all of their other techniques to be extremely effective, however, with this piece of code there seems to be a bug.
every now and again (particularly on the break off shot) it seems as if some of the balls get stuck together, causing them to behave wrongly.
you can see an example of it here -
http://www.ghosttownclub.co.uk/games/pool_game.swf
just hold down on the big white ball to generate power - release to fire.
Does anyone know how to get the code working? perhaps i have done something wrong.
if not, has anyone else made a pool game? and where did u find the code?
thanks in advance
clouting