Darwinbots Forum
Bots and Simulations => DNA - General => Topic started by: Testlund on September 13, 2014, 02:43:38 PM
-
If you only use the first gene it makes .eye3 rotate anti-clockwise, but if you add the second gene it won't make .eye2 rotate clockwise as one might expect. It does some crazy stuff instead.
cond
*.robage .eye3dir store
stop
start
*.robage .eye2dir sub store
stop
I swear, the day computer code makes sense to me I'll be making my own software. :P
-
start
*.robage .eye3dir store
stop
start
*.robage sub .eye2dir store
stop
-
Otherwise you are storing a zero in the memory location defined by " *.robage .eye2dir sub" which does indeed produce some nifty results.
-
Yeah, I discovered my typo, but it's still weird how that could cause random replication.
-
Is there a way to increase the rotation speed of the eyes?
-
Robot age increments by 1.
To get something that increments by 1 to increment by 2, simply multiply it by 2. e. g.