Code center > Suggestions

Senses

<< < (4/9) > >>

Zelos:
if it slows down the simulation to much it aint worth it now. but wouldnt smell as well slow it down?

PurpleYouko:
Smell wouldn't be so bad as the robots would only have to check a very small number of grid locations on each cycle. That kind of computation is very fast.

 :D  PY  :D

Zelos:
sweet, if we add smell, the bots should be able to decied little what smell they release. kinda like:
--- Code: ---cond
start
5 .fermo store
stop
--- End code ---
then it release a fermone of type 5
and to notice what it smell
--- Code: ---cond
5 .smell =
start
*.smeaim .aimdx store
stop
--- End code ---
here it smell the fermone of type 5 and aim to the direction it smell most of it from. .smeaim is smell angel, the angel which it smell most of it. how about it?

Light:
for hearing your just  limit it to bots that are close by say the nearest 5 or 10, rather than having it over the entire population

Numsgil:
Even then you have to find which robots are close enough to other robots to hear.  Still means checking every robot against every other robot.  Basically O(n^2) for computer science people.

There are ways to make it faster, something along O(n log(n)), still not great.  And it gets worse the more bots you have.  ANd how worse it gets gets worse as you have more bots.

And what about shouting loudly?  And what about a group of 10 creatures all shouting at once?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version