Computer Science Canada

Turing Pool

Author:  Catalyst [ Tue May 27, 2003 9:58 pm ]
Post subject:  Turing Pool

I was playing pool today (got the table run on me 5 five times Sad ) and got the idea to make a pool game

the collisions use a vector class (there appears to be a small glitch the balls occasionally orbit one and other) and are fairly accurate

i havent made the pockets yet (or the cue ball for that matter) but their addition is trivial, this is mostly a physics demo

the collision energy transfer is perfect, but there is friction on the table

click and drag; 's' to stop

Author:  Catalyst [ Tue May 27, 2003 10:00 pm ]
Post subject: 

Attached Very Happy

Author:  Asok [ Tue May 27, 2003 10:33 pm ]
Post subject: 

AWESOME!

Although I ran into a bug, it is possible to push the balls of of the screen.

Author:  Catalyst [ Tue May 27, 2003 10:37 pm ]
Post subject: 

i know im gonna tighten the physics
the balls orbit each other due they are moving so fast they go inside one and other causing some interesting effects

im thinking of making it 3d (not the physics just the gfx)
using that planet engine it made for the balls (see it does have a use)
and using my regular 3d engine to render the table

Author:  Prince [ Wed May 28, 2003 9:48 am ]
Post subject: 

catalyst i hope ur planning on going into computer graphics or sumthin cus it would b a waste of talent if u didnt

Author:  void [ Wed May 28, 2003 12:28 pm ]
Post subject: 

dont worry catalyst...ill employ you...ill start you at $22/hr for my ultimate game company...it will be rival to Electronic Arts...i will call it......."The Game Company"..i kno...original eh?...i thought of it by myself...

Author:  Andy [ Wed May 28, 2003 4:08 pm ]
Post subject: 

hey catalyst, ur from windsor eh? what school?

Author:  Catalyst [ Wed May 28, 2003 4:14 pm ]
Post subject: 

not windsor exactly, tecumseh

Belle River High School

Author:  Homer_simpson [ Wed May 28, 2003 4:25 pm ]
Post subject: 

catalist yer pool seems to be having the same bug as mine had...:
when u hit a ball and balls collide some times they get stuck together becuz they go inside eachother...

Author:  Catalyst [ Wed May 28, 2003 4:32 pm ]
Post subject: 

i know, ive fixed that now

Author:  kythoon [ Wed May 28, 2003 4:56 pm ]
Post subject: 

very cool

its fun putting all the balls in ne corner then firing another at the all. Then watching them for flying! Laughing

Author:  Homer_simpson [ Wed May 28, 2003 7:31 pm ]
Post subject: 

2 questions...
1.how did u do that?!
2. where'd get all these physic formula's? i had struggle with making my own!!!!!!!!!

Author:  Catalyst [ Wed May 28, 2003 7:37 pm ]
Post subject: 

i used a vector class for the physics, heres the code i u want to see:

code:

    proc CollideBall (b : ^Ball)
        vHold (1) -> SetVector (x + vDir -> x, y + vDir -> y, b -> x + b -> vDir -> x, b -> y + b -> vDir -> y)
        vHold (1) -> Normalize
        vDir -> Copy (vHold (2))
        vHold (2) -> Sub (b -> vDir)
        vHold (1) -> Copy (vHold (3))
        vHold (1) -> Scale (vHold (3) -> Dot (vHold (2)), vHold (3) -> Dot (vHold (2)))
        vDir -> Sub (vHold (1))
        b -> vDir -> Add (vHold (1))
    end CollideBall


I found a basic explanation on the net, cant recall the site

Author:  JSBN [ Wed May 28, 2003 7:40 pm ]
Post subject: 

very nice, but there is a probelm, there is no white ball.

Author:  Homer_simpson [ Wed May 28, 2003 7:46 pm ]
Post subject: 

lol i gotto read yer vector class again to understand that code i've forgotten all the procedures Embarassed

Author:  Catalyst [ Wed May 28, 2003 8:00 pm ]
Post subject: 

dont bother, half (maybe all) of the commands were written in because of the pool game

Author:  Homer_simpson [ Wed May 28, 2003 9:32 pm ]
Post subject: 

i thought so...

Author:  Martin [ Wed May 28, 2003 10:50 pm ]
Post subject: 

Catalyst is a racist bastard. That's why there's no white ball. We're on to you catalyst

Author:  Asok [ Wed May 28, 2003 10:54 pm ]
Post subject: 

Darkness wrote:
Catalyst is a racist bastard. That's why there's no white ball. We're on to you catalyst


lmao

Author:  Homer_simpson [ Thu May 29, 2003 2:14 pm ]
Post subject: 

Catalyst are u black?

Author:  Catalyst [ Thu May 29, 2003 2:33 pm ]
Post subject: 

nope

Author:  Homer_simpson [ Thu May 29, 2003 4:40 pm ]
Post subject: 

i like that... Very Happy

Author:  jamonathin [ Tue Feb 22, 2005 5:46 pm ]
Post subject: 

Catalyst wrote:
Attached Very Happy

that's pretty sweet, i wish you guys would show your actually programming, so i could learn from it, but i understand why you dont.

Author:  [Gandalf] [ Tue Feb 22, 2005 6:07 pm ]
Post subject: 

grrr... Let me do this before anyone else comes to flame (possibly).

An important rule in posting it to ALWAYS CHECK THE DATE. The last post here was MAY 29, 2003! Surprised This topic has obviously been abandoned, so leave it that way. Imagine if everyone started posting in two year old topics, what a mess that would be Confused . Just try and remember for next time.

Anyways, personally - I would love to see a newer version of Catalyst's pool. This one did look promising, and I do love pool Smile.

Author:  cool dude [ Tue Feb 22, 2005 6:33 pm ]
Post subject: 

well since this topic was already brought up i'm just going to say wow! Surprised u r very talented i could see. quick question is there an update of this pool game because i would love to see it complete with the holes for pool and a white ball, and with actual score. good job!

Author:  Flikerator [ Tue Feb 22, 2005 7:52 pm ]
Post subject: 

Well catalyst is my hero Razz Just check out his pother programs. I really like editing the Hypercube Razz

Author:  Jas [ Sun Mar 20, 2005 5:08 pm ]
Post subject: 

Hey catalyst post your newest version of this game, i really wanna see it!!!

Author:  ssr [ Sun Mar 20, 2005 9:03 pm ]
Post subject: 

I love this game too eh... Very Happy

Author:  mike200015 [ Wed Mar 23, 2005 8:46 pm ]
Post subject: 

nice job Catalyst.. thats awesome!

Author:  Naveg [ Wed Mar 23, 2005 11:26 pm ]
Post subject: 

fantabulous!

Author:  Mr. T [ Thu Mar 24, 2005 1:29 am ]
Post subject: 

i love trying to get all the balls off the screen Very Happy

Author:  post8k [ Fri Mar 25, 2005 5:16 pm ]
Post subject: 

i like the way you made everything bounce off of eachother

Author:  ssr [ Fri Mar 25, 2005 5:21 pm ]
Post subject: 

wonder when is the final version gonna come out Very Happy

Author:  saltpro15 [ Wed Dec 03, 2008 7:32 pm ]
Post subject:  Re: Turing Pool

This is fantastic! I've been looking for a game to create for my final project in my class and you have inspired me, can you maybe do a tutorial on how you did the physics? I know a basic way to do it but yours looks much better and more realistic.

Author:  Clayton [ Wed Dec 03, 2008 8:29 pm ]
Post subject:  RE:Turing Pool

Necro'd.
This thread is locked


: