The combinator now have many new features like &, XOR, ...
But i have as a circuit beginner no idea what they make.
Where i can find information what they make?
A little example would also be nice.
EDIT:
More Info i have found here
Tutorial:Combinator Tutorial:
https://wiki.factorio.com/Tutorial:Combinator_Tutorial
Tutorial:Circuit-network Cookbook:
https://wiki.factorio.com/Tutorial:Circ ... k_Cookbook
But what i am ask is what make the game when he get no 0 or 1 ??? ... 7 as example.
Becausea ALL things i found are only with 1 as highest number.
Also found this:
Gate Description
NOT Inverts the input (HIGH becomes LOW, LOW becomes HIGH)
AND Outputs HIGH if all the inputs are HIGH; otherwise, outputs LOW
OR Outputs HIGH if at least one of the inputs is HIGH; otherwise, outputs LOW
NAND Outputs HIGH if all the inputs are LOW; otherwise, outputs LOW
NOR Outputs HIGH if at least one of the inputs is LOW; otherwise, outputs LOW
XOR Outputs HIGH if one, and only one, of the inputs is HIGH; otherwise, outputs LOW
NXOR Outputs HIGH if one, and only one, of the inputs is LOW; otherwise, outputs LOW
Who is the new combinator stuff epxlained?
Who is the new combinator stuff epxlained?
Last edited by DOSorDIE on Wed May 10, 2017 8:32 am, edited 2 times in total.
Re: Who is the new combinator stuff epxlained?
Boolean logic is pretty self-explanatory. Though I think these actually perform bitwise operations. So if you just use them with 0 and 1 they behave like logic gates. But you can also do bit manipulation on larger numbers by the looks of it. Like using XOR to flip bits. And in combination with the left shift operator set and clear bits.
The % operator is also new. That's a modulo division.
The % operator is also new. That's a modulo division.
-
- Fast Inserter
- Posts: 230
- Joined: Wed Jun 08, 2016 6:16 pm
- Contact:
Re: Who is the new combinator stuff epxlained?
Dont forget << and >> for right and left bitshift:
a<<b = a*(2^b)
a>>b = a/(2^b)
may cause unexpected results if negative...
a<<b = a*(2^b)
a>>b = a/(2^b)
may cause unexpected results if negative...
Re: Who is the new combinator stuff epxlained?
Then it's a bitwise operation. Like the difference between & and && in C/C++. Just apply the logic operation to each bit of the numberBut what i am ask is what make the game when he get no 0 or 1 ??? ... 7 as example.
For example:
1001
AND
0011
=
0001