Logic
Logic (WIP, HIRING) This page is a work-in-progress and may contain user notes. |
Wubby Logic is the second-most important thing in your wubby worlds, They can do mostly anything such as:
- Changing block colors
- Moving blocks / platforms
- Custom NPC movement
Here are some useful links for wiring:
Easings.net | Contains most easing types with directions.
Input
Notice! Using a parallel wiring block helps reduce the chances of these blocks not firing correctly. |
Input parts are blocks that cannot be connected to in wiring, only connect to. The Input tab is clearly separated from the Special tab, as the line between them is thicker.
These are blocks that are used to power wiring systems. They do not receive wiring inputs, and can only output.
![](http://static.miraheze.org/wubbypediawiki/thumb/b/bc/Block_touch_detectorpreview.png/250px-Block_touch_detectorpreview.png)
This block is triggered when another block touches it.
Output: The part that touched it.
Configurations:
- Activation Time: How long it activates for. Default is 1.
- Anchor Type: Decides what blocks get detected. Default is NonAnchored.
- Color To Filter: When filter color is true, only blocks with this color will trigger it. Default is pearl.
- Filter Color: Whether if this block will only trigger when a block with the specified color touches it. Default is false.
Logic
These are blocks that allow a player with build permissions to add extra functionality to their world, these examples include:
- Shift to sprint
- E to activate ability
and etc.
Notice! An input is where the gate recieves a signal from a wire connected to it.
An output is where the gate sends a signal to a wire connected from it. "true" = active signal "false" = inactive signal This is known as a bool |