Stormworks: Build and Rescue

Stormworks: Build and Rescue

Dima Jan 9, 2020 @ 3:49pm
Merge Composite Input
Whats a good way to merge composite inputs ?
idk if this is a good way:
https://steamcommunity.com/sharedfiles/filedetails/?id=1964559868
Last edited by Dima; Jan 9, 2020 @ 3:50pm
< >
Showing 1-3 of 3 comments
Tajin Jan 10, 2020 @ 1:10am 
Wouldn't call that "merging". It looks more like a crude kind of multiplexing.

Personally I would put the switchboxes in chain cycle and cycle them per tick.
Also maybe use one of the channels on each composite as an index so you can easily identiy which one you're currently reading.


Here's a good example of tick based multiplexing with regular logic, not composite but the idea is the same:
https://steamcommunity.com/sharedfiles/filedetails/?id=1416526228
Last edited by Tajin; Jan 10, 2020 @ 1:15am
Dima Jan 10, 2020 @ 2:46am 
Thx but i get the hint i can just put the composite buttons in a chain and dont need them to merge in logic
Tajin Jan 10, 2020 @ 12:04pm 
Yeah those can be chained.
The only thing to watch out for is that you'll get some input delay if you put too much things in chain. (1 tick for each block or logic gate the signal passes through)

Multiplexing on the other hand is mainly useful when you need to pipe more than 32 inputs through a composite connection, which is rarely necessary.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jan 9, 2020 @ 3:49pm
Posts: 3