Skip to content

Custom menu widgets for numeric input fields #996

Open
@ericrosenbaum

Description

@ericrosenbaum

We currently have a few custom menu widgets for fields like the color and angle pickers. We should consider adding custom menu widgets with sliders for all or almost all blocks that that have numeric inputs, because:

Here are some examples:

  • The "move 10 steps" block would have a slider from (say) -50 to 50.
  • The "turn 15 degrees" block would have a slider from (say) -180 to 180.
  • The "go to x: 0 y: 0" would have sliders for each axis, with ranges corresponding to the stage size (-180 to 180 and -240 to 240)
  • Blocks with time input such as "wait 1 secs" and the "glide" block would have sliders that do not go negative (zero at the left edge), and have a relatively small maximum value (such as 5 seconds). Unlike most other sliders, this would not move in increments of 1 but instead 0.1, so you could set a value like 1.5.
  • the "set size" block would also have a minimum of zero, and a relatively low maximum, such as 200% or 250% (this is a tricky case, because as far as I know the maximum scale that will actually work depends on the sprites original size).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions