You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Elijah Voigt 40b3f2adfc Add Scalar action kind for UI sliders
Adds a fourth ActionKind, Scalar, carrying an f32 from a slider's
ValueChange<f32>. It is edge-triggered like Instant but value-carrying
like Axis, completing the edge/level split (Instant/Scalar vs Toggle/Axis).

- ActionValue::Scalar(f32) + as_scalar(); ActionState scalar()/set_scalar().
- active() is now kind-dispatched: edge kinds report "this frame", level
  kinds report current state.
- slider_to_action observer stores live value on every change but only
  triggers on is_final, so gated consumers run once per settled change.
- scalar_value(a) typed provider pipes a bare f32 into In<f32>.
- #[action_kind(scalar)] added to the derive macro.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6 days ago
.cargo inital commit, scaffolding 1 month ago
.templates inital commit, scaffolding 1 month ago
engine Add Scalar action kind for UI sliders 6 days ago
life Add generic, remappable game action system 1 week ago
prototypes 0.19 upgrade, move some things to bsn! syntax 1 month ago
scripts Color scheme and some ui cleanup 3 weeks ago
web inital commit, scaffolding 1 month ago
.envrc inital commit, scaffolding 1 month ago
.gitignore mute cell on placement 4 weeks ago
flake.lock inital commit, scaffolding 1 month ago
flake.nix inital commit, scaffolding 1 month ago
justfile inital commit, scaffolding 1 month ago
rust-toolchain.toml inital commit, scaffolding 1 month ago