diff --git a/extensions/community/ExperimentalInterface.json b/extensions/community/ExperimentalInterface.json new file mode 100755 index 000000000..2e12238c1 --- /dev/null +++ b/extensions/community/ExperimentalInterface.json @@ -0,0 +1,7701 @@ +{ + "author": "", + "category": "User interface", + "dimension": "", + "extensionNamespace": "", + "fullName": "Experimental Interference", + "gdevelopVersion": "", + "helpPath": "", + "iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iSWNvbnMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMzIgMzIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMyIDMyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KCS5zdDB7ZmlsbDpub25lO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPGxpbmUgY2xhc3M9InN0MCIgeDE9IjMiIHkxPSIxMSIgeDI9IjI5IiB5Mj0iMTEiLz4NCjxnPg0KCTxwYXRoIGQ9Ik03LDlDNi43LDksNi41LDguOSw2LjMsOC43QzYuMSw4LjUsNiw4LjMsNiw4YzAtMC4zLDAuMS0wLjUsMC4zLTAuN2MwLDAsMC4xLTAuMSwwLjEtMC4xYzAuMSwwLDAuMS0wLjEsMC4yLTAuMQ0KCQlDNi43LDcsNi43LDcsNi44LDdjMC4xLDAsMC4zLDAsMC40LDBjMC4xLDAsMC4xLDAsMC4yLDAuMWMwLjEsMCwwLjEsMC4xLDAuMiwwLjFjMCwwLDAuMSwwLjEsMC4xLDAuMWMwLjEsMC4xLDAuMiwwLjIsMC4yLDAuMw0KCQlDOCw3LjcsOCw3LjksOCw4YzAsMC4xLDAsMC4zLTAuMSwwLjRDNy45LDguNSw3LjgsOC42LDcuNyw4LjdDNy41LDguOSw3LjMsOSw3LDl6Ii8+DQo8L2c+DQo8Zz4NCgk8cGF0aCBkPSJNMTAsOUM5LjcsOSw5LjUsOC45LDkuMyw4LjdDOS4xLDguNSw5LDguMyw5LDhjMC0wLjEsMC0wLjMsMC4xLTAuNGMwLjEtMC4xLDAuMS0wLjIsMC4yLTAuM2MwLjEtMC4xLDAuMi0wLjIsMC4zLTAuMg0KCQlDMTAsNi45LDEwLjQsNywxMC43LDcuM2MwLjEsMC4xLDAuMiwwLjIsMC4yLDAuM0MxMSw3LjcsMTEsNy45LDExLDhjMCwwLjMtMC4xLDAuNS0wLjMsMC43QzEwLjUsOC45LDEwLjMsOSwxMCw5eiIvPg0KPC9nPg0KPGc+DQoJPHBhdGggZD0iTTEzLDljLTAuMSwwLTAuMywwLTAuNC0wLjFjLTAuMS0wLjEtMC4yLTAuMS0wLjMtMC4yYy0wLjEtMC4xLTAuMi0wLjItMC4yLTAuM0MxMiw4LjMsMTIsOC4xLDEyLDhjMC0wLjEsMC0wLjMsMC4xLTAuNA0KCQljMC4xLTAuMSwwLjEtMC4yLDAuMi0wLjNjMC40LTAuNCwxLTAuNCwxLjQsMGMwLjEsMC4xLDAuMiwwLjIsMC4yLDAuM0MxNCw3LjcsMTQsNy45LDE0LDhjMCwwLjEsMCwwLjMtMC4xLDAuNA0KCQljLTAuMSwwLjEtMC4xLDAuMi0wLjIsMC4zQzEzLjUsOC45LDEzLjMsOSwxMyw5eiIvPg0KPC9nPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTI3LDVINUMzLjksNSwzLDUuOSwzLDd2MThjMCwxLjEsMC45LDIsMiwyaDIyYzEuMSwwLDItMC45LDItMlY3QzI5LDUuOSwyOC4xLDUsMjcsNXoiLz4NCjxsaW5lIGNsYXNzPSJzdDAiIHgxPSIzIiB5MT0iMTkiIHgyPSIxOSIgeTI9IjE5Ii8+DQo8bGluZSBjbGFzcz0ic3QwIiB4MT0iMTkiIHkxPSIxMSIgeDI9IjE5IiB5Mj0iMjciLz4NCjwvc3ZnPg0K", + "name": "ExperimentalInterface", + "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Interface Elements/f9a704d6757be015abeb7492843e115438650ceb07ec0160fb5f8fc114b9005e_Interface Elements_interface_ui_layout_app.svg", + "shortDescription": "Adds\n- ProximityPrompt.\n- Rounded Inputbox's\n- Selection Box's\n- SpinBox's\n- Captcha\n- Frames\n- Rounded Inputbox's.\n- Selection Box.\n- SpinBox.\n- Frame\n- 3D Buttons and extra...", + "version": "1.0.0", + "description": "implementing new features...", + "tags": [ + "3D", + "Interface", + "3D Button", + "ProximityPrompt", + "Frame", + "Round Input", + "Select Box", + "Selection" + ], + "authorIds": [ + "mu1pKMrGmTTX98LMxHYJ62GzFyJ2" + ], + "dependencies": [], + "globalVariables": [], + "sceneVariables": [], + "eventsFunctions": [], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT" + }, + "eventsBasedBehaviors": [], + "eventsBasedObjects": [ + { + "areaMaxX": 372, + "areaMaxY": 114, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "defaultName": "ProximityPrompt", + "description": "Press on it! for a selected time or duration.", + "fullName": "Proximity Prompt", + "isInnerAreaFollowingParentSize": true, + "isTextContainer": true, + "isUsingLegacyInstancesRenderer": false, + "name": "Proximityprompt", + "objects": [ + { + "assetStoreId": "", + "name": "NewShapePainter_background", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 200, + "outlineSize": 2, + "outlineOpacity": 200, + "absoluteCoordinates": true, + "clearBetweenFrames": true, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_frame", + "type": "PrimitiveDrawing::Drawer", + "variables": [ + { + "name": "TouchValue", + "type": "number", + "value": 20 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Tween", + "type": "Tween::TweenBehavior" + } + ], + "fillOpacity": 0, + "outlineSize": 2, + "outlineOpacity": 140, + "absoluteCoordinates": true, + "clearBetweenFrames": true, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 24, + "g": 24, + "b": 24 + } + }, + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewText_interactText", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "Interact", + "font": "", + "textAlignment": "left", + "characterSize": 20, + "color": { + "b": 20, + "g": 20, + "r": 20 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Interact", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "20;20;20" + } + }, + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewText_keytext", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "E", + "font": "", + "textAlignment": "left", + "characterSize": 20, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "E", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" + } + }, + { + "assetStoreId": "", + "bold": true, + "italic": false, + "name": "NewText_Title", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "Buy", + "font": "", + "textAlignment": "right", + "characterSize": 22, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Buy", + "font": "", + "textAlignment": "right", + "verticalTextAlignment": "top", + "characterSize": 22, + "lineHeight": 0, + "color": "0;0;0" + } + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "folderName": "Folder", + "children": [ + { + "objectName": "NewShapePainter_frame" + }, + { + "objectName": "NewText_keytext" + }, + { + "objectName": "NewText_Title" + }, + { + "objectName": "NewText_interactText" + }, + { + "objectName": "NewShapePainter_background" + } + ] + } + ] + }, + "objectsGroups": [], + "layers": [ + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "", + "renderingType": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "instances": [ + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 78, + "keepRatio": true, + "layer": "", + "name": "NewText_interactText", + "persistentUuid": "db8a65e2-eeb9-4587-9510-878d4ddac5f2", + "width": 177, + "x": 44, + "y": 20, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewText_keytext", + "persistentUuid": "e4938c5b-01aa-4562-8be7-715516227759", + "width": 0, + "x": 9, + "y": 20, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewText_Title", + "persistentUuid": "832db23e-7649-445d-a248-33527f3fc687", + "width": 0, + "x": 43, + "y": -6, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "editionSettings": { + "grid": false, + "gridType": "rectangular", + "gridWidth": 32, + "gridHeight": 32, + "gridDepth": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, + "snap": false, + "zoomFactor": 0.9010747972766618, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + }, + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "GroupEdPart", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "HasAnyTouchOrMouseStarted" + }, + "parameters": [ + "" + ] + }, + { + "type": { + "value": "IsCursorOnObject" + }, + "parameters": [ + "Object", + "", + "", + "" + ] + } + ] + }, + { + "type": { + "value": "KeyFromTextPressed" + }, + "parameters": [ + "", + "keywordTextProp" + ] + } + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "SetNumberVariable" + }, + "parameters": [ + "TouchUsedID", + "=", + "StartedTouchOrMouseCount()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "HasTouchEnded" + }, + "parameters": [ + "TouchValue", + "TouchUsedID+1" + ] + }, + { + "type": { + "inverted": true, + "value": "IsCursorOnObject" + }, + "parameters": [ + "Object", + "", + "", + "" + ] + } + ] + }, + { + "type": { + "value": "KeyFromTextReleased" + }, + "parameters": [ + "", + "keywordTextProp" + ] + } + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Tween::TweenBehavior::AddObjectVariableTween3" + }, + "parameters": [ + "NewShapePainter_frame", + "Tween", + "\"tweento0\"", + "TouchValue", + "0", + "\"easeOutCubic\"", + "0.6", + "" + ] + }, + { + "type": { + "value": "SetNumberVariable" + }, + "parameters": [ + "TouchUsedID", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "IsCursorOnObject" + }, + "parameters": [ + "Object", + "", + "", + "" + ] + }, + { + "type": { + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "TouchValue", + "\"Left\"" + ] + } + ] + }, + { + "type": { + "value": "KeyFromTextJustPressed" + }, + "parameters": [ + "", + "keywordTextProp" + ] + } + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewShapePainter_frame", + "TouchValue", + ">=", + "360" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.4" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewShapePainter_frame", + "TouchValue", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewShapePainter_frame", + "TouchValue", + "<", + "360" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "IsCursorOnObject" + }, + "parameters": [ + "Object", + "", + "", + "" + ] + }, + { + "type": { + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "TouchValue", + "\"Left\"" + ] + } + ] + }, + { + "type": { + "value": "KeyFromTextJustPressed" + }, + "parameters": [ + "", + "keywordTextProp" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewShapePainter_frame", + "TouchValue", + "+", + "360/TouchDuration*TimeDelta()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_background", + "0", + "0", + "Object.Layer()" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_frame", + "0", + "0", + "Object.Layer()" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainter_background", + "=", + "0" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainter_frame", + "=", + "1" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "NewShapePainter_background", + "BackgroundColor" + ] + }, + { + "type": { + "value": "TextObject::ChangeColor" + }, + "parameters": [ + "NewText_Title", + "TextColor" + ] + }, + { + "type": { + "value": "TextObject::ChangeColor" + }, + "parameters": [ + "NewText_interactText", + "TextColor" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::RoundedRectangle" + }, + "parameters": [ + "NewShapePainter_background", + "0", + "0", + "Object.Width()", + "Object.Height()+NewText_interactText.Height()/1.5-10", + "Roundness" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewText_interactText", + "=", + "(Object.Height()/1.7)+NewText_interactText.Height()/1.8" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewText_keytext", + "=", + "Object.Height()/2" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_interactText", + "Text", + "=", + "DescriptionText" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Arc" + }, + "parameters": [ + "NewShapePainter_frame", + "NewText_keytext.CenterX()", + "NewText_keytext.CenterY()", + "Object.Height()/2.1", + "0", + "NewShapePainter_frame.TouchValue", + "", + "no" + ] + }, + { + "type": { + "value": "SetX" + }, + "parameters": [ + "NewText_interactText", + "=", + "NewText_Title.X()+NewText_Title.Width()/10" + ] + }, + { + "type": { + "value": "SetXY" + }, + "parameters": [ + "NewText_Title", + "=", + "70+Object.Width()/10+Object.Height()/2.1", + "=", + "NewText_Title.FontSize()" + ] + }, + { + "type": { + "value": "SetX" + }, + "parameters": [ + "NewText_keytext", + "=", + "Object.Width()/7.2" + ] + }, + { + "type": { + "value": "TextObject::Text::SetFontSize" + }, + "parameters": [ + "NewText_keytext", + "=", + "Object.Height()/3.5" + ] + }, + { + "type": { + "value": "TextObject::Text::SetFontSize" + }, + "parameters": [ + "NewText_Title", + "=", + "Object.Height()/3.5" + ] + }, + { + "type": { + "value": "TextObject::Text::SetFontSize" + }, + "parameters": [ + "NewText_interactText", + "=", + "Object.Height()/5" + ] + }, + { + "type": { + "value": "TextObject::WrappingWidth" + }, + "parameters": [ + "NewText_interactText", + "=", + "Object.Width()/2.3" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_Title", + "Text", + "=", + "TitleTextProp" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_keytext", + "Text", + "=", + "keywordTextProp" + ] + } + ] + } + ], + "parameters": [] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::Proximityprompt", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if Proximity was interacted.", + "fullName": "Proximity Touched", + "functionType": "Condition", + "name": "ProximityTouched", + "sentence": "Proximity Touched _PARAM0_", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Grouped events", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "HasTouchEnded" + }, + "parameters": [ + "TouchValue", + "TouchUsedID+1" + ] + }, + { + "type": { + "inverted": true, + "value": "IsCursorOnObject" + }, + "parameters": [ + "Object", + "", + "", + "" + ] + } + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "IsCursorOnObject" + }, + "parameters": [ + "Object", + "", + "", + "" + ] + }, + { + "type": { + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "TouchValue", + "\"Left\"" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewShapePainter_frame", + "TouchValue", + "<", + "360" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::Proximityprompt", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if proximity completed or finished.", + "fullName": "Proximity Completed", + "functionType": "Condition", + "name": "Function2", + "sentence": "Proximity Finished _PARAM0_", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Grouped events", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewShapePainter_frame", + "TouchValue", + "<", + "360" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewShapePainter_frame", + "TouchValue", + ">=", + "360" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::Proximityprompt", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Compare Value.", + "fullName": "Compare Value", + "functionType": "Condition", + "name": "Function3", + "sentence": "The value is _PARAM0_,_PARAM1_,_PARAM2_", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Comparing Events", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "ComparisonMode", + "=", + "\"≠ (not equal to)\"" + ] + }, + { + "type": { + "value": "NumberVariable" + }, + "parameters": [ + "ValueChosen", + "!=", + "NewShapePainter_frame.TouchValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.1" + ] + }, + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "ComparisonMode", + "=", + "\"≥ (greater or equal to)\"" + ] + }, + { + "type": { + "value": "NumberVariable" + }, + "parameters": [ + "ValueChosen", + "<=", + "NewShapePainter_frame.TouchValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.1" + ] + }, + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "ComparisonMode", + "=", + "\"≤ (less or equal to)\"" + ] + }, + { + "type": { + "value": "NumberVariable" + }, + "parameters": [ + "ValueChosen", + ">=", + "NewShapePainter_frame.TouchValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.1" + ] + }, + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "ComparisonMode", + "=", + "\"> (greater than)\"" + ] + }, + { + "type": { + "value": "NumberVariable" + }, + "parameters": [ + "ValueChosen", + "<", + "NewShapePainter_frame.TouchValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.1" + ] + }, + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "ComparisonMode", + "=", + "\"< (less than)\"" + ] + }, + { + "type": { + "value": "NumberVariable" + }, + "parameters": [ + "ValueChosen", + ">", + "NewShapePainter_frame.TouchValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.1" + ] + }, + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "ComparisonMode", + "=", + "\"= (equal to)\"" + ] + }, + { + "type": { + "value": "NumberVariable" + }, + "parameters": [ + "ValueChosen", + "=", + "NewShapePainter_frame.TouchValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.1" + ] + }, + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + } + ], + "parameters": [] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::Proximityprompt", + "type": "object" + }, + { + "description": "Sign of the test", + "name": "ComparisonMode", + "supplementaryInformation": "[\"= (equal to)\",\"< (less than)\",\"> (greater than)\",\"≤ (less or equal to)\",\"≥ (greater or equal to)\",\"≠ (not equal to)\"]", + "type": "stringWithSelector" + }, + { + "description": "Value to compare (0-360)", + "name": "ValueChosen", + "type": "expression" + } + ], + "objectGroups": [] + } + ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + }, + { + "functionName": "ProximityTouched" + }, + { + "functionName": "Function2" + }, + { + "functionName": "Function3" + } + ] + }, + "propertyDescriptors": [ + { + "value": "Interact", + "type": "String", + "label": "Button's Description", + "description": "Set the button description \"interact\".", + "group": "Text's", + "name": "DescriptionText" + }, + { + "value": "0", + "type": "Number", + "label": "Touch Used", + "description": "Touch Used.", + "hidden": true, + "name": "TouchUsedID" + }, + { + "value": "1", + "type": "Number", + "label": "Duration", + "description": "Time needed to activate.", + "group": "Duration", + "name": "TouchDuration" + }, + { + "value": "E", + "type": "String", + "label": "Button's Keyword", + "description": "Set the button's keyword \"E\".", + "group": "Text's", + "name": "keywordTextProp" + }, + { + "value": "Buy", + "type": "String", + "label": "Button's Title", + "description": "Set the button's Title \"Buy\".", + "group": "Text's", + "name": "TitleTextProp" + }, + { + "value": "255;255;255", + "type": "Color", + "label": "Background Color", + "description": "Modify the background Color.", + "group": "Appearance", + "name": "BackgroundColor" + }, + { + "value": "0;0;0", + "type": "Color", + "label": "Text Color", + "description": "Modify the text Color.", + "group": "Appearance", + "name": "TextColor" + }, + { + "value": "10", + "type": "Number", + "unit": "Pixel", + "label": "Button Rounded", + "description": "Modify the button to be round.", + "group": "Appearance", + "name": "Roundness" + } + ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "folderName": "Duration", + "children": [ + { + "propertyName": "TouchDuration" + } + ] + }, + { + "folderName": "Text's", + "children": [ + { + "propertyName": "keywordTextProp" + }, + { + "propertyName": "DescriptionText" + }, + { + "propertyName": "TitleTextProp" + } + ] + }, + { + "folderName": "Appearance", + "children": [ + { + "propertyName": "TextColor" + }, + { + "propertyName": "BackgroundColor" + }, + { + "propertyName": "Roundness" + } + ] + }, + { + "propertyName": "TouchUsedID" + } + ] + } + }, + { + "areaMaxX": 350, + "areaMaxY": 40, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "defaultName": "Rounded_TextInput", + "description": "Offers more flexibility!!", + "fullName": "Rounded TextInput", + "isTextContainer": true, + "isUsingLegacyInstancesRenderer": false, + "name": "Inputbox", + "objects": [ + { + "assetStoreId": "", + "name": "NewShapePainterBackground", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 200, + "outlineSize": 1, + "outlineOpacity": 200, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + }, + { + "assetStoreId": "", + "name": "NewTextInput", + "type": "TextInput::TextInputObject", + "variables": [], + "effects": [], + "behaviors": [], + "content": { + "initialValue": "", + "placeholder": "Touch to start typing", + "fontResourceName": "", + "fontSize": 20, + "inputType": "text", + "textColor": "0;0;0", + "fillColor": "255;255;255", + "fillOpacity": 0, + "borderColor": "0;0;0", + "borderOpacity": 0, + "borderWidth": 1, + "readOnly": false, + "disabled": false, + "spellCheck": false, + "paddingX": 2, + "paddingY": 1, + "textAlign": "left", + "maxLength": 0 + } + }, + { + "adaptCollisionMaskAutomatically": true, + "assetStoreId": "", + "name": "NewSprite", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "effects": [], + "behaviors": [], + "animations": [] + }, + { + "adaptCollisionMaskAutomatically": true, + "assetStoreId": "ee9e1feea17575c29f3290efcdbdd4c745f97d551e8fd42f8782d97cea4898be", + "name": "pixel_white", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "effects": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.025, + "sprites": [ + { + "hasCustomCollisionMask": true, + "image": "pixel-white.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [ + [ + { + "x": 0, + "y": 0 + }, + { + "x": 4, + "y": 0 + }, + { + "x": 4, + "y": 4 + }, + { + "x": 0, + "y": 4 + } + ] + ] + } + ] + } + ] + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "NewShapePainterBackground" + }, + { + "objectName": "pixel_white" + }, + { + "objectName": "NewTextInput" + }, + { + "objectName": "NewSprite" + } + ] + }, + "objectsGroups": [], + "layers": [ + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "", + "renderingType": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "instances": [ + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 40, + "keepRatio": true, + "layer": "", + "name": "NewTextInput", + "persistentUuid": "7445501a-e6d7-4be1-a1e4-916804e4f832", + "width": 350, + "x": 0, + "y": 0, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 18, + "height": 40, + "keepRatio": true, + "layer": "", + "name": "pixel_white", + "persistentUuid": "3a7d1a1b-6eb5-4143-8a6d-ea0b82e0db25", + "width": 350, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "editionSettings": { + "grid": false, + "gridType": "rectangular", + "gridWidth": 32, + "gridHeight": 32, + "gridDepth": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, + "snap": false, + "zoomFactor": 0.8673951692079787, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + }, + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "TextInput::TextInputObject::SetPlaceholder" + }, + "parameters": [ + "NewTextInput", + "=", + "PlaceHolder" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetInputType" + }, + "parameters": [ + "NewTextInput", + "=", + "InputType" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewTextInput", + "Text", + "=", + "Internal_Value" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "NewShapePainterBackground", + "NewShapePainterBackground", + "0", + "0", + "Object.Layer()" + ] + }, + { + "type": { + "value": "Delete" + }, + "parameters": [ + "pixel_white", + "" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainterBackground", + "=", + "3" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.1" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "NewShapePainterBackground", + "BackgroundColor" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::OutlineSize" + }, + "parameters": [ + "NewShapePainterBackground", + "=", + "BorderSize" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetBorderColor" + }, + "parameters": [ + "NewTextInput", + "BorderColor" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetTextColor" + }, + "parameters": [ + "NewTextInput", + "TextColor" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::RoundedRectangle" + }, + "parameters": [ + "NewShapePainterBackground", + "0", + "0", + "Object.Width()", + "Object.Height()", + "RoundRadius" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetSize" + }, + "parameters": [ + "NewTextInput", + "Resizable", + "Object.Width()-10", + "Object.Height()" + ] + }, + { + "type": { + "value": "SetCenter" + }, + "parameters": [ + "NewTextInput", + "=", + "Object.Width()/2", + "=", + "Object.Height()/2" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetFont size" + }, + "parameters": [ + "NewTextInput", + "=", + "textsize" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetFontResourceName" + }, + "parameters": [ + "NewTextInput", + "fontfile" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "StrLength(NewTextInput.Text::Value())", + ">=", + "maxlength" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "StrLength(NewTextInput.Text::Value())", + "<", + "maxlength+1" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "maxlength", + "!=", + "0" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "PropertyPreviousInput", + "=", + "NewTextInput.Text::Value()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "StrLength(NewTextInput.Text::Value())", + ">=", + "maxlength" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "maxlength", + "!=", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewTextInput", + "Text", + "=", + "PropertyPreviousInput" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::Inputbox", + "type": "object" + } + ], + "objectGroups": [] + } + ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, + "propertyDescriptors": [ + { + "value": "", + "type": "String", + "label": "Initial Value", + "description": "Changes to rhis value at the Beginning!", + "group": "Context", + "name": "Internal_Value" + }, + { + "value": "Touch to start typing", + "type": "String", + "label": "Placeholder", + "description": "Change The Place Holder.", + "group": "Context", + "name": "PlaceHolder" + }, + { + "value": "", + "type": "Choice", + "label": "Input Type", + "description": "Default, Text-Text.", + "choices": [ + { + "label": "Text", + "value": "text" + }, + { + "label": "Text area", + "value": "text area" + }, + { + "label": "Email", + "value": "email" + }, + { + "label": "Password", + "value": "password" + }, + { + "label": "Number", + "value": "number" + }, + { + "label": "Telephone Number", + "value": "telephone number" + }, + { + "label": "URL", + "value": "url" + }, + { + "label": "Search", + "value": "search" + } + ], + "name": "InputType" + }, + { + "value": "10", + "type": "Number", + "label": "Radius (round)", + "description": "Make your interface smoother!", + "group": "Background Appearance", + "name": "RoundRadius" + }, + { + "value": "", + "type": "Number", + "label": "Max length", + "description": "Max letters that can be entered.", + "name": "maxlength" + }, + { + "value": "", + "type": "String", + "label": "hshsjss", + "description": "bsjsjs.", + "hidden": true, + "name": "PropertyPreviousInput" + }, + { + "value": "20", + "type": "Number", + "label": "Text size", + "description": "Chnage the font size.", + "group": "Text", + "name": "textsize" + }, + { + "value": "", + "type": "Resource", + "label": "Font", + "description": "Chnage the font appearance.", + "group": "Text", + "extraInformation": [ + "font" + ], + "choices": [], + "name": "fontfile" + }, + { + "value": "255;255;255", + "type": "Color", + "label": "Background", + "description": "Change the background colour.", + "group": "Background Appearance", + "name": "BackgroundColor" + }, + { + "value": "0;0;0", + "type": "Color", + "label": "Border", + "description": "Change the border colour.", + "group": "Border Apperance", + "name": "BorderColor" + }, + { + "value": "0;0;0", + "type": "Color", + "label": "Text", + "description": "Chnage the text colour.", + "group": "Text", + "name": "TextColor" + }, + { + "value": "1", + "type": "Number", + "label": "Border size", + "description": "Chnage the border size.", + "group": "Border Apperance", + "name": "BorderSize" + } + ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "folderName": "Text", + "children": [ + { + "propertyName": "fontfile" + }, + { + "propertyName": "textsize" + }, + { + "propertyName": "TextColor" + } + ] + }, + { + "folderName": "Border Apperance", + "children": [ + { + "propertyName": "BorderSize" + }, + { + "propertyName": "BorderColor" + } + ] + }, + { + "folderName": "Background Appearance", + "children": [ + { + "propertyName": "BackgroundColor" + }, + { + "propertyName": "RoundRadius" + } + ] + }, + { + "folderName": "Context", + "children": [ + { + "propertyName": "PlaceHolder" + }, + { + "propertyName": "Internal_Value" + } + ] + }, + { + "propertyName": "InputType" + }, + { + "propertyName": "maxlength" + }, + { + "propertyName": "PropertyPreviousInput" + } + ] + } + }, + { + "areaMaxX": 300, + "areaMaxY": 50, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "defaultName": "Selection_Box", + "description": "Adds option's to select from!", + "fullName": "Selection Box", + "isInnerAreaFollowingParentSize": true, + "isUsingLegacyInstancesRenderer": false, + "name": "SelectionBox", + "objects": [ + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewText_SelectionTitle", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "Select", + "font": "", + "textAlignment": "left", + "characterSize": 25, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Select", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 25, + "lineHeight": 0, + "color": "0;0;0" + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_background", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 1, + "outlineOpacity": 255, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + }, + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewTextpoint", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": ">", + "font": "", + "textAlignment": "center", + "characterSize": 30, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": ">", + "font": "", + "textAlignment": "center", + "verticalTextAlignment": "top", + "characterSize": 30, + "lineHeight": 0, + "color": "0;0;0" + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_OptionLoader", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 1, + "outlineOpacity": 255, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + }, + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewText_SelectionName", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "Name", + "font": "", + "textAlignment": "left", + "characterSize": 21, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Name", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 21, + "lineHeight": 0, + "color": "0;0;0" + } + }, + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewTextSelectPoint", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "<", + "font": "", + "textAlignment": "center", + "characterSize": 30, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "<", + "font": "", + "textAlignment": "center", + "verticalTextAlignment": "top", + "characterSize": 30, + "lineHeight": 0, + "color": "0;0;0" + } + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "NewText_SelectionTitle" + }, + { + "objectName": "NewText_SelectionName" + }, + { + "objectName": "NewShapePainter_background" + }, + { + "objectName": "NewShapePainter_OptionLoader" + }, + { + "objectName": "NewTextpoint" + }, + { + "objectName": "NewTextSelectPoint" + } + ] + }, + "objectsGroups": [], + "layers": [ + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "", + "renderingType": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewText_SelectionTitle", + "persistentUuid": "15e3a1bc-f59f-4910-aed2-e31011ad4e83", + "width": 0, + "x": 8, + "y": 5, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 90, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewTextpoint", + "persistentUuid": "c3894a43-b640-4832-8216-4a77c3efe2b0", + "width": 0, + "x": 269, + "y": 10, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewTextSelectPoint", + "persistentUuid": "20551d98-cac2-4f25-a8f1-ec472cffa86e", + "width": 0, + "x": 270, + "y": 64, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "editionSettings": { + "grid": false, + "gridType": "rectangular", + "gridWidth": 32, + "gridHeight": 32, + "gridDepth": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, + "snap": false, + "zoomFactor": 1.182159254388659, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + }, + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_background", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_OptionLoader", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_background", + "0", + "0", + "Object.Width()", + "Object.Height()" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainter_background", + "=", + "0" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainter_OptionLoader", + "=", + "0" + ] + }, + { + "type": { + "value": "SetCenter" + }, + "parameters": [ + "NewTextpoint", + "=", + "Object.Width() - NewTextpoint.Width() * 1.2", + "=", + "Object.Height()/2" + ] + }, + { + "type": { + "value": "SetCenterX" + }, + "parameters": [ + "NewTextSelectPoint", + "=", + "Object.Width() - NewTextpoint.Width() * 1.15" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewTextSelectPoint", + "=", + "Object.Height()+Object.Height()/2" + ] + }, + { + "type": { + "value": "Hide" + }, + "parameters": [ + "NewTextSelectPoint" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection1", + "=", + "\"\"" + ] + }, + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection2", + "!=", + "\"\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection1", + "=", + "Selection2" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection2", + "=", + "Selection3" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection3", + "=", + "Selection4" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection4", + "=", + "Selection5" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection5", + "=", + "\"\"" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection1", + "!=", + "\"\"" + ] + }, + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection2", + "=", + "\"\"" + ] + }, + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection3", + "!=", + "\"\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection2", + "=", + "Selection3" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection3", + "=", + "Selection4" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection4", + "=", + "Selection5" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection5", + "=", + "\"\"" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection1", + "=", + "\"\"" + ] + }, + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection2", + "=", + "\"\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection1", + "=", + "Selection3" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection2", + "=", + "Selection4" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection3", + "=", + "Selection5" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection4", + "=", + "\"\"" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "Selection5", + "=", + "\"\"" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "", + "\"Left\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + }, + { + "type": { + "value": "IsCursorOnObject" + }, + "parameters": [ + "Object", + "", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetBooleanVariable" + }, + "parameters": [ + "OpenedSelection", + "Toggle", + "" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BooleanVariable" + }, + "parameters": [ + "OpenedSelection", + "False", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Drawer::ClearShapes" + }, + "parameters": [ + "NewShapePainter_OptionLoader" + ] + }, + { + "type": { + "value": "Delete" + }, + "parameters": [ + "NewText_SelectionName", + "" + ] + }, + { + "type": { + "value": "Hide" + }, + "parameters": [ + "NewTextSelectPoint" + ] + }, + { + "type": { + "value": "SetAngle" + }, + "parameters": [ + "NewTextpoint", + "=", + "90" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BooleanVariable" + }, + "parameters": [ + "OpenedSelection", + "True", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "Show" + }, + "parameters": [ + "NewTextSelectPoint", + "" + ] + }, + { + "type": { + "value": "SetAngle" + }, + "parameters": [ + "NewTextpoint", + "=", + "270" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonFromTextReleased" + }, + "parameters": [ + "", + "\"Left\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "PosY" + }, + "parameters": [ + "NewText_SelectionName", + ">", + "CursorY(Object.Layer())-Object.Height()" + ], + "subInstructions": [ + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "NewText_SelectionName.Y()-NewText_SelectionName.Height()", + "Object.Layer()", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "NewText_SelectionName.Y()", + "Object.Layer()", + "" + ] + } + ] + }, + { + "type": { + "value": "PosY" + }, + "parameters": [ + "NewText_SelectionName", + "<", + "CursorY(Object.Layer())" + ], + "subInstructions": [ + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "NewText_SelectionName.Y()-NewText_SelectionName.Height()", + "Object.Layer()", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "NewText_SelectionName.Y()", + "Object.Layer()", + "" + ] + } + ] + }, + { + "type": { + "value": "PosX" + }, + "parameters": [ + "NewText_SelectionName", + "<", + "CursorX(Object.Layer())" + ], + "subInstructions": [ + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "NewText_SelectionName.Y()-NewText_SelectionName.Height()", + "Object.Layer()", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "NewText_SelectionName.Y()", + "Object.Layer()", + "" + ] + } + ] + }, + { + "type": { + "value": "PosX" + }, + "parameters": [ + "NewText_SelectionName", + ">", + "CursorX(Object.Layer())-Object.Width()" + ], + "subInstructions": [ + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "NewText_SelectionName.Y()-NewText_SelectionName.Height()", + "Object.Layer()", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "NewText_SelectionName.Y()", + "Object.Layer()", + "" + ] + } + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewTextSelectPoint", + "=", + "NewText_SelectionName.CenterY()" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_SelectionTitle", + "Text", + "=", + "NewText_SelectionName.Text::Value()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BooleanVariable" + }, + "parameters": [ + "OpenedSelection", + "True", + "" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection1", + "!=", + "\"\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_OptionLoader", + "0", + "Object.Height()", + "Object.Width()", + "Object.Height()*2" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewText_SelectionName", + "10", + "Object.Height()*2", + "" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_SelectionName", + "Text", + "=", + "Selection1" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewText_SelectionName", + "=", + "(Object.Height()/2)*3" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection2", + "!=", + "\"\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_OptionLoader", + "0", + "Object.Height()*2", + "Object.Width()", + "Object.Height()*3" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewText_SelectionName", + "10", + "Object.Height()*3", + "" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_SelectionName", + "Text", + "=", + "Selection2" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewText_SelectionName", + "=", + "(Object.Height()/2)*5" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection3", + "!=", + "\"\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_OptionLoader", + "0", + "Object.Height()*3", + "Object.Width()", + "Object.Height()*4" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewText_SelectionName", + "10", + "Object.Height()*4", + "" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_SelectionName", + "Text", + "=", + "Selection3" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewText_SelectionName", + "=", + "(Object.Height()/2)*7" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection4", + "!=", + "\"\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_OptionLoader", + "0", + "Object.Height()*4", + "Object.Width()", + "Object.Height()*5" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewText_SelectionName", + "10", + "Object.Height()*5", + "" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_SelectionName", + "Text", + "=", + "Selection4" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewText_SelectionName", + "=", + "(Object.Height()/2)*9" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "StringVariable" + }, + "parameters": [ + "Selection5", + "!=", + "\"\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_OptionLoader", + "0", + "Object.Height()*5", + "Object.Width()", + "Object.Height()*6" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewText_SelectionName", + "10", + "Object.Height()*6", + "" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewText_SelectionName", + "Text", + "=", + "Selection5" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewText_SelectionName", + "=", + "(Object.Height()/2)*11" + ] + } + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::SelectionBox", + "type": "object" + } + ], + "objectGroups": [] + } + ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, + "propertyDescriptors": [ + { + "value": "26;26;26", + "type": "Color", + "label": "Text", + "description": "Change the colour of text.", + "group": "Text", + "name": "textcolor" + }, + { + "value": "", + "type": "Resource", + "label": "Font", + "description": "Chnage the font appearance.", + "group": "Text", + "extraInformation": [ + "font" + ], + "choices": [], + "name": "textfont" + }, + { + "value": "", + "type": "String", + "label": "Option 1", + "group": "Selection's", + "name": "Selection1" + }, + { + "value": "", + "type": "String", + "label": "Option 2 (optional)", + "group": "Selection's", + "name": "Selection2" + }, + { + "value": "", + "type": "String", + "label": "Option 3 (optional)", + "group": "Selection's", + "name": "Selection3" + }, + { + "value": "", + "type": "String", + "label": "Option 4 (optional)", + "group": "Selection's", + "name": "Selection4" + }, + { + "value": "", + "type": "String", + "label": "Option 5 (optional)", + "group": "Selection's", + "name": "Selection5" + }, + { + "value": "", + "type": "Boolean", + "label": "hhss.", + "description": "shsbs.", + "hidden": true, + "name": "OpenedSelection" + } + ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "OpenedSelection" + }, + { + "folderName": "Text", + "children": [ + { + "propertyName": "textfont" + }, + { + "propertyName": "textcolor" + } + ] + }, + { + "folderName": "Selection's", + "children": [ + { + "propertyName": "Selection1" + }, + { + "propertyName": "Selection2" + }, + { + "propertyName": "Selection3" + }, + { + "propertyName": "Selection4" + }, + { + "propertyName": "Selection5" + } + ] + } + ] + } + }, + { + "areaMaxX": 150, + "areaMaxY": 60, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "defaultName": "SpinBox", + "description": "SpinBox, select a value!", + "fullName": "SpinBox", + "isInnerAreaFollowingParentSize": true, + "isUsingLegacyInstancesRenderer": false, + "name": "Spinbox", + "objects": [ + { + "assetStoreId": "", + "bold": true, + "italic": false, + "name": "NewText_Value", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "99", + "font": "", + "textAlignment": "center", + "characterSize": 45, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "99", + "font": "", + "textAlignment": "center", + "verticalTextAlignment": "top", + "characterSize": 45, + "lineHeight": 0, + "color": "0;0;0" + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 225, + "outlineSize": 0, + "outlineOpacity": 0, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 235, + "g": 235, + "b": 235 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + }, + { + "assetStoreId": "", + "name": "NewShapePainteroutline", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 0, + "outlineSize": 2, + "outlineOpacity": 150, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 235, + "g": 235, + "b": 235 + }, + "outlineColor": { + "r": 26, + "g": 26, + "b": 26 + } + }, + { + "assetStoreId": "", + "name": "NewTextInput", + "type": "TextInput::TextInputObject", + "variables": [], + "effects": [], + "behaviors": [], + "content": { + "initialValue": "99", + "placeholder": "0-99", + "fontResourceName": "", + "fontSize": 30, + "inputType": "number", + "textColor": "0;0;0", + "fillColor": "255;255;255", + "fillOpacity": 0, + "borderColor": "0;0;0", + "borderOpacity": 255, + "borderWidth": 0, + "readOnly": false, + "disabled": false, + "spellCheck": false, + "paddingX": 2, + "paddingY": 1, + "textAlign": "center", + "maxLength": "0" + } + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "NewText_Value" + }, + { + "objectName": "NewShapePainter" + }, + { + "objectName": "NewShapePainteroutline" + }, + { + "objectName": "NewTextInput" + } + ] + }, + "objectsGroups": [], + "layers": [ + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "", + "renderingType": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "instances": [ + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 60, + "keepRatio": true, + "layer": "", + "name": "NewTextInput", + "persistentUuid": "409571f4-f9af-4c80-82d1-409655ae7b4d", + "width": 130, + "x": 0, + "y": 0, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "editionSettings": { + "grid": false, + "gridType": "rectangular", + "gridWidth": 32, + "gridHeight": 32, + "gridDepth": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, + "snap": false, + "zoomFactor": 2.272123252746051, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + }, + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainteroutline", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewTextInput", + "Text", + "=", + "initialvalue" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetSize" + }, + "parameters": [ + "NewTextInput", + "Resizable", + "Object.Width()/1.5", + "Object.Height()" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter", + "0", + "0", + "Object.Width()", + "Object.Height()" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainteroutline", + "0", + "0", + "Object.Width()", + "Object.Height()" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "NewShapePainter", + "\"219;219;219\"" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter", + "Object.Width()/1.5", + "0", + "Object.Width()", + "Object.Height()" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainteroutline", + "Object.Width()/1.5", + "0", + "Object.Width()", + "Object.Height()" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainter", + "=", + "0" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainteroutline", + "=", + "1" + ] + }, + { + "type": { + "value": "SetCenter" + }, + "parameters": [ + "NewTextInput", + "=", + "Object.Width()/3", + "=", + "Object.Height()/2" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "NewShapePainter", + "\"0;0;0\"" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::RegularPolygon" + }, + "parameters": [ + "NewShapePainter", + "Object.Width()/1.2", + "Object.Height()/2.6", + "3", + "(Object.Height()-Object.Width())/6", + "180" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::RegularPolygon" + }, + "parameters": [ + "NewShapePainter", + "Object.Width()/1.2", + "Object.Height()/1.45", + "3", + "(Object.Height()-Object.Width())/6", + "0" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetPlaceholder" + }, + "parameters": [ + "NewTextInput", + "=", + "\"0-\"+MaxValue" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "ToNumber(NewTextInput.Text::Value())", + "=", + "MaxValue" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "ToNumber(NewTextInput.Text::Value())*10", + ">=", + "MaxValue" + ] + } + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::Focused" + }, + "parameters": [ + "NewTextInput" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "PropertyBeforevalue", + "=", + "NewTextInput.Text::Value()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "ToNumber(NewTextInput.Text::Value())", + "=", + "MaxValue" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "ToNumber(NewTextInput.Text::Value())*10", + ">=", + "MaxValue" + ] + } + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::Focused" + }, + "parameters": [ + "NewTextInput" + ] + } + ], + "actions": [ + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewTextInput", + "Text", + "=", + "PropertyBeforevalue" + ] + }, + { + "type": { + "value": "SetStringVariable" + }, + "parameters": [ + "PropertyBeforevalue", + "=", + "StrReplaceAll(PropertyBeforevalue, \".\", \"\")" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewTextInput", + "Text", + "=", + "StrReplaceAll(NewTextInput.Text::Value(), \".\", \"\")" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + ">", + "Object.Width()/1.5", + "", + "" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + "<", + "Object.Width()", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "Object.Height()/2", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "0", + "", + "" + ] + }, + { + "type": { + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "", + "\"Left\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "ToNumber(NewTextInput.Text::Value())", + "<", + "MaxValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewTextInput", + "Text", + "=", + "ToString(ToNumber(NewTextInput.Text::Value())+1)" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + ">", + "Object.Width()/1.5", + "", + "" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + "<", + "Object.Width()", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "Object.Height()/2", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "Object.Height()", + "", + "" + ] + }, + { + "type": { + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "", + "\"Left\"" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "ToNumber(NewTextInput.Text::Value())", + ">", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "TextContainerCapability::TextContainerBehavior::SetValue" + }, + "parameters": [ + "NewTextInput", + "Text", + "=", + "ToString(ToNumber(NewTextInput.Text::Value())-1)" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::Spinbox", + "type": "object" + } + ], + "objectGroups": [] + } + ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, + "propertyDescriptors": [ + { + "value": "k", + "type": "String", + "label": "before.", + "description": "test.", + "hidden": true, + "name": "PropertyBeforevalue" + }, + { + "value": "30", + "type": "Number", + "label": "Text size", + "description": "Modify the text size.", + "group": "Appearance", + "name": "PropertySizeText" + }, + { + "value": "99", + "type": "Number", + "label": "Max Value", + "description": "Max value that can be entered.", + "group": "Value", + "name": "MaxValue" + }, + { + "value": "0", + "type": "Number", + "label": "initial value", + "description": "internal Value, Replaces the input at beginning.", + "group": "Value", + "name": "initialvalue" + } + ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "folderName": "Appearance", + "children": [ + { + "propertyName": "PropertySizeText" + } + ] + }, + { + "folderName": "Value", + "children": [ + { + "propertyName": "initialvalue" + }, + { + "propertyName": "MaxValue" + } + ] + }, + { + "propertyName": "PropertyBeforevalue" + } + ] + } + }, + { + "areaMaxX": 480, + "areaMaxY": 64, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "defaultName": "dismissed_", + "description": "dmsmsmsms.", + "fullName": "unknown", + "isUsingLegacyInstancesRenderer": false, + "name": "DatePicker", + "private": true, + "objects": [ + { + "assetStoreId": "", + "bold": true, + "italic": false, + "name": "NewText_Month", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Tween", + "type": "Tween::TweenBehavior" + } + ], + "string": "Month", + "font": "", + "textAlignment": "left", + "characterSize": 20, + "color": { + "b": 25, + "g": 25, + "r": 25 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Month", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "25;25;25" + } + }, + { + "assetStoreId": "", + "bold": true, + "italic": false, + "name": "NewText_Day", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Tween", + "type": "Tween::TweenBehavior" + } + ], + "string": "Day", + "font": "", + "textAlignment": "left", + "characterSize": 20, + "color": { + "b": 25, + "g": 25, + "r": 25 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Day", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "25;25;25" + } + }, + { + "assetStoreId": "", + "bold": true, + "italic": false, + "name": "NewText_Year", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Tween", + "type": "Tween::TweenBehavior" + } + ], + "string": "Year", + "font": "", + "textAlignment": "left", + "characterSize": 20, + "color": { + "b": 25, + "g": 25, + "r": 25 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Year", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "25;25;25" + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 200, + "outlineSize": 2, + "outlineOpacity": 200, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_backrground", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 200, + "outlineSize": 2, + "outlineOpacity": 200, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + }, + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewTextMonths", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "January\nFebruary\nMarch\nApril\nMay\nJune\nJuly\nAugust\nSeptember\nOctober\nNovember\nDecember", + "font": "", + "textAlignment": "left", + "characterSize": 20, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "January\nFebruary\nMarch\nApril\nMay\nJune\nJuly\nAugust\nSeptember\nOctober\nNovember\nDecember", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" + } + }, + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewTextDays", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "effects": [], + "behaviors": [], + "string": "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30", + "font": "", + "textAlignment": "left", + "characterSize": 20, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_Tab", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 0, + "outlineOpacity": 200, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "NewText_Month" + }, + { + "objectName": "NewText_Year" + }, + { + "objectName": "NewText_Day" + }, + { + "objectName": "NewShapePainter" + }, + { + "objectName": "NewShapePainter_backrground" + }, + { + "objectName": "NewShapePainter_Tab" + }, + { + "objectName": "NewTextMonths" + }, + { + "objectName": "NewTextDays" + } + ] + }, + "objectsGroups": [], + "layers": [ + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "", + "renderingType": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewText_Month", + "persistentUuid": "9c3aa078-1548-490e-9281-f3346ea97137", + "width": 0, + "x": 6, + "y": 4, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewText_Day", + "persistentUuid": "16c7902b-8c24-4d3a-b485-e408eaacbb71", + "width": 0, + "x": 170, + "y": 4, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewText_Year", + "persistentUuid": "8ddf211c-b526-4faa-9ecb-ebdf24ef8ac9", + "width": 0, + "x": 300, + "y": 4, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewTextMonths", + "persistentUuid": "c8bb1ca5-8183-4791-9d82-7537c2b77c7f", + "width": 0, + "x": 12, + "y": 48, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewTextDays", + "persistentUuid": "7371c742-72ff-4a3a-8291-bc6a0c41a26c", + "width": 0, + "x": 176, + "y": 48, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "editionSettings": { + "grid": false, + "gridType": "rectangular", + "gridWidth": 32, + "gridHeight": 32, + "gridDepth": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, + "snap": false, + "zoomFactor": 0.7431836211098306, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + }, + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_backrground", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_Tab", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainter", + "=", + "0" + ] + }, + { + "type": { + "value": "SetZOrder" + }, + "parameters": [ + "NewShapePainter_backrground", + "=", + "0" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "0.1" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::OutlineSize" + }, + "parameters": [ + "NewShapePainter", + "=", + "2" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter", + "0", + "0", + "Object.Width()/3", + "Object.Width()/12" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter", + "Object.Width()/3", + "0", + "Object.Width()/1.5", + "Object.Width()/12" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter", + "0", + "0", + "Object.Width()", + "Object.Width()/12" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_Tab", + "0", + "Object.Width()-140", + "Object.Width()", + "Object.Width()-80" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "First" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "", + "\"Left\"" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + "<", + "Object.Width()/3", + "", + "" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + ">", + "0", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "SceneWindowWidth()/12", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "0", + "", + "" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Tween::TweenBehavior::AddObjectPositionYTween2" + }, + "parameters": [ + "NewText_Month", + "Tween", + "\"tweenpos\"", + "10", + "\"easeOutCubic\"", + "0.5", + "0.3" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_backrground", + "0", + "(Object.Width()/12)*1", + "Object.Width()/3", + "(Object.Width()/12)*2" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_backrground", + "0", + "(Object.Width()/12)*2", + "Object.Width()/3", + "(Object.Width()/12)*3" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_backrground", + "0", + "(Object.Width()/12)*3", + "Object.Width()/3", + "(Object.Width()/12)*4" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Second" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "", + "\"Left\"" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + "<", + "Object.Width()/1.5", + "", + "" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + ">", + "Object.Width()/3", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "SceneWindowWidth()/12", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "0", + "", + "" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Tween::TweenBehavior::AddObjectPositionYTween2" + }, + "parameters": [ + "NewText_Day", + "Tween", + "\"tweenpos\"", + "10", + "\"easeOutCubic\"", + "0.5", + "0.3" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "First" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + "<", + "Object.Width()/3", + "", + "" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + ">", + "0", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "SceneWindowWidth()/12", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "0", + "", + "" + ] + } + ] + }, + { + "type": { + "inverted": true, + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "", + "\"Left\"" + ] + } + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Drawer::ClearShapes" + }, + "parameters": [ + "NewShapePainter_backrground" + ] + }, + { + "type": { + "value": "Tween::TweenBehavior::AddObjectPositionYTween2" + }, + "parameters": [ + "NewText_Month", + "Tween", + "\"tweenpos\"", + "4", + "\"easeOutCubic\"", + "0.5", + "0.3" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Second" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + "<", + "Object.Width()/1.5", + "", + "" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + ">", + "Object.Width()/3", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "SceneWindowWidth()/12", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "0", + "", + "" + ] + } + ] + }, + { + "type": { + "inverted": true, + "value": "MouseButtonFromTextPressed" + }, + "parameters": [ + "", + "\"Left\"" + ] + } + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Tween::TweenBehavior::AddObjectPositionYTween2" + }, + "parameters": [ + "NewText_Day", + "Tween", + "\"tweenpos\"", + "4", + "\"easeOutCubic\"", + "0.5", + "0.3" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::DatePicker", + "type": "object" + } + ], + "objectGroups": [] + } + ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, + "propertyDescriptors": [], + "propertiesFolderStructure": { + "folderName": "__ROOT" + } + }, + { + "areaMaxX": 256, + "areaMaxY": 64, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "defaultName": "Captcha_Checkmark", + "description": "Detect if user is a real human or robot!", + "fullName": "Captcha Checkmark", + "isInnerAreaFollowingParentSize": true, + "isUsingLegacyInstancesRenderer": false, + "name": "CaptchaBox", + "objects": [ + { + "assetStoreId": "", + "name": "NewShapePainter_background", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 1, + "outlineOpacity": 255, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "none", + "fillColor": { + "r": 244, + "g": 244, + "b": 244 + }, + "outlineColor": { + "r": 20, + "g": 20, + "b": 20 + } + }, + { + "assetStoreId": "", + "bold": false, + "italic": false, + "name": "NewText", + "persistentUuid": "8b5e8640-937c-4adf-b0da-15d971ac785c", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [ + { + "name": "VariableClicked", + "type": "boolean", + "value": false + }, + { + "name": "VariableSize", + "type": "number", + "value": 0 + }, + { + "name": "VariableCircleSize", + "type": "number", + "value": 0 + }, + { + "name": "VariableBlueCircleRotation", + "type": "number", + "value": 0 + }, + { + "name": "Variablestartx", + "type": "number", + "value": 0 + }, + { + "name": "Variablestarty", + "type": "number", + "value": 0 + }, + { + "name": "VariableEndx", + "type": "number", + "value": 0 + }, + { + "name": "VariableEndy", + "type": "number", + "value": 0 + }, + { + "name": "AccessDenied", + "type": "string", + "value": "0" + }, + { + "name": "X_1", + "type": "number", + "value": 0 + }, + { + "name": "Y_1", + "type": "number", + "value": 0 + }, + { + "name": "X_2", + "type": "number", + "value": 0 + }, + { + "name": "Y_2", + "type": "number", + "value": 0 + }, + { + "name": "X_3", + "type": "number", + "value": 0 + }, + { + "name": "Y_3", + "type": "number", + "value": 0 + }, + { + "name": "dy1", + "type": "number", + "value": 0 + }, + { + "name": "dx2", + "type": "number", + "value": 0 + }, + { + "name": "dy2", + "type": "number", + "value": 0 + }, + { + "name": "dot", + "type": "number", + "value": 0 + }, + { + "name": "dx1", + "type": "number", + "value": 0 + }, + { + "name": "len1", + "type": "number", + "value": 0 + }, + { + "name": "len2", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [], + "string": "I'm not a robot", + "font": "", + "textAlignment": "left", + "characterSize": 18, + "color": { + "b": 0, + "g": 0, + "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "I'm not a robot", + "font": "", + "textAlignment": "left", + "verticalTextAlignment": "top", + "characterSize": 18, + "lineHeight": 0, + "color": "0;0;0" + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_check", + "persistentUuid": "3c51e0ac-d3b1-48e7-ba83-8f4d7abe35a9", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 1, + "outlineOpacity": 255, + "absoluteCoordinates": true, + "clearBetweenFrames": true, + "antialiasing": "none", + "fillColor": { + "r": 244, + "g": 244, + "b": 244 + }, + "outlineColor": { + "r": 166, + "g": 166, + "b": 166 + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_circle", + "persistentUuid": "a1bdec8a-b56e-46fb-b9bf-74b59cd4f05e", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 1, + "outlineOpacity": 200, + "absoluteCoordinates": true, + "clearBetweenFrames": true, + "antialiasing": "none", + "fillColor": { + "r": 244, + "g": 244, + "b": 244 + }, + "outlineColor": { + "r": 230, + "g": 69, + "b": 69 + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_circleBLUE", + "persistentUuid": "d117468d-c5ec-4c62-8981-f200364842ac", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 4, + "outlineOpacity": 200, + "absoluteCoordinates": true, + "clearBetweenFrames": true, + "antialiasing": "none", + "fillColor": { + "r": 244, + "g": 244, + "b": 244 + }, + "outlineColor": { + "r": 67, + "g": 130, + "b": 206 + } + }, + { + "assetStoreId": "", + "name": "NewShapePainter_greencheck", + "persistentUuid": "d02a7804-5398-4e79-808a-f46abb314cb9", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 0, + "outlineOpacity": 200, + "absoluteCoordinates": true, + "clearBetweenFrames": true, + "antialiasing": "none", + "fillColor": { + "r": 120, + "g": 169, + "b": 67 + }, + "outlineColor": { + "r": 129, + "g": 175, + "b": 77 + } + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "NewShapePainter_background" + }, + { + "objectName": "NewShapePainter_check" + }, + { + "objectName": "NewShapePainter_circle" + }, + { + "objectName": "NewShapePainter_circleBLUE" + }, + { + "objectName": "NewShapePainter_greencheck" + }, + { + "objectName": "NewText" + } + ] + }, + "objectsGroups": [], + "layers": [ + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "", + "renderingType": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + }, + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "Layer", + "renderingType": "", + "visibility": true, + "cameras": [], + "effects": [ + { + "effectType": "Scene3D::HemisphereLight", + "name": "3D Ambient Hemisphere Light", + "doubleParameters": { + "elevation": 40, + "intensity": 0.33, + "rotation": 300 + }, + "stringParameters": { + "groundColor": "127;127;127", + "skyColor": "255;255;255", + "top": "Z+" + }, + "booleanParameters": {} + }, + { + "effectType": "Scene3D::DirectionalLight", + "name": "3D Sun Light", + "doubleParameters": { + "distanceFromCamera": 1500, + "elevation": 40, + "frustumSize": 4000, + "intensity": 0.75, + "minimumShadowBias": 0, + "rotation": 300 + }, + "stringParameters": { + "color": "255;255;255", + "shadowQuality": "medium", + "top": "Z+" + }, + "booleanParameters": { + "isCastingShadow": true + } + } + ] + }, + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "Layer2", + "renderingType": "", + "visibility": true, + "cameras": [], + "effects": [ + { + "effectType": "Scene3D::HemisphereLight", + "name": "3D Ambient Hemisphere Light", + "doubleParameters": { + "elevation": 40, + "intensity": 0.33, + "rotation": 300 + }, + "stringParameters": { + "groundColor": "127;127;127", + "skyColor": "255;255;255", + "top": "Z+" + }, + "booleanParameters": {} + }, + { + "effectType": "Scene3D::DirectionalLight", + "name": "3D Sun Light", + "doubleParameters": { + "distanceFromCamera": 1500, + "elevation": 40, + "frustumSize": 4000, + "intensity": 0.75, + "minimumShadowBias": 0, + "rotation": 300 + }, + "stringParameters": { + "color": "255;255;255", + "shadowQuality": "medium", + "top": "Z+" + }, + "booleanParameters": { + "isCastingShadow": true + } + } + ] + } + ], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "Layer2", + "name": "NewText", + "persistentUuid": "d92e01d7-d795-4bd2-b01e-3bddc884427e", + "width": 0, + "x": 77, + "y": 23, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "editionSettings": { + "grid": false, + "gridType": "rectangular", + "gridWidth": 32, + "gridHeight": 32, + "gridDepth": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, + "snap": false, + "zoomFactor": 1.7403824702929787, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + }, + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Creation and drawing background" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "NewText", + "VariableClicked", + "False" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_background", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_check", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_circle", + "0", + "0", + "" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_circleBLUE", + "0", + "0", + "\"Layer\"" + ] + }, + { + "type": { + "value": "Create" + }, + "parameters": [ + "", + "NewShapePainter_greencheck", + "0", + "0", + "\"Layer\"" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::RoundedRectangle" + }, + "parameters": [ + "NewShapePainter_background", + "0", + "0", + "Object.Width()", + "Object.Height()", + "5" + ] + }, + { + "type": { + "value": "SetX" + }, + "parameters": [ + "NewText", + "=", + "Object.Height()+6" + ] + }, + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "NewText", + "=", + "Object.Height()/2" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "IsMouseInsideCanvas" + }, + "parameters": [ + "" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "Variablestartx", + "=", + "0" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "Variablestarty", + "=", + "0" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "Variablestartx", + "=", + "CursorX()" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "Variablestarty", + "=", + "CursorY()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "IsMouseInsideCanvas" + }, + "parameters": [ + "" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "Variablestartx", + "!=", + "0" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "Variablestarty", + "!=", + "0" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "X_1", + "=", + "CursorX()" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "Y_1", + "=", + "CursorY()" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "1" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "X_2", + "=", + "CursorX()" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "Y_2", + "=", + "CursorY()" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "dx1", + "=", + "NewText.X_2-NewText.X_1" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "dy1", + "=", + "NewText.Y_2-NewText.Y_1" + ] + }, + { + "type": { + "value": "Wait" + }, + "parameters": [ + "1" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "X_3", + "=", + "CursorX()" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "Y_3", + "=", + "CursorY()" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "dx2", + "=", + "NewText.X_3-NewText.X_2" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "dy2", + "=", + "NewText.Y_3-NewText.Y_2" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "dot", + "=", + "NewText.dx1*NewText.dx2 + NewText.dy1*NewText.dy2" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "len1", + "=", + "sqrt(NewText.dx1*NewText.dx1 + NewText.dy1*NewText.dy1)" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "len2", + "=", + "sqrt(NewText.dx2*NewText.dx2 + NewText.dy2*NewText.dy2)" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Square Draw" + }, + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "VariableSize", + "<", + "Object.Height()/3" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::RoundedRectangle" + }, + "parameters": [ + "NewShapePainter_check", + "10+NewText.VariableSize", + "10+NewText.VariableSize", + "(Object.Height()-10)-NewText.VariableSize", + "(Object.Height()-10)-NewText.VariableSize", + "8" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "NewText", + "VariableClicked", + "True" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "VariableSize", + "+", + "0.5" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Red circle" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "VariableSize", + ">", + "Object.Height()/6" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "VariableCircleSize", + "<", + "Object.Height()/3" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Circle" + }, + "parameters": [ + "NewShapePainter_circle", + "Object.Height()/2", + "Object.Height()/2", + "NewText.VariableCircleSize" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "VariableSize", + ">=", + "Object.Height()/6" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "VariableCircleSize", + "+", + "0.5" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::OutlineOpacity" + }, + "parameters": [ + "NewShapePainter_circle", + "-", + "4" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Blue circle" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "VariableCircleSize", + ">", + "Object.Height()/6" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "VariableBlueCircleRotation", + "<", + "360" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Arc" + }, + "parameters": [ + "NewShapePainter_circleBLUE", + "Object.Height()/2", + "Object.Height()/2", + "NewText.VariableCircleSize", + "0+NewText.VariableBlueCircleRotation", + "40+NewText.VariableBlueCircleRotation", + "", + "no" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "VariableSize", + ">=", + "Object.Height()/6" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "VariableBlueCircleRotation", + "+", + "4" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::OutlineOpacity" + }, + "parameters": [ + "NewShapePainter_circleBLUE", + "-", + "2" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Passed" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjetTxt" + }, + "parameters": [ + "NewText", + "AccessDenied", + "=", + "\"false\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::LineV2" + }, + "parameters": [ + "NewShapePainter_greencheck", + "Object.Height()/2.5", + "Object.Height()/2.2", + "Object.Height()/1.6", + "Object.Height()/1.5", + "2" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::LineV2" + }, + "parameters": [ + "NewShapePainter_greencheck", + "Object.Height()/1.6", + "Object.Height()/1.5", + "Object.Height()/1.3", + "Object.Height()/5", + "2" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjetTxt" + }, + "parameters": [ + "NewText", + "AccessDenied", + "=", + "\"true\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::OutlineColor" + }, + "parameters": [ + "NewShapePainter_greencheck", + "\"212;73;73\"" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::LineV2" + }, + "parameters": [ + "NewShapePainter_greencheck", + "15", + "15", + "Object.Height()-15", + "Object.Height()-15", + "2" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::LineV2" + }, + "parameters": [ + "NewShapePainter_greencheck", + "Object.Height()-15", + "15", + "15", + "Object.Height()-15", + "2" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Click detection" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "NewText", + "VariableClicked", + "False" + ] + }, + { + "type": { + "value": "MouseButtonFromTextReleased" + }, + "parameters": [ + "", + "\"Left\"" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + ">", + "10", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "10", + "", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "Object.Height()-10", + "", + "" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + "<", + "Object.Height()-10", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "NewText", + "VariableClicked", + "True" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "VariableEndx", + "=", + "CursorX()" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "NewText", + "VariableEndy", + "=", + "CursorY()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "NewText", + "VariableBlueCircleRotation", + ">=", + "360" + ] + }, + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "NewText", + "VariableClicked", + "True" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SystemInfo::HasTouchScreen" + }, + "parameters": [ + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjetTxt" + }, + "parameters": [ + "NewText", + "AccessDenied", + "=", + "\"false\"" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "SystemInfo::HasTouchScreen" + }, + "parameters": [ + "" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "abs((NewText.Variablestartx-NewText.Variablestarty) / (NewText.VariableEndx - NewText.VariableEndy))", + "<", + "15" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "acos(NewText.dot/(NewText.len1*NewText.len2)) *180 / Pi()", + "<=", + "20" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjetTxt" + }, + "parameters": [ + "NewText", + "AccessDenied", + "=", + "\"true\"" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Else", + "conditions": [], + "actions": [ + { + "type": { + "value": "ModVarObjetTxt" + }, + "parameters": [ + "NewText", + "AccessDenied", + "=", + "\"false\"" + ] + } + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::CaptchaBox", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Checks if the capcta was completed.", + "fullName": "Check If Captcha Was Completed", + "functionType": "Condition", + "name": "Captchacompleted", + "sentence": "Check If Captcha Is Completed _PARAM0_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjetTxt" + }, + "parameters": [ + "NewText", + "AccessDenied", + "=", + "\"false\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjetTxt" + }, + "parameters": [ + "NewText", + "AccessDenied", + "=", + "\"true\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "False" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::CaptchaBox", + "type": "object" + } + ], + "objectGroups": [] + } + ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + }, + { + "functionName": "Captchacompleted" + } + ] + }, + "propertyDescriptors": [], + "propertiesFolderStructure": { + "folderName": "__ROOT" + } + }, + { + "areaMaxX": 64, + "areaMaxY": 64, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "defaultName": "Frame", + "description": "Used for loading URL files onto it, or plain background!", + "fullName": "Frame", + "isInnerAreaFollowingParentSize": true, + "isUsingLegacyInstancesRenderer": false, + "name": "Frame", + "objects": [ + { + "adaptCollisionMaskAutomatically": true, + "assetStoreId": "", + "name": "NewSprite", + "persistentUuid": "9b50bfa3-cc16-4a3d-b2af-fcd2405c0848", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "effects": [], + "behaviors": [], + "animations": [] + }, + { + "assetStoreId": "", + "name": "NewShapePainter_framedraw", + "type": "PrimitiveDrawing::Drawer", + "variables": [], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 1, + "outlineOpacity": 255, + "absoluteCoordinates": true, + "clearBetweenFrames": false, + "antialiasing": "low", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "NewSprite" + }, + { + "objectName": "NewShapePainter_framedraw" + } + ] + }, + "objectsGroups": [], + "layers": [ + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "", + "renderingType": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "instances": [ + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 64, + "keepRatio": true, + "layer": "", + "name": "NewSprite", + "persistentUuid": "cbf1e956-0287-4e3f-a0e9-c3a495478a0c", + "width": 64, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "NewShapePainter_framedraw", + "persistentUuid": "3c0c1327-a88c-468a-8215-a3cd3708e3e5", + "width": 0, + "x": 18, + "y": 15, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "editionSettings": { + "grid": false, + "gridType": "rectangular", + "gridWidth": 32, + "gridHeight": 32, + "gridDepth": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, + "snap": false, + "zoomFactor": 2.929619627222215, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + }, + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "NewShapePainter_framedraw", + "FrameColor" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::OutlineColor" + }, + "parameters": [ + "NewShapePainter_framedraw", + "BorderColor" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::OutlineSize" + }, + "parameters": [ + "NewShapePainter_framedraw", + "=", + "BorderSize" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "NewShapePainter_framedraw", + "0", + "0", + "Object.Width()", + "Object.Height()" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ExperimentalInterface::Frame", + "type": "object" + } + ], + "objectGroups": [] + } + ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, + "propertyDescriptors": [ + { + "value": "", + "type": "Color", + "label": "Frame Color", + "name": "FrameColor" + }, + { + "value": "", + "type": "Color", + "label": "Border", + "group": "Border", + "name": "BorderColor" + }, + { + "value": "1", + "type": "Number", + "unit": "Pixel", + "label": "Border size", + "group": "Border", + "name": "BorderSize" + } + ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "folderName": "Border", + "children": [ + { + "propertyName": "BorderSize" + }, + { + "propertyName": "BorderColor" + } + ] + }, + { + "propertyName": "FrameColor" + } + ] + } + } + ] +} \ No newline at end of file