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

Username:   Password: 
 RegisterRegister   
 Shuffle Board (Circle collision detection and response)
Index -> Programming, Java -> Java Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
matt271




PostPosted: Mon Apr 06, 2009 8:06 pm   Post subject: Shuffle Board (Circle collision detection and response)

this is my first year java final project

we didn't have to make it animated or do the collision detection and response but i did anyway

if you want to play w/ just the collision part click Settings|Free Play and u'll get a better effect if u turn on Bounds and turn off Friction

i plan to make an entire generic package just of the collision part

some of the code is kinda of messy. this is my first program in java besides simple assignments. i tried to keep it good nice and tidy

i was a VB6 coder b4 i started comp sci Sad

feel free to use any of my code freely, i just ask for credit

i don't like the way i used double floating points and cast them to integers when i need coordinates.
i was thinking of storing it all as integers, and make the unit 1000 pixels per 6 ms

anyways here it is:



ss freeplay.jpg
 Description:
 Filesize:  64.32 KB
 Viewed:  517 Time(s)

ss freeplay.jpg



ss game.jpg
 Description:
 Filesize:  40.77 KB
 Viewed:  307 Time(s)

ss game.jpg



Shuffle Board.zip
 Description:

Download
 Filename:  Shuffle Board.zip
 Filesize:  82.77 KB
 Downloaded:  1042 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
saltpro15




PostPosted: Tue Apr 07, 2009 2:02 pm   Post subject: RE:Shuffle Board (Circle collision detection and response)

looks good, I like the collision detection, I'd use that package if you make it
Display posts from previous:   
   Index -> Programming, Java -> Java Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: