Computer Science Canada

Shuffle Board (Circle collision detection and response)

Author:  matt271 [ 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:

Author:  saltpro15 [ 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


: