Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Pool Demo... Hopefuly I will finish this one.. (ya right =Þ
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Homer_simpson




PostPosted: 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...



maysccccc.t
 Description:
almost done!!!

Download
 Filename:  maysccccc.t
 Filesize:  8.24 KB
 Downloaded:  416 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Catalyst




PostPosted: Thu May 08, 2003 10:27 pm   Post subject: (No subject)

nice Very Happy
you should get the interball collisions goin
why is it called may screw?
Tony




PostPosted: 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Catalyst




PostPosted: 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




PostPosted: 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




PostPosted: Thu May 08, 2003 10:58 pm   Post subject: (No subject)

ok i got a little problem here Embarassed
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




PostPosted: 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Homer_simpson




PostPosted: 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 =(



mayscrew 2.t
 Description:

Download
 Filename:  mayscrew 2.t
 Filesize:  5.29 KB
 Downloaded:  427 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Homer_simpson




PostPosted: 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




PostPosted: 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....?


maysccccc.t
 Description:

Download
 Filename:  maysccccc.t
 Filesize:  6.53 KB
 Downloaded:  414 Time(s)

Homer_simpson




PostPosted: Mon May 12, 2003 1:03 pm   Post subject: (No subject)

Almost done!!!!!!!!!!!


maysccccc.t
 Description:

Download
 Filename:  maysccccc.t
 Filesize:  8.24 KB
 Downloaded:  473 Time(s)

Catalyst




PostPosted: Mon May 12, 2003 2:19 pm   Post subject: (No subject)

the collisions dont seem to work right Sad

also the ball dont colidde with eachother
Homer_simpson




PostPosted: Mon May 12, 2003 3:21 pm   Post subject: (No subject)

that's y i said almost done...
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 14 Posts ]
Jump to:   


Style:  
Search: