Closed GoogleCodeExporter closed 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
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
ah, yes, you're right. i can take care of this.
Original comment by morales....@gmail.com
on 14 Dec 2007 at 3:12
* 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
It does seem good. I'd call this done.
Original comment by dbenamy
on 14 Dec 2007 at 4:30
fixed: tweak as necessary
Original comment by morales....@gmail.com
on 14 Dec 2007 at 4:48
Original issue reported on code.google.com by
dbenamy
on 14 Dec 2007 at 2:33