We are working on a logic system for the game alongside the development of the demo.
Currently we have added a delay logic block.
When the player steps on the pressure plate it will emit a cable signal that goes
through to the delay logic block. This will then activate an internal timer that depends
on the configuration slot. That is the number 4 on the block, there are four different settings
where 4 is the longest delay and 1 the shortest.
When the internal timer stops the block will repeats the input it got before the timer started
and send it as output signal.
In this example I have connected a pressure plate to three delay blocks with
the maximum delay and then attached the output to a hatch.
The delay is long enough for me to walk upstairs and jump down before the hatch closes.
This block is used to delay cable signals for a while.With the delay block you could also feed the output from one delay block into another delay block that
then sends its output to the first delay block. With this we have a loop, this could be used to blink a
light like in this example. Imagine having this setup with a pressure plate as an alarm system for incoming mobs.
Loop made with delay logic blockWe have also added an converter logic block.
In this example I have made a car that works with pressure plates.
The way it works is when the player walks on the right pressure plate.
That plate will send a signal to the converter with the configuration that is the right arrow.
There are four different configurations which are left, right, up and down.
So now we have converted the unspecified signal from the pressure plate to a right signal with the converter.
This signal is then inputted to the engine and now the vehicle are driving right.
When the player the walks on the left pressure plate, the signal is send into the left converter.
Then the vehicle is driving left.
If the player walks off both plates there are no signal and the vehicle stops.
This block takes any input and converts it to the configuration that is set.With this we think that you, the players can create some really fun and creative builds.
Best regards,
Daniel Carlsson the intern