Author |
Message |
Homer_simpson
|
Posted: Thu May 08, 2003 10:22 pm Post subject: Pool Demo... Hopefuly I will finish this one.. (ya right =Þ) |
|
|
the name says it all...
just download the attachment...
hopefully i'll finish this one b4 the lazy ass thing gets over me again...
Description: |
|
Download |
Filename: |
maysccccc.t |
Filesize: |
8.24 KB |
Downloaded: |
417 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Catalyst
|
Posted: Thu May 08, 2003 10:27 pm Post subject: (No subject) |
|
|
nice
you should get the interball collisions goin
why is it called may screw?
|
|
|
|
|
|
Tony
|
Posted: Thu May 08, 2003 10:27 pm Post subject: (No subject) |
|
|
well we do have a half-ass tutorial on programming pool... Maybe you can supply some actual working code for proper collision once you get your game to work
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Catalyst
|
Posted: Thu May 08, 2003 10:29 pm Post subject: (No subject) |
|
|
ive got a 2d vector class that might be of use to someone making a pool game
|
|
|
|
|
|
Homer_simpson
|
Posted: Thu May 08, 2003 10:31 pm Post subject: (No subject) |
|
|
sweet....
Quote: why is named may screw
cuz when i'm writing a program i saved many different files as i proceed cuz like suddenly a new idea comes to my mind so i save the old file and save the second file as may screw 1 or might get assed or something like that =)
and i'll make sure i check yer tutorial before i realse the final version...
Bwahahahhahahahhaaaaaaaaarrrr.... right now the idea of making a multiplayer pullgame just flashed into my mind so the next file i'll be uploading will probably be may screw 4 or 5 hehe
|
|
|
|
|
|
Homer_simpson
|
Posted: Thu May 08, 2003 10:58 pm Post subject: (No subject) |
|
|
ok i got a little problem here
I dunno how to play pool... =( i know that it's a 2 player game and u are supposed to put the balls in the holes and whoever finishes first wins... but i dunno when do players change turns which balls belong to which players and how many balls are there?!
|
|
|
|
|
|
Tony
|
Posted: Thu May 08, 2003 11:00 pm Post subject: (No subject) |
|
|
go to www.yahoo.com and play in some yahoo pool... it has all the rules and stuff... you'll also get to see what you have to do
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Homer_simpson
|
Posted: Fri May 09, 2003 12:43 am Post subject: (No subject) |
|
|
ok here's another problem the friction and the ball speed is so very unrealistic....=Þ
I have marked the place that you should consider. the ball moves too fast when i give it a little power and move to slow when i give it alittle =(
Description: |
|
Download |
Filename: |
mayscrew 2.t |
Filesize: |
5.29 KB |
Downloaded: |
430 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
Posted: Fri May 09, 2003 1:09 am Post subject: (No subject) |
|
|
friction is relative to the speed of the moving object and thus must be a multiple as highspeed object produces more drag.
b.speed *= 0.8 works much better
though you need to have another if statment in there to stop the ball once it gets down to a decimal low enough... cuz otherwise it can keep on dividing for a long time.
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Homer_simpson
|
Posted: Fri May 09, 2003 1:52 am Post subject: (No subject) |
|
|
this is what i used
code: | if b.speed > .01 then
b.speed *= .95
else
b.speed := 0
end if |
|
|
|
|
|
|
Homer_simpson
|
Posted: Fri May 09, 2003 2:51 am Post subject: (No subject) |
|
|
ouk now.... is it just me or is there something terribly wrong with my ball collision detection....?
Description: |
|
Download |
Filename: |
maysccccc.t |
Filesize: |
6.53 KB |
Downloaded: |
415 Time(s) |
|
|
|
|
|
|
Homer_simpson
|
Posted: Mon May 12, 2003 1:03 pm Post subject: (No subject) |
|
|
Almost done!!!!!!!!!!!
Description: |
|
Download |
Filename: |
maysccccc.t |
Filesize: |
8.24 KB |
Downloaded: |
476 Time(s) |
|
|
|
|
|
|
Catalyst
|
Posted: Mon May 12, 2003 2:19 pm Post subject: (No subject) |
|
|
the collisions dont seem to work right
also the ball dont colidde with eachother
|
|
|
|
|
|
Homer_simpson
|
Posted: Mon May 12, 2003 3:21 pm Post subject: (No subject) |
|
|
that's y i said almost done...
|
|
|
|
|
|
|