eugene-og / threes-company

Automatically exported from code.google.com/p/threes-company
0 stars 0 forks source link

Both blobs in a collision die #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Regardless of their sizes.

Original issue reported on code.google.com by dbenamy on 14 Dec 2007 at 2:33

GoogleCodeExporter commented 9 years ago
actually larger blobs behave like you'd expect.  essentially if the shrunken 
blob
would be smaller than BLOB_INITIAL_SIZE, then the both die.  i.e., we don't 
want to
damage to create ultra-tiny blobs, rather just kill them off.  we can adjust the
amount of damage, though.

Original comment by morales....@gmail.com on 14 Dec 2007 at 2:51

GoogleCodeExporter commented 9 years ago
Something's wrong though. If a 3.3 and 3.8 blob collide, a small blob is left. 
But if
a  2.5 and 3.1 collide (a bigger difference in sizes) they both die. I think 
whether
one is left over should depend on the difference in their sizes.

Original comment by dbenamy on 14 Dec 2007 at 3:03

GoogleCodeExporter commented 9 years ago
ah, yes, you're right.  i can take care of this.

Original comment by morales....@gmail.com on 14 Dec 2007 at 3:12

GoogleCodeExporter commented 9 years ago
* both blobs killed in collision if percentage difference of radii less than 10%
* percentage difference a tweakable in GameParameters

see if you like it at 10%.  seems pretty good.

Original comment by morales....@gmail.com on 14 Dec 2007 at 4:04

GoogleCodeExporter commented 9 years ago
It does seem good. I'd call this done.

Original comment by dbenamy on 14 Dec 2007 at 4:30

GoogleCodeExporter commented 9 years ago
fixed: tweak as necessary

Original comment by morales....@gmail.com on 14 Dec 2007 at 4:48