Author Topic: I'm not sure what I just did, but it is interesting...  (Read 592 times)

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
I'm not sure what I just did, but it is interesting...
« on: August 15, 2014, 08:57:56 AM »
Some bizzare aiming. It is a segment of a new SS bot I'm working on...

50
'Repro
*.nrg 1000 sub sgn 0 floor .repro mult 1 rnd mult
-6
'Moving
1 rnd -298 mult add
'Shooting
*.eye5 0 sub sgn abs 0 floor 7 mult add

store
To być albo nie być, oto jest ze pytanie

Offline Billy

  • Bot Destroyer
  • ***
  • Posts: 175
    • View Profile
Re: I'm not sure what I just did, but it is interesting...
« Reply #1 on: August 16, 2014, 11:36:06 AM »
'Shooting
*.eye5 0 sub sgn abs 0 floor 7 mult add
This can be simplified to:

*.eye5 sgn 7 mult add

Just to let you know. "0 sub" subtracts 0, which does nothing. "abs" and "0 floor" are not needed as *.eye5 will always be positive. :)
"I cannot persuade myself that a beneficent and omnipotent God would have designedly created parasitic wasps with the express intention of their feeding within the living bodies of Caterpillars."

-Charles Darwin