Initial (unsuccessful) tests of the Inversion Pillar animations.

This commit is contained in:
WayofTime 2016-09-14 08:47:46 -04:00
parent f40f5abc0d
commit dab6e0842b
7 changed files with 164 additions and 3 deletions

View file

@ -0,0 +1,45 @@
{
"joints": {
"ring": { "0": [ 1.0 ], "1": [ 1.0 ], "2": [ 1.0 ], "3": [ 1.0 ], "4": [ 1.0 ], "5": [ 1.0 ], "6": [ 1.0 ], "7": [ 1.0 ], "8": [ 1.0 ], "9": [ 1.0 ], "10": [ 1.0 ], "11": [ 1.0 ], "12": [ 1.0 ], "13": [ 1.0 ], "14": [ 1.0 ], "15": [ 1.0 ], "16": [ 1.0 ], "17": [ 1.0 ], "18": [ 1.0 ], "19": [ 1.0 ], "20": [ 1.0 ], "21": [ 1.0 ], "22": [ 1.0 ] }
},
"clips": {
"default": {
"loop": false,
"joint_clips": {},
"events": {}
},
"moving": {
"loop": true,
"joint_clips": {
"ring": [
{
"variable": "offset_y",
"type": "uniform",
"interpolation": "linear",
"samples": [ 0, 0.08, 0.25, 0.42, 0.5, 0.42, 0.25, 0.08 ]
},
{
"variable": "axis_y",
"type": "uniform",
"interpolation": "nearest",
"samples": [ 1 ]
},
{
"variable": "angle",
"type": "uniform",
"interpolation": "linear",
"samples": [
0, 120, 240,
0, 120, 240,
0, 120, 240,
0, 120, 240
]
}
]
},
"events": {
"0.5": "boop"
}
}
}
}

View file

@ -0,0 +1,23 @@
{
"parameters": {
"clip_time": [ "-/", "#offset", "#cycle_length" ],
"round_cycle": [ "compose", [ "-R+", "#offset", "#cycle_length", "#offset" ] , "#click_time" ],
"end_cycle": [ "-", "#round_cycle" ]
},
"clips": {
"default": "bloodmagic:block/inversion_pillar@default",
"moving": [ "apply", "bloodmagic:block/inversion_pillar@moving", "#clip_time" ],
"stopping": [ "trigger_positive", "#moving", "#end_cycle", "!transition:default" ]
},
"states": [
"default",
"moving",
"stopping"
],
"transitions": {
"default": "moving",
"moving": "stopping",
"stopping": "default"
},
"start_state": "moving"
}