Joysticks in Synfig (Controller Plugin)

Slider demo with Controller Plugin
Sliders are useful to interpolate between poses or 2 values.

https://imgur.com/XyOP5gJ.gif

Here’s the plugin (please use it and report any problem, this will help improve the plugin faster and have fewer issues)

sliderPlugin.zip (5.5 KB)

To create a slider:

  1. Create keyframes.

  2. Add waypoints on the keyframes.
    a. If a parameter has waypoints on all the keyframes then it will be connected to the slider.
    b. Extra waypoints (in between keyframes) are ignored and if a parameter doesn’t have waypoints on all keyframes that parameter is ignored.(This might change in future)

  3. Considering each keyframe as a pose, sliders are created based on the number of keyframes. (If you have 5 keyframes 4 sliders would be created, the first is considered as initial pose)

  4. Slider’s have the name sliderController{numb}_keyframeNum where numb is a random number in 1000-9999 and keyframeNum is the frame at which the keyframe was located.(Keyframes aren’t deleted)

(Works with vector, real, angle, color I haven't implemented rest (same goes for joystick controller), I don't think they are important. If required we can implement that later )

I will merge them and move to the next steps.
When merged you can create joystick, switchTemplate, slider by giving prefix to the group layer (for example, joystick_myjoystickController, switchTemplate_demoName, slider_colorSlider, etc)

Hopefully, the next remaining steps would be easy and I would complete them soon.

2 Likes