diff --git a/extensions/reviewed/FlashTransitionPainter.json b/extensions/reviewed/FlashTransitionPainter.json index bfdf1e620..11a62b4c5 100644 --- a/extensions/reviewed/FlashTransitionPainter.json +++ b/extensions/reviewed/FlashTransitionPainter.json @@ -1,7 +1,6 @@ { "author": "Westboy31", "category": "Visual effect", - "description": "* __Paint effect:__ Action to paint a color all over the screen for a period of time with specific effect.\neffect type:\n * __Flash:__ is a monochrome color appear with fade then disappear with fade out.\n * __Vertical:__ is a monochrome color comes from right side then comes back.\n * __Horizontal:__ is a monochrome color come from top side then comes back.\n * __Circular:__ is a circle which increases from the center and narrows.\n* __Paint effect ended:__ event when the paint effect ends.", "extensionNamespace": "", "fullName": "Flash and transition painter", "helpPath": "", @@ -9,13 +8,26 @@ "name": "FlashTransitionPainter", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/movie-filter.svg", "shortDescription": "Behavior for shape painter allows you to paint a color all over the screen for period of time with an effect (useful for simulate flash and transition effect).", - "version": "0.1.0", + "version": "0.1.1", + "description": [ + "* __Paint effect:__ Action to paint a color all over the screen for a period of time with specific effect.", + "effect type:", + " * __Flash:__ is a monochrome color appear with fade then disappear with fade out.", + " * __Vertical:__ is a monochrome color comes from right side then comes back.", + " * __Horizontal:__ is a monochrome color come from top side then comes back.", + " * __Circular:__ is a circle which increases from the center and narrows.", + "* __Paint effect ended:__ event when the paint effect ends." + ], + "origin": { + "identifier": "FlashTransitionPainter", + "name": "gdevelop-extension-store" + }, "tags": [ - "Shape Painter", - "Flash", - "Transition", - "Effect" + "flash", + "transition", + "effect" ], + "authorIds": [], "dependencies": [], "eventsFunctions": [], "eventsBasedBehaviors": [ @@ -26,79 +38,60 @@ "objectType": "PrimitiveDrawing::Drawer", "eventsFunctions": [ { - "description": "", "fullName": "", "functionType": "Action", "name": "onCreated", - "private": false, "sentence": "", "events": [ { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Disable effect when the game starts.", - "comment2": "" - }, - { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Object", "Behavior", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, - "value": "PauseObjectTimer" + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyType" }, "parameters": [ "Object", - "\"__FlashTransitionPainter_timerEffect\"" - ], - "subInstructions": [] + "Behavior", + "=", + "\"Flash\"" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyMaxOpacity" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "255" + ] } - ], - "events": [] + ] } ], "parameters": [ { - "codeOnly": false, - "defaultValue": "", "description": "Object", - "longDescription": "", "name": "Object", - "optional": false, "supplementaryInformation": "PrimitiveDrawing::Drawer", "type": "object" }, { - "codeOnly": false, - "defaultValue": "", "description": "Behavior", - "longDescription": "", "name": "Behavior", - "optional": false, "supplementaryInformation": "FlashTransitionPainter::FlashTransitionPainter", "type": "behavior" } @@ -106,16 +99,12 @@ "objectGroups": [] }, { - "description": "", "fullName": "", "functionType": "Action", "name": "doStepPostEvents", - "private": false, "sentence": "", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -125,1258 +114,604 @@ "textG": 0, "textR": 0 }, - "comment": "Avoid default parameter of painter that could make the extension doesn't work.", - "comment2": "" + "comment": "Ensure shape painter properties are set correctly for this extension to work.\n" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "PrimitiveDrawing::ClearBetweenFrames" }, "parameters": [ "Object", - "yes" - ], - "subInstructions": [] + "no" + ] }, { "type": { - "inverted": false, "value": "PrimitiveDrawing::OutlineSize" }, "parameters": [ "Object", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, - "value": "ResetObjectTimer" + "value": "PrimitiveDrawing::UseRelativeCoordinates" }, "parameters": [ "Object", - "\"__FlashTransitionPainter_timerEffect\"" - ], - "subInstructions": [] - }, + "" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ { "type": { - "inverted": false, - "value": "UnPauseObjectTimer" + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyProgress" }, "parameters": [ "Object", - "\"__FlashTransitionPainter_timerEffect\"" - ], - "subInstructions": [] + "Behavior", + "=", + "min(1, Object.ObjectTimerElapsedTime(\"__FlashTransitionPainter_Time\") / Duration)" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Drawer::ClearShapes" + }, + "parameters": [ + "Object" + ] } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Initialise position of painter. \nIncrement or decrement \"_TimeProgressionEffect\" depending on direction.", - "comment2": "" + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ + "conditions": [ { "type": { - "inverted": false, - "value": "MettreXY" + "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyProgress" }, "parameters": [ "Object", + "Behavior", "=", - "CameraX(Object.Layer(),0) - SceneWindowWidth()/2", - "=", - "CameraY(Object.Layer(),0) - SceneWindowHeight()/2" - ], - "subInstructions": [] - }, + "1" + ] + } + ], + "actions": [ { "type": { - "inverted": false, - "value": "PrimitiveDrawing::FillColor" + "value": "ActivateBehavior" }, "parameters": [ "Object", - "Object.Behavior::PropertyColor()" - ], - "subInstructions": [] + "Behavior", + "" + ] }, { "type": { - "inverted": false, - "value": "ModVarObjet" + "value": "PauseObjectTimer" }, "parameters": [ "Object", - "__FlashTransitionPainter_TimeProgressionEffect", - "+", - "(TimeDelta() / Object.Behavior::PropertyTimer())*Object.Variable(__FlashTransitionPainter_ReverseDirection)" - ], - "subInstructions": [] + "\"__FlashTransitionPainter_Time\"" + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Here this the paints functions of different effect depending on the type chosen by the user.\nDetect the direction of the animation and its end.", - "comment2": "" + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "\"Backward\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyProgress" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "1 - Progress" + ] + } + ] }, { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Type 1 : flash effect. ", - "comment2": "" + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "\"Both\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyProgress" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "min(2 * Progress, 2 * (1 - Progress))" + ] + } + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, - "value": "BuiltinCommonInstructions::Or" + "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyProgress" }, - "parameters": [], - "subInstructions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"Flash\"" - ], - "subInstructions": [] - } + "parameters": [ + "Object", + "Behavior", + ">", + "0" ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Flash", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_OpacityFlash", - ">=", - "Object.Behavior::PropertyMaxOpacity()" + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "\"Flash\"" + ] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "Object", + "=", + "MaxOpacity * Progress" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "Object", + "CameraBorderLeft(Object.Layer())", + "CameraBorderTop(Object.Layer())", + "CameraBorderRight(Object.Layer())", + "CameraBorderBottom(Object.Layer())" + ] + } + ] } ], - "actions": [ + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Horizontal", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { - "type": { - "inverted": false, - "value": "ModVarObjet" + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ReverseDirection", - "=", - "-1" - ], - "subInstructions": [] - } - ], - "events": [ + "comment": "from left to right" + }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" + "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" }, "parameters": [ "Object", "Behavior", "=", - "\"Forward\"" - ], - "subInstructions": [] + "\"Horizontal\"" + ] } ], "actions": [ { "type": { - "inverted": false, - "value": "ActivateBehavior" + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyValue" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "lerp(CameraBorderLeft(Object.Layer()), CameraBorderRight(Object.Layer()) + 10, Progress)" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyIndex" }, "parameters": [ "Object", "Behavior", - "" - ], - "subInstructions": [] + "=", + "0" + ] } ], - "events": [] + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Smooth edges\n" + }, + { + "type": "BuiltinCommonInstructions::Repeat", + "repeatExpression": "5", + "conditions": [], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "Object", + "=", + "51 * Index" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "Object", + "CameraBorderLeft(Object.Layer())", + "CameraBorderTop(Object.Layer())", + "Value - 2 * Index", + "CameraBorderBottom(Object.Layer())" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyIndex" + }, + "parameters": [ + "Object", + "Behavior", + "+", + "1" + ] + } + ] + } + ] } - ] + ], + "parameters": [] }, { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Vertical", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { - "type": { - "inverted": false, - "value": "VarObjet" + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 }, - "parameters": [ - "Object", - "__FlashTransitionPainter_OpacityFlash", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ + "comment": "from top to bottom" + }, { - "type": { - "inverted": false, - "value": "ActivateBehavior" - }, - "parameters": [ - "Object", - "Behavior", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_OpacityFlash", - "=", - "lerp(0, Object.Behavior::PropertyMaxOpacity(), Object.Variable(__FlashTransitionPainter_TimeProgressionEffect))" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PrimitiveDrawing::FillOpacity" - }, - "parameters": [ - "Object", - "=", - "Object.Variable(__FlashTransitionPainter_OpacityFlash)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PrimitiveDrawing::Rectangle" - }, - "parameters": [ - "Object", - "CameraX(Object.Layer(),0) - SceneWindowWidth()/2", - "CameraY(Object.Layer(),0) - SceneWindowHeight()/2", - "SceneWindowWidth()", - "SceneWindowHeight()" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Type 2 : screen come from top then return.", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"Horizontal\"" - ], - "subInstructions": [] - } - ], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveWidth", - ">=", - "SceneWindowWidth()" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ReverseDirection", - "=", - "-1" - ], - "subInstructions": [] - } - ], - "events": [ - { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" + "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" }, "parameters": [ "Object", "Behavior", "=", - "\"Forward\"" - ], - "subInstructions": [] + "\"Vertical\"" + ] } ], "actions": [ { "type": { - "inverted": false, - "value": "ActivateBehavior" + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyValue" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "lerp(CameraBorderTop(Object.Layer()), CameraBorderBottom(Object.Layer()) + 10, Progress)" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyIndex" }, "parameters": [ "Object", "Behavior", - "" - ], - "subInstructions": [] + "=", + "0" + ] } ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveWidth", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ActivateBehavior" - }, - "parameters": [ - "Object", - "Behavior", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdge", - "=", - "10" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdgeOpacity", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveWidth", - "=", - "lerp(0,SceneWindowWidth(),Object.Variable(__FlashTransitionPainter_TimeProgressionEffect))" - ], - "subInstructions": [] + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Smooth edges\n" + }, + { + "type": "BuiltinCommonInstructions::Repeat", + "repeatExpression": "5", + "conditions": [], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "Object", + "=", + "51 * Index" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "Object", + "CameraBorderLeft(Object.Layer())", + "CameraBorderTop(Object.Layer())", + "CameraBorderRight(Object.Layer())", + "Value - 2 * Index" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyIndex" + }, + "parameters": [ + "Object", + "Behavior", + "+", + "1" + ] + } + ] + } + ] } ], - "events": [] + "parameters": [] }, { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "5", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdge", - "-", - "2" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdgeOpacity", - "+", - "51" - ], - "subInstructions": [] - }, + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Circular", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { - "type": { - "inverted": false, - "value": "PrimitiveDrawing::FillOpacity" + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 }, - "parameters": [ - "Object", - "=", - "Object.Variable(__FlashTransitionPainter_SmoothEdgeOpacity)" - ], - "subInstructions": [] + "comment": "A circle scale up from the middle." }, { - "type": { - "inverted": false, - "value": "PrimitiveDrawing::Rectangle" - }, - "parameters": [ - "Object", - "0", - "0", - "Object.Variable(__FlashTransitionPainter_ProgressiveWidth) + Object.Variable(__FlashTransitionPainter_SmoothEdge)", - "SceneWindowHeight()" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Type 3 : screen come from left then return.", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"Vertical\"" - ], - "subInstructions": [] - } - ], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveHeight", - ">=", - "SceneWindowHeight()" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ReverseDirection", - "=", - "-1" - ], - "subInstructions": [] - } - ], - "events": [ - { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" + "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" }, "parameters": [ "Object", "Behavior", "=", - "\"Forward\"" - ], - "subInstructions": [] + "\"Circular\"" + ] } ], "actions": [ { "type": { - "inverted": false, - "value": "ActivateBehavior" - }, - "parameters": [ - "Object", - "Behavior", - "" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveHeight", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ActivateBehavior" - }, - "parameters": [ - "Object", - "Behavior", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdge", - "=", - "10" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdgeOpacity", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveHeight", - "=", - "lerp(0,SceneWindowHeight(),Object.Variable(__FlashTransitionPainter_TimeProgressionEffect))" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "5", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdge", - "-", - "2" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdgeOpacity", - "+", - "51" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PrimitiveDrawing::FillOpacity" - }, - "parameters": [ - "Object", - "=", - "Object.Variable(__FlashTransitionPainter_SmoothEdgeOpacity)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PrimitiveDrawing::Rectangle" - }, - "parameters": [ - "Object", - "0", - "0", - "SceneWindowWidth()", - "Object.Variable(__FlashTransitionPainter_ProgressiveHeight) + Object.Variable(__FlashTransitionPainter_SmoothEdge)" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Type 4 : a circle scale up from the middle then scale down.", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyType" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"Circular\"" - ], - "subInstructions": [] - } - ], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveWidth", - ">=", - "(sqrt (pow(SceneWindowHeight(),2) + pow(SceneWindowWidth(),2) )) /2 " - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ReverseDirection", - "=", - "-1" - ], - "subInstructions": [] - } - ], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyValue" }, "parameters": [ "Object", "Behavior", "=", - "\"Forward\"" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ActivateBehavior" - }, - "parameters": [ - "Object", - "Behavior", - "" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveWidth", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ActivateBehavior" - }, - "parameters": [ - "Object", - "Behavior", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdge", - "=", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdgeOpacity", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ProgressiveWidth", - "=", - "lerp(0,(sqrt (pow(SceneWindowHeight(),2) + pow(SceneWindowWidth(),2) ))/2 ,Object.Variable(__FlashTransitionPainter_TimeProgressionEffect))" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "5", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdge", - "-", - "0.2" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_SmoothEdgeOpacity", - "+", - "51" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PrimitiveDrawing::FillOpacity" - }, - "parameters": [ - "Object", - "=", - "Object.Variable(__FlashTransitionPainter_SmoothEdgeOpacity)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PrimitiveDrawing::Circle" - }, - "parameters": [ - "Object", - "SceneWindowWidth()/2", - "SceneWindowHeight()/2", - "Object.Variable(__FlashTransitionPainter_ProgressiveWidth) + Object.Variable(__FlashTransitionPainter_SmoothEdge)" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "The repeat 5 times is used to have clean and smooth edges , especially for circle.\n", - "comment2": "" - } - ], - "parameters": [ - { - "codeOnly": false, - "defaultValue": "", - "description": "Object", - "longDescription": "", - "name": "Object", - "optional": false, - "supplementaryInformation": "PrimitiveDrawing::Drawer", - "type": "object" - }, - { - "codeOnly": false, - "defaultValue": "", - "description": "Behavior", - "longDescription": "", - "name": "Behavior", - "optional": false, - "supplementaryInformation": "FlashTransitionPainter::FlashTransitionPainter", - "type": "behavior" - } - ], - "objectGroups": [] - }, - { - "description": "", - "fullName": "", - "functionType": "Action", - "name": "onDeActivate", - "private": false, - "sentence": "", - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Reset variables.", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_OpacityFlash", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ReverseDirection", - "=", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_TimeProgressionEffect", - "=", - "0" + "(DistanceBetweenPositions(0, 0, CameraWidth(), CameraHeight()) / 2 + 1) * Progress" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyIndex" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "0" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Smooth edges\n" + }, + { + "type": "BuiltinCommonInstructions::Repeat", + "repeatExpression": "5", + "conditions": [], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "Object", + "=", + "51 * Index" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Circle" + }, + "parameters": [ + "Object", + "CameraCenterX(Object.Layer())", + "CameraCenterY(Object.Layer())", + "Value - 0.2 * Index" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyIndex" + }, + "parameters": [ + "Object", + "Behavior", + "+", + "1" + ] + } + ] + } + ] + } ], - "subInstructions": [] + "parameters": [] } - ], - "events": [] + ] } ], "parameters": [ { - "codeOnly": false, - "defaultValue": "", "description": "Object", - "longDescription": "", "name": "Object", - "optional": false, "supplementaryInformation": "PrimitiveDrawing::Drawer", "type": "object" }, { - "codeOnly": false, - "defaultValue": "", "description": "Behavior", - "longDescription": "", "name": "Behavior", - "optional": false, "supplementaryInformation": "FlashTransitionPainter::FlashTransitionPainter", "type": "behavior" } @@ -1388,12 +723,9 @@ "fullName": "Paint Effect", "functionType": "Action", "name": "PaintEffect", - "private": false, "sentence": "Paint effect type _PARAM4_ of _PARAM0_ with direction _PARAM5_ and color _PARAM2_ for _PARAM3_ seconds", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -1403,22 +735,11 @@ "textG": 0, "textR": 0 }, - "comment": "Initialise all variables and then activate the behavior.\nIf user doesn't assign value to color and type , we take the last value registred.\nIf user doesn't assign value to timer we take a default value (0.2).", - "comment2": "" + "comment": "Initialise all variables and then activate the behavior.\nIf user doesn't assign value to color and type , we take the last value registred." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ - { - "type": { - "inverted": false, - "value": "BuiltinCommonInstructions::Once" - }, - "parameters": [], - "subInstructions": [] - }, { "type": { "inverted": true, @@ -1427,368 +748,196 @@ "parameters": [ "Object", "Behavior" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyTimer" + "value": "ActivateBehavior" }, "parameters": [ "Object", "Behavior", - "=", - "GetArgumentAsNumber(\"Timer\") + (3*TimeDelta())" - ], - "subInstructions": [] + "yes" + ] + }, + { + "type": { + "value": "UnPauseObjectTimer" + }, + "parameters": [ + "Object", + "\"__FlashTransitionPainter_Time\"" + ] }, { "type": { - "inverted": false, "value": "ResetObjectTimer" }, "parameters": [ "Object", - "\"__FlashTransitionPainter_timerEffect\"" - ], - "subInstructions": [] + "\"__FlashTransitionPainter_Time\"" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyDuration" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "Duration" + ] }, { "type": { - "inverted": false, "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyDirection" }, "parameters": [ "Object", "Behavior", "=", - "GetArgumentAsString(\"Direction\")" - ], - "subInstructions": [] + "Direction" + ] + }, + { + "type": { + "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyProgress" + }, + "parameters": [ + "Object", + "Behavior", + "=", + "0" + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, - "value": "StrEqual" + "value": "CompareArgumentAsString" }, "parameters": [ - "GetArgumentAsString(\"Type\")", + "\"Type\"", "!=", "\"\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyType" }, "parameters": [ "Object", "Behavior", "=", - "GetArgumentAsString(\"Type\")" - ], - "subInstructions": [] + "Type" + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, - "value": "StrEqual" + "value": "CompareArgumentAsString" }, "parameters": [ - "GetArgumentAsString(\"Color\")", + "\"Color\"", "!=", "\"\"" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyColor" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "GetArgumentAsString(\"Color\")" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyTimer" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyTimer" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "0.2" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"Both\"" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyTimer" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "GetArgumentAsNumber(\"Timer\")/2 + (3*TimeDelta())" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "StrEqual" - }, - "parameters": [ - "GetArgumentAsString(\"Direction\")", - "=", - "\"Backward\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "Object", - "__FlashTransitionPainter_ReverseDirection", - "=", - "-1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" + "value": "PrimitiveDrawing::FillColor" }, "parameters": [ "Object", - "__FlashTransitionPainter_TimeProgressionEffect", - "=", - "1" - ], - "subInstructions": [] + "Color" + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, - "value": "Egal" + "value": "CompareArgumentAsNumber" }, "parameters": [ - "GetArgumentAsNumber(\"MaxOpacity\")", + "\"MaxOpacity\"", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlashTransitionPainter::FlashTransitionPainter::SetPropertyMaxOpacity" }, "parameters": [ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"MaxOpacity\")" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ActivateBehavior" - }, - "parameters": [ - "Object", - "Behavior", - "yes" - ], - "subInstructions": [] + "MaxOpacity" + ] } - ], - "events": [] + ] } ] } ], "parameters": [ { - "codeOnly": false, - "defaultValue": "", "description": "Object", - "longDescription": "", "name": "Object", - "optional": false, "supplementaryInformation": "PrimitiveDrawing::Drawer", "type": "object" }, { - "codeOnly": false, - "defaultValue": "", "description": "Behavior", - "longDescription": "", "name": "Behavior", - "optional": false, "supplementaryInformation": "FlashTransitionPainter::FlashTransitionPainter", "type": "behavior" }, { - "codeOnly": false, - "defaultValue": "", "description": "Color", - "longDescription": "", "name": "Color", - "optional": false, - "supplementaryInformation": "", "type": "color" }, { - "codeOnly": false, - "defaultValue": "", "description": "Duration", - "longDescription": "", - "name": "Timer", - "optional": false, - "supplementaryInformation": "", + "name": "Duration", "type": "expression" }, { - "codeOnly": false, - "defaultValue": "", "description": "Type of effect ", - "longDescription": "", "name": "Type", - "optional": false, "supplementaryInformation": "[\"Flash\",\"Horizontal\",\"Vertical\",\"Circular\"]", "type": "stringWithSelector" }, { - "codeOnly": false, - "defaultValue": "", "description": "Direction transition", - "longDescription": "", "name": "Direction", - "optional": false, "supplementaryInformation": "[\"Both\",\"Forward\",\"Backward\"]", "type": "stringWithSelector" }, { - "codeOnly": false, - "defaultValue": "", "description": "End opacity (only for flash)", - "longDescription": "", "name": "MaxOpacity", - "optional": false, - "supplementaryInformation": "", "type": "expression" } ], @@ -1799,155 +948,43 @@ "fullName": "Paint effect ended ", "functionType": "Condition", "name": "PaintEffectIsEnd", - "private": false, "sentence": "When paint effect of _PARAM0_ ends", "events": [ { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Detect when the animation ends with a timer which is initialised in PaintEffect function.", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "BuiltinCommonInstructions::Or" - }, - "parameters": [], - "subInstructions": [ - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"Backward\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"Forward\"" - ], - "subInstructions": [] - } - ] - }, - { - "type": { - "inverted": false, - "value": "ObjectTimer" - }, - "parameters": [ - "Object", - "\"__FlashTransitionPainter_timerEffect\"", - "Object.Behavior::PropertyTimer() - (3*TimeDelta())" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetReturnBoolean" - }, - "parameters": [ - "True" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, - "value": "FlashTransitionPainter::FlashTransitionPainter::PropertyDirection" - }, - "parameters": [ - "Object", - "Behavior", - "=", - "\"Both\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ObjectTimer" + "value": "ObjectTimerPaused" }, "parameters": [ "Object", - "\"__FlashTransitionPainter_timerEffect\"", - "Object.Behavior::PropertyTimer()*2 - (3*TimeDelta())" - ], - "subInstructions": [] + "\"__FlashTransitionPainter_Time\"" + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetReturnBoolean" }, "parameters": [ "True" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ { - "codeOnly": false, - "defaultValue": "", "description": "Object", - "longDescription": "", "name": "Object", - "optional": false, "supplementaryInformation": "PrimitiveDrawing::Drawer", "type": "object" }, { - "codeOnly": false, - "defaultValue": "", "description": "Behavior", - "longDescription": "", "name": "Behavior", - "optional": false, "supplementaryInformation": "FlashTransitionPainter::FlashTransitionPainter", "type": "behavior" } @@ -1957,28 +994,32 @@ ], "propertyDescriptors": [ { - "value": "1", + "value": "0", "type": "Number", - "label": "Timer", + "unit": "Dimensionless", + "label": "", "description": "", + "group": "", "extraInformation": [], "hidden": true, - "name": "Timer" + "name": "Progress" }, { - "value": "255;255;255", - "type": "String", - "label": "Color", + "value": "0", + "type": "Number", + "label": "", "description": "", + "group": "", "extraInformation": [], "hidden": true, - "name": "Color" + "name": "Duration" }, { "value": "", "type": "String", "label": "Type of effect ", "description": "", + "group": "", "extraInformation": [], "hidden": true, "name": "Type" @@ -1988,6 +1029,7 @@ "type": "String", "label": "Direction of transition", "description": "", + "group": "", "extraInformation": [], "hidden": true, "name": "Direction" @@ -1997,11 +1039,34 @@ "type": "Number", "label": "The maximum of the opacity only for flash", "description": "", + "group": "", "extraInformation": [], "hidden": true, "name": "MaxOpacity" + }, + { + "value": "0", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "Index" + }, + { + "value": "0", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "Value" } - ] + ], + "sharedPropertyDescriptors": [] } - ] -} + ], + "eventsBasedObjects": [] +} \ No newline at end of file