Skip to content

Commit

Permalink
Fix compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H committed May 22, 2024
1 parent 0d1c9b0 commit 57f5328
Showing 1 changed file with 110 additions and 71 deletions.
181 changes: 110 additions & 71 deletions extensions/reviewed/ThreeDFlip.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,78 +550,93 @@
"objectGroups": []
},
{
"description": "Stops flipping the object.",
"fullName": "Stop the flip",
"description": "Jump to the end of the flipping animation.",
"fullName": "Jump to flipping end",
"functionType": "Action",
"name": "StopFlip",
"sentence": "Stop flipping _PARAM0_",
"sentence": "Jump to the end of _PARAM0_ flipping",
"events": [
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"value": "ResizableCapability::ResizableBehavior::SetWidth"
},
"parameters": [
"Object",
"Resizable",
"=",
"Width"
]
}
]
},
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"value": "FlippableCapability::FlippableBehavior::FlippedX"
"value": "ThreeDFlip::ThreeDFlip::IsFlipping"
},
"parameters": [
"Object",
"Flippable"
"Behavior",
""
]
}
],
"actions": [
{
"type": {
"value": "ThreeDFlip::ThreeDFlip::SetPropertyIsFlipped"
"value": "ResizableCapability::ResizableBehavior::SetWidth"
},
"parameters": [
"Object",
"Behavior",
"yes"
"Resizable",
"=",
"Width"
]
}
]
},
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
],
"events": [
{
"type": {
"inverted": true,
"value": "FlippableCapability::FlippableBehavior::FlippedX"
},
"parameters": [
"Object",
"Flippable"
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": true,
"value": "ThreeDFlip::ThreeDFlip::PropertyIsFlipped"
},
"parameters": [
"Object",
"Behavior"
]
}
],
"actions": [
{
"type": {
"value": "ThreeDFlip::ThreeDFlip::FlipVisually"
},
"parameters": [
"Object",
"Behavior",
"",
""
]
}
]
}
],
"actions": [
},
{
"type": {
"value": "ThreeDFlip::ThreeDFlip::SetPropertyIsFlipped"
},
"parameters": [
"Object",
"Behavior",
"no"
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"value": "ThreeDFlip::ThreeDFlip::PropertyIsFlipped"
},
"parameters": [
"Object",
"Behavior"
]
}
],
"actions": [
{
"type": {
"value": "ThreeDFlip::ThreeDFlip::FlipVisually"
},
"parameters": [
"Object",
"Behavior",
"yes",
""
]
}
]
}
]
Expand Down Expand Up @@ -1023,16 +1038,18 @@
"Object",
"Behavior",
"=",
"\"Mirror\""
"\"Animation\""
]
},
{
"type": {
"value": "FlippableCapability::FlippableBehavior::FlippedX"
"value": "AnimatableCapability::AnimatableBehavior::Name"
},
"parameters": [
"Object",
"Flippable"
"Animation",
"=",
"BackAnimation"
]
}
],
Expand All @@ -1047,6 +1064,18 @@
}
]
},
{
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "\"Mirror\" is the default method."
},
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
Expand All @@ -1057,19 +1086,17 @@
"parameters": [
"Object",
"Behavior",
"=",
"!=",
"\"Animation\""
]
},
{
"type": {
"value": "AnimatableCapability::AnimatableBehavior::Name"
"value": "FlippableCapability::FlippableBehavior::FlippedX"
},
"parameters": [
"Object",
"Animation",
"=",
"BackAnimation"
"Flippable"
]
}
],
Expand Down Expand Up @@ -1119,7 +1146,7 @@
"Object",
"Behavior",
"=",
"\"Mirror\""
"\"Animation\""
]
}
],
Expand All @@ -1141,12 +1168,13 @@
"actions": [
{
"type": {
"value": "FlippableCapability::FlippableBehavior::FlipX"
"value": "AnimatableCapability::AnimatableBehavior::SetName"
},
"parameters": [
"Object",
"Flippable",
"no"
"Animation",
"=",
"FrontAnimation"
]
}
]
Expand All @@ -1166,18 +1194,31 @@
"actions": [
{
"type": {
"value": "FlippableCapability::FlippableBehavior::FlipX"
"value": "AnimatableCapability::AnimatableBehavior::SetName"
},
"parameters": [
"Object",
"Flippable",
"yes"
"Animation",
"=",
"BackAnimation"
]
}
]
}
]
},
{
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "\"Mirror\" is the default method."
},
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
Expand All @@ -1188,7 +1229,7 @@
"parameters": [
"Object",
"Behavior",
"=",
"!=",
"\"Animation\""
]
}
Expand All @@ -1211,13 +1252,12 @@
"actions": [
{
"type": {
"value": "AnimatableCapability::AnimatableBehavior::SetName"
"value": "FlippableCapability::FlippableBehavior::FlipX"
},
"parameters": [
"Object",
"Animation",
"=",
"FrontAnimation"
"Flippable",
"no"
]
}
]
Expand All @@ -1237,13 +1277,12 @@
"actions": [
{
"type": {
"value": "AnimatableCapability::AnimatableBehavior::SetName"
"value": "FlippableCapability::FlippableBehavior::FlipX"
},
"parameters": [
"Object",
"Animation",
"=",
"BackAnimation"
"Flippable",
"yes"
]
}
]
Expand Down

0 comments on commit 57f5328

Please sign in to comment.