
-----------------------------------
Catalyst
Tue May 27, 2003 9:58 pm

Turing Pool
-----------------------------------
I was playing pool today (got the table run on me 5 five times :( ) 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

-----------------------------------
Catalyst
Tue May 27, 2003 10:00 pm


-----------------------------------
Attached :D

-----------------------------------
Asok
Tue May 27, 2003 10:33 pm


-----------------------------------
AWESOME!

Although I ran into a bug, it is possible to push the balls of of the screen.

-----------------------------------
Catalyst
Tue May 27, 2003 10:37 pm


-----------------------------------
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

-----------------------------------
Prince
Wed May 28, 2003 9:48 am


-----------------------------------
catalyst i hope ur planning on going into computer graphics or sumthin cus it would b a waste of talent if u didnt

-----------------------------------
void
Wed May 28, 2003 12:28 pm


-----------------------------------
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...

-----------------------------------
Andy
Wed May 28, 2003 4:08 pm


-----------------------------------
hey catalyst, ur from windsor eh? what school?

-----------------------------------
Catalyst
Wed May 28, 2003 4:14 pm


-----------------------------------
not windsor exactly, tecumseh

Belle River High School

-----------------------------------
Homer_simpson
Wed May 28, 2003 4:25 pm


-----------------------------------
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...

-----------------------------------
Catalyst
Wed May 28, 2003 4:32 pm


-----------------------------------
i know, ive fixed that now

-----------------------------------
kythoon
Wed May 28, 2003 4:56 pm


-----------------------------------
very cool

its fun putting all the balls in ne corner then firing another at the all. Then watching them for flying!  :lol:

-----------------------------------
Homer_simpson
Wed May 28, 2003 7:31 pm


-----------------------------------
2 questions... 
1.how did u do that?!
2. where'd get all these physic formula's? i had struggle with making my own!!!!!!!!!

-----------------------------------
Catalyst
Wed May 28, 2003 7:37 pm


-----------------------------------
i used a vector class for the physics, heres the code i u want to see:


    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

-----------------------------------
JSBN
Wed May 28, 2003 7:40 pm


-----------------------------------
very nice, but there is a probelm, there is no white ball.

-----------------------------------
Homer_simpson
Wed May 28, 2003 7:46 pm


-----------------------------------
lol i gotto read yer vector class again to understand that code i've forgotten all the procedures  :oops:

-----------------------------------
Catalyst
Wed May 28, 2003 8:00 pm


-----------------------------------
dont bother, half (maybe all) of the commands were written in because of the pool game

-----------------------------------
Homer_simpson
Wed May 28, 2003 9:32 pm


-----------------------------------
i thought so...

-----------------------------------
Martin
Wed May 28, 2003 10:50 pm


-----------------------------------
Catalyst is a racist bastard. That's why there's no white ball. We're on to you catalyst

-----------------------------------
Asok
Wed May 28, 2003 10:54 pm


-----------------------------------
Catalyst is a racist bastard. That's why there's no white ball. We're on to you catalyst

lmao

-----------------------------------
Homer_simpson
Thu May 29, 2003 2:14 pm


-----------------------------------
Catalyst are u black?

-----------------------------------
Catalyst
Thu May 29, 2003 2:33 pm


-----------------------------------
nope

-----------------------------------
Homer_simpson
Thu May 29, 2003 4:40 pm


-----------------------------------
i like that... :D

-----------------------------------
jamonathin
Tue Feb 22, 2005 5:46 pm


-----------------------------------
Attached :D
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.

-----------------------------------
[Gandalf]
Tue Feb 22, 2005 6:07 pm


-----------------------------------
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!  :o   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  :? .  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 :).

-----------------------------------
cool dude
Tue Feb 22, 2005 6:33 pm


-----------------------------------
well since this topic was already brought up i'm just going to say wow!  :o  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!

-----------------------------------
Flikerator
Tue Feb 22, 2005 7:52 pm


-----------------------------------
Well catalyst is my hero :P Just check out his pother programs. I really like editing the Hypercube :P

-----------------------------------
Jas
Sun Mar 20, 2005 5:08 pm


-----------------------------------
Hey catalyst post your newest version of this game, i really wanna see it!!!

-----------------------------------
ssr
Sun Mar 20, 2005 9:03 pm


-----------------------------------
I love this game too eh... :D

-----------------------------------
mike200015
Wed Mar 23, 2005 8:46 pm


-----------------------------------
nice job Catalyst.. thats awesome!

-----------------------------------
Naveg
Wed Mar 23, 2005 11:26 pm


-----------------------------------
fantabulous!

-----------------------------------
Mr. T
Thu Mar 24, 2005 1:29 am


-----------------------------------
i love trying to get all the balls off the screen :D

-----------------------------------
post8k
Fri Mar 25, 2005 5:16 pm


-----------------------------------
i like the way you made everything bounce off of eachother

-----------------------------------
ssr
Fri Mar 25, 2005 5:21 pm


-----------------------------------
wonder when is the final version gonna come out :D

-----------------------------------
saltpro15
Wed Dec 03, 2008 7:32 pm

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.

-----------------------------------
Clayton
Wed Dec 03, 2008 8:29 pm

RE:Turing Pool
-----------------------------------
Necro'd.
:locked:
