Logic Gadgets: Value Slider

 

Icon
Name of gadget Value Slider
Section Sensors & Input
Number of Tweak pages 1
Author LadylexUK, QuietlyWrong
Last updated 21 Feb 2019 [Beta]

Description

This sets and reads back values and allows you to change them without going into the tweak menus. It is particularly useful for debugging purposes. You can easily read a signal a gadget is producing by wiring its output into a value slider’s Value input. Note that slider is only visible while creating; it is not visible when Dream Surfing.

Example Tutorial (from Media Molecule)

  1. Stamp a cube.
  2. Snap a rotator to the cube.
  3. Add a value slider to the scene and connect the value output to the rotation speed on the rotator tweak menu
  4. Tweak the value slider and nudge the maximum value up to 4.
  5. Hit start time.
  6. Adjust the value slider and see the cube speed up and slow down in its rotation.

Tweak Menus

  1. Value Slider Colour
    1a. Colour input
    1b. Colour output
  2. Value
    2a. Value input
    2b. Value output
  3. Minimum Value
    3a. Input
    3b. Output
  4. Maximum Value
    4a. Input
    4b. Output
  5. Slider Visible in Scene
    5a. Input
    5b. Output
  6. Power
  1. Value Slider Colour
    Choose the colour of the slider here. You can change the colour dynamically with an input and the output value can be used to colour other items the same as the slider.
  2. Value
    The value that the slider will display initially can be set here. Connect an input signal here to read and display the value from another gadget’s output (as long as it is within the minimum and maximum values – otherwise the value will be set to the relevant limit). The output sends a signal of the current value shown.
  3. Minimum Value
    Here you can set the minimum value that the slider can be set to. This defaults to 0 but can be set to any value, positive or negative, as long as it is below (or equal to) the Maximum Value.
  4. Maximum Value
    Here you can set the maximum value that the slider can be set to, in the same way as the Minimum Value setting, but obviously must be above the Minimum Value.
  5. Slider Visible in Scene
    You can toggle the visibility of the slider as required. The output will be a 1 or 0 depending on whether it is visible or not.
    When set to “Visible”, the Slider displays like this:

    Otherwise a smaller gadget appears with the current numeric value but no slider.
  6. Power
    Turn this gadget on/off

Lex Tips

Useful Tutorials

Beginners Guide to the Value Slider

Comments and Feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: