Author Topic: As it can become!  (Read 3728 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
As it can become!
« 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
« Last Edit: September 13, 2014, 02:46:48 PM by Testlund »
The internet is corrupt and controlled by criminally minded people.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: As it can become!
« Reply #1 on: September 13, 2014, 02:58:01 PM »
Code: [Select]
start
 *.robage .eye3dir store
stop

start
 *.robage sub .eye2dir store
stop

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: As it can become!
« Reply #2 on: September 13, 2014, 02:59:35 PM »
Otherwise you are storing a zero in the memory location defined by " *.robage .eye2dir sub" which does indeed produce some nifty results.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Re: As it can become!
« Reply #3 on: September 13, 2014, 03:15:54 PM »
Yeah, I discovered my typo, but it's still weird how that could cause random replication.
The internet is corrupt and controlled by criminally minded people.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Re: As it can become!
« Reply #4 on: September 13, 2014, 04:23:46 PM »
Is there a way to increase the rotation speed of the eyes?
The internet is corrupt and controlled by criminally minded people.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: As it can become!
« Reply #5 on: September 13, 2014, 04:51:14 PM »
Robot age increments by 1.
To get something that increments by 1 to increment by 2, simply multiply it by 2. e. g.