Help - Search - Members - Calendar
Full Version: Create Pool In Flash
Zymic Webmaster Forums > Web Design & Development > Graphic Design > Animation (Flash, GIFs, etc)
bezz
Create your own 8 ball pool game.
machine
Great stuff, bezz smile.gif !
wozzym
great job smile.gif
Brandon
Nice Job smile.gif
Alex
Pretty impressive, but I have to say the example missing game logic and there being some rather peculiar collisions (I hit one ball which proceeded to orbit the cue ball as it moved along the table - weird) is a little jarring. Still, it's just meant to show the basic idea behind it, so it can be forgiven.

What I think is the main issue is that this is a 375 line piece of actionscript, and comments are not a good way to describe the thought processes behind something quite that long. I think it could have done with a more "building it up piece by piece" approach, where you might just have two balls and describe how it handles collisions, one ball and how it handles the potting logic. (the other good bit about that approach is that you can then revisit it to introduce things like spin, gradually building up a more and more realistic table)

Anyhoo, nice to see you're still going on the tutorials, hope to see some more. smile.gif
bezz
QUOTE(Alex @ Jul 9 2008, 01:13 PM) *
What I think is the main issue is that this is a 375 line piece of actionscript, and comments are not a good way to describe the thought processes behind something quite that long. I think it could have done with a more "building it up piece by piece" approach, where you might just have two balls and describe how it handles collisions, one ball and how it handles the potting logic. (the other good bit about that approach is that you can then revisit it to introduce things like spin, gradually building up a more and more realistic table)

Great suggestions. I'll definately consider making an update explaining things step by step. You're right that 375 lines is a very long code block for a tutorial. The idea of adding english to the ball makes my head hurt from the math involved. There are some quirks with the collisions, and that is partly due to it taking samples every 20 milliseconds rather than the constant collision test that exists in real life. I also noticed the orbit problem. I came across the circle collision function a week or two ago and I may just write my own replacement that fixes this issue. I'd like to better explain how the circle collision works, since it is definately the hardest to wrap your head around.
ebirayan
QUOTE(bezz @ Jul 9 2008, 01:57 PM) *



good job Bro.
brettgavin
Hi,
Can you explain me by what I am create pool in flash.
keddy1
really impressive.great work
ishanseo
This is nice and really enjoyable. i like it.
jamsbrawne
The Pool in which you to add the functionality of the Flash, The interesting approach is that you can introduce like spin, gradually building up a more and more realistic table. And the Main is the swing of the system.
rebena
You have done extraordinary work on these graphic designing.I really enjoyed.
adam007
good yaar.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.