tsunamayo / Starship-EVO

Welcome to Starship EVO bug tracking repo !
118 stars 17 forks source link

pulse extender #6095

Open najlitarvan opened 2 weeks ago

najlitarvan commented 2 weeks ago

Minecraft's repeater, that's kinda it. A logic that would activate when triggered and would hold signal for X amout of time, after that time expires it would be waiting for another signal current logic replication can be very finnicky

tsunamayo commented 2 weeks ago

@najlitarvan Isnt this what the current timer is doing? Maybe I should fix the timer instead if there is any issues with it.

najlitarvan commented 2 weeks ago

@tsunamayo honestly thinking about it, i realised that what i was thinking about wasn't per say a timer, but has a more appropriate name, pulse extender, with the current set of logic, such circuit is likely to have quite a few fail cases, imo it would be nice to have a proper block for it, could also be usable as toggle to pulse in a single block if this block only activates on rising edge (aka it being powered on)

thatisjake commented 1 week ago

@najlitarvan Isnt this what the current timer is doing? Maybe I should fix the timer instead if there is any issues with it.

I believe what @najlitarvan was asking for a is a slightly different that the timer as is currently. Currently the timer simply delays any signal, but keeps the actual length of it constant. I believe what they were asking for is a logic block that will make a signal of a specific length when enabled. It is currently possible to do this with logic gates and timers as is, but it could be a lot simpler if there was just a block for it instead.

ProPeach commented 1 week ago

There's a pulse length setting in the Event Gate, would a similar setting work for this application in another existing logic brick? That might be better than adding a new brick

najlitarvan commented 1 week ago

There's a pulse length setting in the Event Gate, would a similar setting work for this application in another existing logic brick? That might be better than adding a new brick

ya, having a way to extract that component from the eventgate without having to use mechanism inbetween would be nice and compress logic

najlitarvan commented 1 week ago

in general having a block or selection of blocks that could behave like the pulse extender and pulse repeater from the create mod for minecraft would be nice https://imgur.com/a/0ZXQA4c