Darwinbots Forum

Code center => Bugs and fixes => Topic started by: abyaly on March 16, 2008, 04:20:32 PM

Title: Eyes not picking up bots RESOLVED (BY DESIGN)
Post by: abyaly on March 16, 2008, 04:20:32 PM
The veggie is looking at the tiny bots.
Some of them are inside the eye range but aren't noticed.
(In an unrelated note, the tiny bots should be dead due to energy loss, but aren't)
[attachment=810:eyes.PNG]
Title: Eyes not picking up bots RESOLVED (BY DESIGN)
Post by: EricL on March 16, 2008, 09:35:39 PM
This is almost certainly a function of your display dimensions and the way VB displays circles and portions there of.  The eyes are correct but because your display dimensions don't match the field dimensions, the pixels aren't square - the x and y dimensions differ in their pixels per square inch   Bots should really be displayed as ellispes, but their still displayed as circles.  This gives an incorrect display for a lot of things - the eye display, shot impacts, etc.  Look close and you will see the aim marker for a spinning bot trace the ellipse.

Try unlocking the field and then look again.  When you unlock the field, I scale it to more closely match the field diemnsions.  Its not perfect, but it gives you a better display.

Please file the tiny bot issue as a separate bug with a sim.  Thanks.

The eye thing is resolved WON'T FIX.

I'll use this sim to look at the small bot issue.
Title: Eyes not picking up bots RESOLVED (BY DESIGN)
Post by: EricL on March 16, 2008, 09:51:17 PM
Your small bots arn't dying because you have no costs specified.
Title: Eyes not picking up bots RESOLVED (BY DESIGN)
Post by: abyaly on March 17, 2008, 04:44:28 PM
Strange..  I never touched the costs. I only set it to f1 conditions to preform tests.
Title: Eyes not picking up bots RESOLVED (BY DESIGN)
Post by: Numsgil on March 17, 2008, 08:30:53 PM
The F1 check box used to have issues with not setting costs.  If you have the desire, please do test to make sure when you check F1 it properly sets all the settings.
Title: Eyes not picking up bots RESOLVED (BY DESIGN)
Post by: EricL on March 17, 2008, 09:52:13 PM
Just FYI, I do plan at some stage to support arbitrary field sizes and default to sizes which are multiples of the actual display dimensions....  This largely address the display issues.  Not high priority, but on my list.