Update 2023-11-04 - States!


Changes:

  • The "Hotkeys" menu has been renamed to "States".
    • States can now be triggered with a schedule, in addition to hotkeys.
  • Added a "Hide with parent" option under the Motion Parent settings.
    • On by default.
    • When the parent is hidden, layers will be invisible even if their own visibility is true. This allows for many layers to be hidden at once, and opens up scope for combining the effects of multiple States.
  • Stability improvements and bugfixes.
  • Included VC_redist.x86.exe for convenience to those who might not have the x86 Visual C++ Redistributables installed already.

Below: A gif demonstrating the use of two states on scheduled timers. One state alternates between two groups of layers for character moods (neutral vs relax). Another state alternates between both sets of the "arms_gaming" and "arms_idle" layers on a shorter interval. 
All the "relax" layers have "Edie_body_relax" as a parent, so they hide when it is hidden (and the same setup for the "neutral" versions).

(mp4 version)

Files

RahiTuber-2023-11-04a.zip 13 MB
Nov 04, 2023

Get RahiTuber

Comments

Log in with itch.io to leave a comment.

The behavior of non-toggle non-timeout non-scheduled states gets stuck on 'on' there doesn't seem to be a way to 'pulse' the state. as in swapping between emotions, with the latest button press overriding previous states. 

Because states are stackable, having no "turn off" event would mean they all enter the stack and never leave. So, at the moment you need them to have either Toggle or Timeout enabled.

If you want to pulse just one state on and off, toggle will suffice if you are ok with pressing the same button twice. Otherwise timeout will do it for you.

I will look into adding a separate "off trigger" button for when toggle is turned off.

I understand. Thank you for the explanation, before I discovered what was going on, I managed to make it CTD repeatedly. I was trying to use states to swap between emotions I can reorganize what i was doing i think to make it work.