Logic

From Wubbypedia
Revision as of 21:52, 8 April 2024 by King cube (talk | contribs)
Logic (WIP, HIRING)

This page is a work-in-progress and may contain user notes.
You can help by finishing it.

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.

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.

This block is triggered when a player clicks it.
Output: The part that touched it.
Configurations:

  • Activation Time: How long it activates for. Default is 1
  • Max Distance: How far you can click this block. Default is 32.
  • Toggleable: Whether if this block acts like a switch. Default is true.
Notice!

This block is Admin+.

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