diff --git a/examples/variants-scrollbar/assets/BlackRoundedSquareBackground.png b/examples/variants-scrollbar/assets/BlackRoundedSquareBackground.png new file mode 100644 index 000000000..b0000758b Binary files /dev/null and b/examples/variants-scrollbar/assets/BlackRoundedSquareBackground.png differ diff --git a/examples/variants-scrollbar/assets/BlackSquarePixelBackground.png b/examples/variants-scrollbar/assets/BlackSquarePixelBackground.png new file mode 100644 index 000000000..967ff9466 Binary files /dev/null and b/examples/variants-scrollbar/assets/BlackSquarePixelBackground.png differ diff --git a/examples/variants-scrollbar/assets/BlackTinySwordsPixelBackground.png b/examples/variants-scrollbar/assets/BlackTinySwordsPixelBackground.png new file mode 100644 index 000000000..3dc4859de Binary files /dev/null and b/examples/variants-scrollbar/assets/BlackTinySwordsPixelBackground.png differ diff --git a/examples/variants-scrollbar/assets/BlueRoundedSquareThumb.png b/examples/variants-scrollbar/assets/BlueRoundedSquareThumb.png new file mode 100644 index 000000000..1c98f1750 Binary files /dev/null and b/examples/variants-scrollbar/assets/BlueRoundedSquareThumb.png differ diff --git a/examples/variants-scrollbar/assets/BlueTinySwordsPixelThumb.png b/examples/variants-scrollbar/assets/BlueTinySwordsPixelThumb.png new file mode 100644 index 000000000..77b7c2e5d Binary files /dev/null and b/examples/variants-scrollbar/assets/BlueTinySwordsPixelThumb.png differ diff --git a/examples/variants-scrollbar/assets/GreenRoundedSquareThumb.png b/examples/variants-scrollbar/assets/GreenRoundedSquareThumb.png new file mode 100644 index 000000000..36e83eeec Binary files /dev/null and b/examples/variants-scrollbar/assets/GreenRoundedSquareThumb.png differ diff --git a/examples/variants-scrollbar/assets/GreyRoundedSquareThumb.png b/examples/variants-scrollbar/assets/GreyRoundedSquareThumb.png new file mode 100644 index 000000000..54c2f510b Binary files /dev/null and b/examples/variants-scrollbar/assets/GreyRoundedSquareThumb.png differ diff --git a/examples/variants-scrollbar/assets/RedRoundedSquareThumb.png b/examples/variants-scrollbar/assets/RedRoundedSquareThumb.png new file mode 100644 index 000000000..11f84633e Binary files /dev/null and b/examples/variants-scrollbar/assets/RedRoundedSquareThumb.png differ diff --git a/examples/variants-scrollbar/assets/RedTinySwordsPixelThumb.png b/examples/variants-scrollbar/assets/RedTinySwordsPixelThumb.png new file mode 100644 index 000000000..be9c71ecd Binary files /dev/null and b/examples/variants-scrollbar/assets/RedTinySwordsPixelThumb.png differ diff --git a/examples/variants-scrollbar/assets/SquareWhiteBackground.png b/examples/variants-scrollbar/assets/SquareWhiteBackground.png new file mode 100644 index 000000000..f87fd058a Binary files /dev/null and b/examples/variants-scrollbar/assets/SquareWhiteBackground.png differ diff --git a/examples/variants-scrollbar/assets/SquareWhiteThumb.png b/examples/variants-scrollbar/assets/SquareWhiteThumb.png new file mode 100644 index 000000000..01df6f4ee Binary files /dev/null and b/examples/variants-scrollbar/assets/SquareWhiteThumb.png differ diff --git a/examples/variants-scrollbar/assets/White1BitSquareThumb.png b/examples/variants-scrollbar/assets/White1BitSquareThumb.png new file mode 100644 index 000000000..393604c43 Binary files /dev/null and b/examples/variants-scrollbar/assets/White1BitSquareThumb.png differ diff --git a/examples/variants-scrollbar/assets/WhiteFantasyPixelThumb.png b/examples/variants-scrollbar/assets/WhiteFantasyPixelThumb.png new file mode 100644 index 000000000..d5ef536ea Binary files /dev/null and b/examples/variants-scrollbar/assets/WhiteFantasyPixelThumb.png differ diff --git a/examples/variants-scrollbar/assets/YellowRoundedSquareThumb.png b/examples/variants-scrollbar/assets/YellowRoundedSquareThumb.png new file mode 100644 index 000000000..a58ecdc1a Binary files /dev/null and b/examples/variants-scrollbar/assets/YellowRoundedSquareThumb.png differ diff --git a/examples/variants-scrollbar/variants-scrollbar.json b/examples/variants-scrollbar/variants-scrollbar.json new file mode 100644 index 000000000..745bfe117 --- /dev/null +++ b/examples/variants-scrollbar/variants-scrollbar.json @@ -0,0 +1,3222 @@ +{ + "firstLayout": "", + "gdVersion": { + "build": 259, + "major": 5, + "minor": 6, + "revision": 0 + }, + "properties": { + "adaptGameResolutionAtRuntime": true, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, + "folderProject": false, + "orientation": "landscape", + "packageName": "com.example.gamename", + "pixelsRounding": false, + "projectUuid": "f3833b0a-86a6-475e-ae8d-b912bfbee813", + "scaleMode": "linear", + "sizeOnStartupMode": "adaptWidth", + "templateSlug": "", + "version": "1.0.0", + "name": "variants-scrollbar", + "description": "", + "author": "", + "windowWidth": 1280, + "windowHeight": 720, + "latestCompilationDirectory": "", + "maxFPS": 60, + "minFPS": 20, + "verticalSync": false, + "platformSpecificAssets": {}, + "loadingScreen": { + "backgroundColor": 0, + "backgroundFadeInDuration": 0.2, + "backgroundImageResourceName": "", + "gdevelopLogoStyle": "light", + "logoAndProgressFadeInDuration": 0.2, + "logoAndProgressLogoFadeInDelay": 0, + "minDuration": 1.5, + "progressBarColor": 16777215, + "progressBarHeight": 20, + "progressBarMaxWidth": 200, + "progressBarMinWidth": 40, + "progressBarWidthPercent": 30, + "showGDevelopSplash": true, + "showProgressBar": true + }, + "watermark": { + "placement": "bottom-left", + "showWatermark": true + }, + "authorIds": [], + "authorUsernames": [], + "categories": [], + "playableDevices": [ + "mobile", + "mobile" + ], + "extensionProperties": [], + "platforms": [ + { + "name": "GDevelop JS platform" + } + ], + "currentPlatform": "GDevelop JS platform" + }, + "resources": { + "resources": [ + { + "file": "assets/BlueRoundedSquareThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\BlueRoundedSquareThumb.png", + "smoothed": true, + "userAdded": false + }, + { + "file": "assets/BlackRoundedSquareBackground.png", + "kind": "image", + "metadata": "", + "name": "assets\\BlackRoundedSquareBackground.png", + "smoothed": true, + "userAdded": false + }, + { + "file": "assets/GreenRoundedSquareThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\GreenRoundedSquareThumb.png", + "smoothed": true, + "userAdded": false + }, + { + "file": "assets/GreyRoundedSquareThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\GreyRoundedSquareThumb.png", + "smoothed": true, + "userAdded": false + }, + { + "file": "assets/RedRoundedSquareThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\RedRoundedSquareThumb.png", + "smoothed": true, + "userAdded": false + }, + { + "file": "assets/YellowRoundedSquareThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\YellowRoundedSquareThumb.png", + "smoothed": true, + "userAdded": false + }, + { + "file": "assets/WhiteFantasyPixelThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\WhiteFantasyPixelThumb.png", + "smoothed": false, + "userAdded": false + }, + { + "file": "assets/BlackSquarePixelBackground.png", + "kind": "image", + "metadata": "", + "name": "assets\\BlackSquarePixelBackground.png", + "smoothed": false, + "userAdded": false + }, + { + "file": "assets/BlueTinySwordsPixelThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\BlueTinySwordsPixelThumb.png", + "smoothed": false, + "userAdded": false + }, + { + "file": "assets/BlackTinySwordsPixelBackground.png", + "kind": "image", + "metadata": "", + "name": "assets\\BlackTinySwordsPixelBackground.png", + "smoothed": false, + "userAdded": false + }, + { + "file": "assets/RedTinySwordsPixelThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\RedTinySwordsPixelThumb.png", + "smoothed": false, + "userAdded": false + }, + { + "file": "assets/White1BitSquareThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\White1BitSquareThumb.png", + "smoothed": false, + "userAdded": false + }, + { + "file": "assets/SquareWhiteThumb.png", + "kind": "image", + "metadata": "", + "name": "assets\\SquareWhiteThumb.png", + "smoothed": false, + "userAdded": false + }, + { + "file": "assets/SquareWhiteBackground.png", + "kind": "image", + "metadata": "", + "name": "assets\\SquareWhiteBackground.png", + "smoothed": true, + "userAdded": false + } + ] + }, + "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, + "objectsGroups": [], + "variables": [], + "layouts": [ + { + "b": 192, + "disableInputWhenNotFocused": true, + "mangledName": "Untitled_32scene", + "name": "Untitled scene", + "r": 192, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 192, + "uiSettings": { + "grid": true, + "gridType": "rectangular", + "gridWidth": 32, + "gridHeight": 32, + "gridDepth": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, + "snap": true, + "zoomFactor": 0.6672773998330053, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + }, + "objectsGroups": [], + "variables": [], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "GreenRoundedScrollBar", + "persistentUuid": "846b0d59-1308-4616-ad4d-ce1fa84a9a85", + "width": 0, + "x": 32, + "y": 32, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "BlueRoundedScrollBar", + "persistentUuid": "0c0fb9d0-749b-423e-a4b5-c3f712e7814c", + "width": 0, + "x": 96, + "y": 32, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "GreyRoundedScrollBar", + "persistentUuid": "39ad6050-a907-41e0-b4cb-0a12d3a5e650", + "width": 0, + "x": 160, + "y": 32, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "RedRoundedScrollBar", + "persistentUuid": "de67383b-669c-466d-aa5d-c6b5e08bd1b6", + "width": 0, + "x": 224, + "y": 32, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "YellowRoundedScrollBar", + "persistentUuid": "c0f03658-336d-412d-9708-3b3649639466", + "width": 0, + "x": 288, + "y": 32, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "WhiteFantasyPixelScrollBar", + "persistentUuid": "7ff1f6ad-c044-489b-a3a5-73dcfb9b7189", + "width": 0, + "x": 352, + "y": 32, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "BlueTinySwordsPixelScrollBar", + "persistentUuid": "7f72ba0c-78a6-4988-9015-ea7524faf043", + "width": 0, + "x": 416, + "y": 32, + "zOrder": 7, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "keepRatio": true, + "layer": "", + "name": "RedTinySwordsPixelScrollBar", + "persistentUuid": "7483a6ab-7e78-422d-a799-c65be7a48d75", + "width": 0, + "x": 480, + "y": 32, + "zOrder": 8, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 50, + "layer": "", + "name": "White1BitPixelScrollBar", + "persistentUuid": "8143af4e-5417-4892-9fe5-86523ec83c1b", + "width": 2, + "x": 608, + "y": 32, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 64, + "height": 250, + "layer": "", + "name": "SquareWhiteScrollBar", + "persistentUuid": "88155e6d-e1f7-4b7c-8b7f-dbf9b31eb0fa", + "width": 12, + "x": 544, + "y": 32, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "GreenRoundedScrollBar", + "type": "Scrollbar::Scrollbar", + "variant": "Green rounded scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": {} + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "BlueRoundedScrollBar", + "type": "Scrollbar::Scrollbar", + "variant": "Blue rounded scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": {} + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "GreyRoundedScrollBar", + "persistentUuid": "1e56ac78-e8b9-476b-981d-b580d4443505", + "type": "Scrollbar::Scrollbar", + "variant": "Grey rounded scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": {} + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "RedRoundedScrollBar", + "persistentUuid": "503d0a9a-d83c-4674-8721-9d846f102dd0", + "type": "Scrollbar::Scrollbar", + "variant": "Red rounded scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": {} + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "YellowRoundedScrollBar", + "type": "Scrollbar::Scrollbar", + "variant": "Yellow rounded scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": {} + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "WhiteFantasyPixelScrollBar", + "type": "Scrollbar::Scrollbar", + "variant": "White fantasy pixel scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": {} + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "BlueTinySwordsPixelScrollBar", + "type": "Scrollbar::Scrollbar", + "variant": "Blue tinyswords pixel scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": {} + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "RedTinySwordsPixelScrollBar", + "type": "Scrollbar::Scrollbar", + "variant": "Red tinyswords pixel scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": { + "ThumbLengthMin": 40 + } + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "White1BitPixelScrollBar", + "persistentUuid": "d3f213f9-39d0-4f03-bc85-725c637771b3", + "type": "Scrollbar::Scrollbar", + "variant": "White 1bit pixel scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": { + "ThumbLengthMin": 6 + } + }, + { + "assetStoreId": "c4192231e4f1dc23581cdecf42e2890b0c81e8a93ec7b34ff4f63cf992279d29", + "name": "SquareWhiteScrollBar", + "persistentUuid": "42ec19c4-a66f-4d26-be32-0e78c65a8e6c", + "type": "Scrollbar::Scrollbar", + "variant": "Square white scroll bar", + "variables": [], + "effects": [], + "behaviors": [], + "content": { + "ThumbLengthMin": 24 + } + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "GreenRoundedScrollBar" + }, + { + "objectName": "BlueRoundedScrollBar" + }, + { + "objectName": "GreyRoundedScrollBar" + }, + { + "objectName": "RedRoundedScrollBar" + }, + { + "objectName": "YellowRoundedScrollBar" + }, + { + "objectName": "WhiteFantasyPixelScrollBar" + }, + { + "objectName": "BlueTinySwordsPixelScrollBar" + }, + { + "objectName": "RedTinySwordsPixelScrollBar" + }, + { + "objectName": "SquareWhiteScrollBar" + }, + { + "objectName": "White1BitPixelScrollBar" + } + ] + }, + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SceneJustBegins" + }, + "parameters": [ + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "CenterCameraOnObject" + }, + "parameters": [ + "", + "White1BitPixelScrollBar", + "", + "", + "" + ] + }, + { + "type": { + "value": "ZoomCamera" + }, + "parameters": [ + "", + "3", + "", + "" + ] + } + ] + } + ], + "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": [ + { + "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 + } + } + ] + } + ], + "behaviorsSharedData": [ + { + "name": "Effect", + "type": "EffectCapability::EffectBehavior" + }, + { + "name": "Flippable", + "type": "FlippableCapability::FlippableBehavior" + }, + { + "name": "Opacity", + "type": "OpacityCapability::OpacityBehavior" + }, + { + "name": "Resizable", + "type": "ResizableCapability::ResizableBehavior" + } + ] + } + ], + "externalEvents": [], + "eventsFunctionsExtensions": [ + { + "author": "", + "category": "User interface", + "dimension": "", + "extensionNamespace": "", + "fullName": "Scrollbar", + "gdevelopVersion": "", + "helpPath": "", + "iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iSWNvbnMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMzIgMzIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMyIDMyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KCS5zdDB7ZmlsbDpub25lO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTIxLDExSDExVjNjMC0xLjEsMC45LTIsMi0yaDZjMS4xLDAsMiwwLjksMiwyVjExeiIvPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTE5LDMxaC02Yy0xLjEsMC0yLTAuOS0yLTJ2LThoMTB2OEMyMSwzMC4xLDIwLjEsMzEsMTksMzF6Ii8+DQo8cmVjdCB4PSIxMSIgeT0iMTEiIGNsYXNzPSJzdDAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIvPg0KPHBvbHlsaW5lIGNsYXNzPSJzdDAiIHBvaW50cz0iMTQsNyAxNiw1IDE4LDcgIi8+DQo8cG9seWxpbmUgY2xhc3M9InN0MCIgcG9pbnRzPSIxOCwyNSAxNiwyNyAxNCwyNSAiLz4NCjwvc3ZnPg0K", + "name": "Scrollbar", + "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Interface Elements/c1313ac0735bd1c08d7327fd9a56b4d8cebf1b343f9ba82f1b141358433e1cdb_Interface Elements_interface_ui_scroll_bar_scrollbar.svg", + "shortDescription": "A scrollbar to help making a scroll view.", + "version": "1.0.0", + "description": [ + "A scrollbar to help making a scroll view.", + "", + "An example of scroll view can be found in the [multiplayer custom lobbies](https://wiki.gdevelop.io/gdevelop5/extensions/multiplayer-custom-lobbies/) extension." + ], + "origin": { + "identifier": "Scrollbar", + "name": "gdevelop-extension-store" + }, + "tags": [ + "scroll", + "bar" + ], + "authorIds": [ + "IWykYNRvhCZBN3vEgKEbBPOR3Oc2", + "dt0tRnf2kHWJnjkrpnzTzNj9Yc63", + "QjE1CI3drHNR9Wklz2gTC5WbEgh1" + ], + "dependencies": [], + "globalVariables": [], + "sceneVariables": [], + "eventsFunctions": [], + "eventsBasedBehaviors": [], + "eventsBasedObjects": [ + { + "areaMaxX": 10, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "assetStoreTag": "scrollbars", + "defaultName": "", + "description": "A scrollbar to help making a scroll view.", + "fullName": "Scrollbar", + "isInnerAreaFollowingParentSize": true, + "isUsingLegacyInstancesRenderer": false, + "name": "Scrollbar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 4, + "height": 60, + "leftMargin": 4, + "name": "Background", + "rightMargin": 4, + "texture": "", + "tiled": false, + "topMargin": 4, + "type": "PanelSpriteObject::PanelSprite", + "width": 16, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "rightEdgeAnchor": 2, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 4, + "height": 60, + "leftMargin": 4, + "name": "Thumb", + "rightMargin": 4, + "texture": "", + "tiled": false, + "topMargin": 4, + "type": "PanelSpriteObject::PanelSprite", + "width": 16, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 0, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "editionSettings": [], + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "Scrollbar::Scrollbar::SetScrollPosition" + }, + "parameters": [ + "Object", + "=", + "0", + "" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "Scrollbar::Scrollbar::IsScrollingRequired" + }, + "parameters": [ + "Object", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ActivateBehavior" + }, + "parameters": [ + "Thumb", + "Draggable", + "no" + ] + }, + { + "type": { + "value": "Scrollbar::Scrollbar::SetScrollPosition" + }, + "parameters": [ + "Object", + "=", + "0", + "" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BooleanVariable" + }, + "parameters": [ + "ShouldHideWhenUseless", + "True", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "Cache" + }, + "parameters": [ + "Background" + ] + }, + { + "type": { + "value": "Cache" + }, + "parameters": [ + "Thumb" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "Scrollbar::Scrollbar::IsScrollingRequired" + }, + "parameters": [ + "Object", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ActivateBehavior" + }, + "parameters": [ + "Thumb", + "Draggable", + "yes" + ] + }, + { + "type": { + "value": "Montre" + }, + "parameters": [ + "Background", + "" + ] + }, + { + "type": { + "value": "Montre" + }, + "parameters": [ + "Thumb", + "" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + }, + { + "type": { + "inverted": true, + "value": "DraggableBehavior::Dragged" + }, + "parameters": [ + "Thumb", + "Draggable" + ] + }, + { + "type": { + "value": "MouseButtonFromTextReleased" + }, + "parameters": [ + "", + "\"Left\"" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "Thumb.Y()", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "Scrollbar::Scrollbar::SetScrollPosition" + }, + "parameters": [ + "Object", + "-", + "ContentLength", + "" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "Thumb.Y() + Thumb.Height()", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "Scrollbar::Scrollbar::SetScrollPosition" + }, + "parameters": [ + "Object", + "+", + "ContentLength", + "" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "Scrollbar::Scrollbar::IsThumbDragged" + }, + "parameters": [ + "Object", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "Scrollbar::Scrollbar::SetScrollPosition" + }, + "parameters": [ + "Object", + "=", + "(Thumb.Y() - Background.Y()) * ContentLength / Background.Height()", + "" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Make sure the ScrollPosition don't go over the limit when the limit when the parent is resized." + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "Scrollbar::Scrollbar::SetScrollPosition" + }, + "parameters": [ + "Object", + "=", + "ScrollPosition", + "" + ] + }, + { + "type": { + "value": "Scrollbar::Scrollbar::UpdateThumbPosition" + }, + "parameters": [ + "Object", + "" + ] + } + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "Scrollbar::Scrollbar", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Update the thumb position.", + "fullName": "Update thumb position", + "functionType": "Action", + "name": "UpdateThumbPosition", + "private": true, + "sentence": "Update thumb position of _PARAM0_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "MettreX" + }, + "parameters": [ + "Thumb", + "=", + "Background.X()" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetHeight" + }, + "parameters": [ + "Thumb", + "Resizable", + "=", + "max(ThumbLengthMin, Background.Height() * Background.Height() / ContentLength)" + ] + }, + { + "type": { + "value": "MettreY" + }, + "parameters": [ + "Thumb", + "=", + "clamp(Background.Y(), Background.Y() + Background.Height(), Background.Y() + ScrollPosition * Background.Height() / ContentLength)" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "Scrollbar::Scrollbar", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the scroll position.", + "fullName": "Scroll position", + "functionType": "ExpressionAndCondition", + "name": "ScrollPosition", + "sentence": "the scroll position", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "ScrollPosition" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "Scrollbar::Scrollbar", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "ScrollPosition", + "name": "SetScrollPosition", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetNumberVariable" + }, + "parameters": [ + "ScrollPosition", + "=", + "clamp(Value, 0, max(0, ContentLength - Background.Height()))" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "Scrollbar::Scrollbar", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the content length of the object. The length of the content to scroll. The scroll bar don't actually scroll the content. You have to do it yourself with camera actions.", + "fullName": "Content length", + "functionType": "ExpressionAndCondition", + "name": "ContentLength", + "sentence": "the content length", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "ContentLength" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "Scrollbar::Scrollbar", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "ContentLength", + "name": "SetContentLength", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetNumberVariable" + }, + "parameters": [ + "ContentLength", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "Scrollbar::Scrollbar", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if the thumb of the scrollbar is dragged.", + "fullName": "Thumb is dragged", + "functionType": "Condition", + "name": "IsThumbDragged", + "sentence": "The thumb of _PARAM0_ is dragged", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "DraggableBehavior::Dragged" + }, + "parameters": [ + "Thumb", + "Draggable" + ] + }, + { + "type": { + "value": "DraggableBehavior::Dropped" + }, + "parameters": [ + "Thumb", + "Draggable" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "Scrollbar::Scrollbar", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if the content is big enough to require scrolling.", + "fullName": "Scrolling is required", + "functionType": "Condition", + "name": "IsScrollingRequired", + "sentence": "The content of _PARAM0_ is big enough to require scrolling", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Height" + }, + "parameters": [ + "Background", + "Resizable", + "<", + "ContentLength" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "Scrollbar::Scrollbar", + "type": "object" + } + ], + "objectGroups": [] + } + ], + "propertyDescriptors": [ + { + "value": "0", + "type": "Number", + "unit": "Pixel", + "label": "Scroll position", + "hidden": true, + "name": "ScrollPosition" + }, + { + "value": "2000", + "type": "Number", + "unit": "Pixel", + "label": "Content length", + "description": "The length of the content to scroll. The scroll bar don't actually scroll the content. You have to do it yourself with camera actions.", + "hidden": true, + "name": "ContentLength" + }, + { + "value": "40", + "type": "Number", + "unit": "Pixel", + "label": "Min thumb length", + "name": "ThumbLengthMin" + }, + { + "value": "true", + "type": "Boolean", + "label": "Hide the bar when the content is too small", + "name": "ShouldHideWhenUseless" + } + ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "ScrollPosition" + }, + { + "propertyName": "ContentLength" + }, + { + "propertyName": "ThumbLengthMin" + }, + { + "propertyName": "ShouldHideWhenUseless" + } + ] + }, + "variants": [ + { + "areaMaxX": 12, + "areaMaxY": 250, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "Square white scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 0, + "height": 2, + "leftMargin": 0, + "name": "Background", + "rightMargin": 0, + "texture": "assets\\SquareWhiteBackground.png", + "tiled": false, + "topMargin": 0, + "type": "PanelSpriteObject::PanelSprite", + "width": 2, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 4, + "height": 12, + "leftMargin": 0, + "name": "Thumb", + "rightMargin": 0, + "texture": "assets\\SquareWhiteThumb.png", + "tiled": false, + "topMargin": 0, + "type": "PanelSpriteObject::PanelSprite", + "width": 12, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 250, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 12, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 0, + "height": 24, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 12, + "x": 0, + "y": 0, + "zOrder": 2, + "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.8253766734567465, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 2, + "areaMaxY": 50, + "areaMaxZ": 1, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "White 1bit pixel scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 0, + "height": 40, + "leftMargin": 0, + "name": "Background", + "rightMargin": 0, + "texture": "assets\\BlackSquarePixelBackground.png", + "tiled": false, + "topMargin": 0, + "type": "PanelSpriteObject::PanelSprite", + "width": 2, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 0, + "height": 6, + "leftMargin": 0, + "name": "Thumb", + "rightMargin": 0, + "texture": "assets\\White1BitSquareThumb.png", + "tiled": false, + "topMargin": 0, + "type": "PanelSpriteObject::PanelSprite", + "width": 2, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 50, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 2, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 6, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 2, + "x": 0, + "y": 0, + "zOrder": 2, + "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": 7.5977320393460035, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 30, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "Red tinyswords pixel scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 40, + "leftMargin": 6, + "name": "Background", + "rightMargin": 6, + "texture": "assets\\BlackTinySwordsPixelBackground.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 30, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 22, + "height": 60, + "leftMargin": 14, + "name": "Thumb", + "rightMargin": 14, + "texture": "assets\\RedTinySwordsPixelThumb.png", + "tiled": false, + "topMargin": 14, + "type": "PanelSpriteObject::PanelSprite", + "width": 30, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 30, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "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.880005181852754, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 30, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "Blue tinyswords pixel scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 40, + "leftMargin": 6, + "name": "Background", + "rightMargin": 6, + "texture": "assets\\BlackTinySwordsPixelBackground.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 30, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 22, + "height": 60, + "leftMargin": 14, + "name": "Thumb", + "rightMargin": 14, + "texture": "assets\\BlueTinySwordsPixelThumb.png", + "tiled": false, + "topMargin": 14, + "type": "PanelSpriteObject::PanelSprite", + "width": 30, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 30, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "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.5464547199971532, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 24, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "White fantasy pixel scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 0, + "height": 60, + "leftMargin": 0, + "name": "Background", + "rightMargin": 0, + "texture": "assets\\BlackSquarePixelBackground.png", + "tiled": false, + "topMargin": 0, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 7, + "height": 60, + "leftMargin": 7, + "name": "Thumb", + "rightMargin": 7, + "texture": "assets\\WhiteFantasyPixelThumb.png", + "tiled": false, + "topMargin": 7, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 24, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "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.4602543855909693, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 24, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "Yellow rounded scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Background", + "rightMargin": 6, + "texture": "assets\\BlackRoundedSquareBackground.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Thumb", + "rightMargin": 6, + "texture": "assets\\YellowRoundedSquareThumb.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 24, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "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.1860766270755787, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 24, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "Red rounded scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Background", + "rightMargin": 6, + "texture": "assets\\BlackRoundedSquareBackground.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Thumb", + "rightMargin": 6, + "texture": "assets\\RedRoundedSquareThumb.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 24, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "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.1860766270755787, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 24, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "Grey rounded scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Background", + "rightMargin": 6, + "texture": "assets\\BlackRoundedSquareBackground.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Thumb", + "rightMargin": 6, + "texture": "assets\\GreyRoundedSquareThumb.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 24, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "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.1860766270755787, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 24, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "Green rounded scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Background", + "rightMargin": 6, + "texture": "assets\\BlackRoundedSquareBackground.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Thumb", + "rightMargin": 6, + "texture": "assets\\GreenRoundedSquareThumb.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 24, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "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.1860766270755787, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + }, + { + "areaMaxX": 24, + "areaMaxY": 500, + "areaMaxZ": 64, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "name": "Blue rounded scroll bar", + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Background", + "rightMargin": 6, + "texture": "assets\\BlackRoundedSquareBackground.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "bottomEdgeAnchor": 2, + "topEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 6, + "height": 60, + "leftMargin": 6, + "name": "Thumb", + "rightMargin": 6, + "texture": "assets\\BlueRoundedSquareThumb.png", + "tiled": false, + "topMargin": 6, + "type": "PanelSpriteObject::PanelSprite", + "width": 24, + "variables": [ + { + "name": "StartScrollY", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 0, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + }, + { + "name": "Draggable", + "type": "DraggableBehavior::Draggable", + "checkCollisionMask": true + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "Thumb" + } + ] + }, + "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": 0, + "height": 500, + "layer": "", + "name": "Background", + "persistentUuid": "0fda928c-9157-49d3-9264-081632e9dcf9", + "width": 24, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 60, + "layer": "", + "name": "Thumb", + "persistentUuid": "f8ff1fce-21b4-4ec1-8716-dc38dd6a7c6f", + "width": 10, + "x": 0, + "y": 0, + "zOrder": 2, + "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.1860766270755787, + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" + } + } + ] + } + ] + } + ], + "externalLayouts": [] +} \ No newline at end of file