View Single Post
Old 03-19-2003, 10:12 AM   #4
feldon34
Forum Administrator
 
feldon34's Avatar
 
Join Date: Dec 2000

Location: Rock Hill, SC
Posts: 10,939
Re: A few things on the MA V2 release!

Originally posted by Vasquez
Hi All,

2) On one of the occasions when the MA loaded, the Yellow Tang 'dropped' in from the top of the screen, as if it had been dropped into the tank. It was very noticeable, although I have only exeperienced this once.

Regards
Vaz
This one has been in there forever.

Right now, MA2 is still using Jim's fish avoidance code (which is better than the other fish savers, but still limited in a few ways). The closer 2 fish are to each other, the stronger the repelling force. If, when you start the Aquarium and it picks the random starting places for each of the 7 fish, 2 fish are almost on top of each other, the repelling force is so great that both fish are "thrown" away from each other.

An easy fix for this would be when picking random spots for each of the 7 fish to start, if 2 fish are in a "collide" state, re-generate the random starting point for one of them again.

Eventually, we'll be using Prolific's code for fish avoidance/collision.
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman
feldon34 is offline   Reply With Quote