CC Zone - Chip's Challenge Forum
Some Useful CC2 Logic Inventions - Printable Version

+- CC Zone - Chip's Challenge Forum (https://forum.bitbusters.club)
+-- Forum: Chip's Challenge (https://forum.bitbusters.club/forum-4.html)
+--- Forum: General Discussion (https://forum.bitbusters.club/forum-13.html)
+---- Forum: Blog Station (https://forum.bitbusters.club/forum-31.html)
+---- Thread: Some Useful CC2 Logic Inventions (/thread-9.html)



Some Useful CC2 Logic Inventions - Joshua Bone - 26-Jan-2018

SET/RESET: The outer four buttons can be 'set' independently, and the middle button resets them all.

[Image: 6m3myUI.png]

SEPARATE ON/OFF: A simpler version of SET/RESET. Basically like a toggle switch except the on and off functions are separated.

[Image: pWOor2g.png]

MULTI-TOGGLE: You can add more branches as needed. Each press of the button moves the toggle to the next state.

[Image: uWigxBa.png]

EDGE TRIGGERS: The STEP ON trigger fires a 1-tick pulse on tick t+1 after the button is pressed. The STEP OFF trigger fires a 1-tick pulse on tick t+3 after the button is released. The ROCKER fires either a 1-tick or 2-tick pulse on tick t+1 after the button is pressed, and another 1-tick or 2-tick pulse on tick t+1 after the button is released (the pulse will be 1-tick wide for a short press of the button, and 2-ticks wide for a long press).

[Image: 3Bop6aZ.png]


Some Useful CC2 Logic Inventions - chipster1059 - 26-Jan-2018

I'm not really sure exactly howthe mechanisms behind these work, but these are some pretty cool designs that could probably be useful in several levels Slight smile

Thank you for sharing these Slight smile


Some Useful CC2 Logic Inventions - Joshua Bone - 26-Jan-2018

No prob! It'll be nice if the community can build up a library of useful things like this that can then be used for interesting level designs, so it's not a matter of trying to figure everything out from scratch.