-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.json.autosave
1 lines (1 loc) · 100 KB
/
game.json.autosave
1
{"firstLayout":"Loading","gdVersion":{"build":99,"major":4,"minor":0,"revision":0},"properties":{"adaptGameResolutionAtRuntime":true,"folderProject":false,"orientation":"portrait","packageName":"com.example.gamename","pixelsRounding":false,"projectUuid":"9168c35b-4f1c-4854-a855-b962799be7cc","scaleMode":"linear","sizeOnStartupMode":"adaptWidth","templateSlug":"","useExternalSourceFiles":false,"version":"1.0.0","name":"Common UI Flow","description":"","author":"","windowWidth":720,"windowHeight":1280,"latestCompilationDirectory":"","maxFPS":60,"minFPS":20,"verticalSync":false,"platformSpecificAssets":{},"loadingScreen":{"backgroundColor":0,"backgroundFadeInDuration":0.2,"backgroundImageResourceName":"","gdevelopLogoStyle":"light","logoAndProgressFadeInDuration":0.2,"logoAndProgressLogoFadeInDelay":0.2,"minDuration":1.5,"progressBarColor":16777215,"progressBarHeight":20.0,"progressBarMaxWidth":200.0,"progressBarMinWidth":40.0,"progressBarWidthPercent":30.0,"showGDevelopSplash":true,"showProgressBar":true},"watermark":{"placement":"bottom-left","showWatermark":true},"authorIds":[],"authorUsernames":[],"categories":[],"playableDevices":[],"extensionProperties":[],"platforms":[{"name":"GDevelop JS platform"}],"currentPlatform":"GDevelop JS platform"},"resources":{"resources":[{"alwaysLoaded":false,"file":"assets/Grey Button_Hovered.png","kind":"image","metadata":"","name":"Grey Button_Hovered.png","smoothed":true,"userAdded":false,"origin":{"identifier":"https://asset-resources.gdevelop.io/public-resources/Menu buttons/b43e0035dca80ea2fad5c5d65de926dae0185038e5f9cb21d5f20234f30d1c76_Grey Button_Hovered.png","name":"Grey Button_Hovered.png"}},{"alwaysLoaded":false,"file":"assets/Grey Button_Idle.png","kind":"image","metadata":"","name":"Grey Button_Idle.png","smoothed":true,"userAdded":false,"origin":{"identifier":"https://asset-resources.gdevelop.io/public-resources/Menu buttons/da7fc2efa0882eb5dfa0266315f2483c2f68d86a6751dc309ea9e9d0dd4759ba_Grey Button_Idle.png","name":"Grey Button_Idle.png"}},{"alwaysLoaded":false,"file":"assets/Grey Button_Pressed.png","kind":"image","metadata":"","name":"Grey Button_Pressed.png","smoothed":true,"userAdded":false,"origin":{"identifier":"https://asset-resources.gdevelop.io/public-resources/Menu buttons/49c35e14af0e1f7aae407455cb944de96328955870e5f1500f63723ad879a42e_Grey Button_Pressed.png","name":"Grey Button_Pressed.png"}}],"resourceFolders":[]},"objects":[],"objectsGroups":[],"variables":[],"layouts":[{"b":209,"disableInputWhenNotFocused":true,"mangledName":"Loading","name":"Loading","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.41943397827590686,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"SkipLoading","persistentUuid":"aa25f948-aac0-4742-b355-a9d8cf4c88db","width":0.0,"x":234.0,"y":596.0,"zOrder":2,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"194b5e14-5227-4c32-be70-7d4f4bcb4850","width":0.0,"x":286.0,"y":268.0,"zOrder":3,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"SkipLoading","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Skip Loading","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Loading","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Btn Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreXY"},"parameters":["SkipLoading","=","(SceneWindowWidth()/2)-(SkipLoading.Width()/2)","=","(SceneWindowHeight()/2)-(SkipLoading.Height()/2)"]},{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["SkipLoading",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"MainMenu\"",""]}]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"Leaderboard","name":"Leaderboard","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.2550455473354342,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"c1732981-ed7a-44a2-a621-2cb21cea2548","width":0.0,"x":262.0,"y":591.0,"zOrder":1,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":true,"height":106.0,"layer":"","name":"ToMainMenu","persistentUuid":"6e8731f0-ef9d-4eba-875f-7e402a81bb8e","width":119.0,"x":22.0,"y":19.0,"zOrder":2,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"ToMainMenu","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"topEdgeAnchor":1.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Main","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Leaderboard","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["ToMainMenu",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"MainMenu\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"More","name":"More","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.2550455473354342,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"97320948-ba1a-46ab-9888-add221ec3257","width":0.0,"x":321.0,"y":576.0,"zOrder":3,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":true,"height":106.0,"layer":"","name":"ToMainMenu","persistentUuid":"b9de7dfc-f846-477c-9832-a9c5c9236b0d","width":115.0,"x":38.0,"y":34.0,"zOrder":4,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"More","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"ToMainMenu","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"topEdgeAnchor":1.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Main","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["ToMainMenu",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"MainMenu\"",""]}]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"HowToPlay","name":"HowToPlay","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.30104611971824615,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"a1701a9b-5d7c-4a51-8ea6-b9e04f03553e","width":0.0,"x":269.0,"y":600.0,"zOrder":1,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":true,"height":106.0,"layer":"","name":"ToMainMenu","persistentUuid":"1a3bc86f-dd2e-46b8-9594-d3c4e74d01c5","width":119.0,"x":29.0,"y":28.0,"zOrder":2,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"ToMainMenu","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"topEdgeAnchor":1.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Main","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"How To Play","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["ToMainMenu",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"MainMenu\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"Reset","name":"Reset","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.2550455473354342,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"8156d46e-59f9-447d-bbb6-d429c9293334","width":0.0,"x":267.0,"y":596.0,"zOrder":1,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":true,"height":106.0,"layer":"","name":"ToMainMenu","persistentUuid":"44e3e31a-48ee-4e7a-8ad1-ca5a3a33b58b","width":119.0,"x":27.0,"y":24.0,"zOrder":2,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"ToMainMenu","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"topEdgeAnchor":1.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Main","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Reset Game","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["ToMainMenu",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"MainMenu\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"Pause","name":"Pause","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.47893418845352528,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Continue","persistentUuid":"aa25f948-aac0-4742-b355-a9d8cf4c88db","width":0.0,"x":221.0,"y":433.0,"zOrder":2,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"e90a31f7-4a6f-430e-9137-bfaa3179a857","width":0.0,"x":298.0,"y":272.0,"zOrder":3,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Restart","persistentUuid":"22ea2acd-2809-4871-96a4-7018885a391a","width":0.0,"x":214.0,"y":583.0,"zOrder":4,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Continue","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Continue","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Restart","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Restart","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Pause","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Continue","=","(SceneWindowWidth()/2)-(Continue.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Restart","=","(SceneWindowWidth()/2)-(Restart.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Continue",""]}],"actions":[{"type":{"value":"PopScene"},"parameters":[""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Restart",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"LevelSelect\"",""]}]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"Fail","name":"Fail","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.2550455473354342,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Restart","persistentUuid":"54d0465e-4172-4a46-9560-e911c551a385","width":0.0,"x":210.0,"y":469.0,"zOrder":3,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"MainMenu","persistentUuid":"9c1c7072-a168-427a-9eb1-a38f04b12c29","width":0.0,"x":214.0,"y":630.0,"zOrder":4,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"72329446-100b-41a3-becf-932e9f44a014","width":0.0,"x":227.0,"y":273.0,"zOrder":5,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Restart","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Restart","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"MainMenu","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Main Menu","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Mission Failed","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Restart","=","(SceneWindowWidth()/2)-(Restart.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["MainMenu","=","(SceneWindowWidth()/2)-(MainMenu.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Restart",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"LevelSelect\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["MainMenu",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"MainMenu\"",""]}]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"Pass","name":"Pass","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.2550455473354342,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"NextLevel","persistentUuid":"f9abadec-42c2-4424-be59-fd2007c1f423","width":0.0,"x":246.0,"y":426.0,"zOrder":3,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"MainMenu","persistentUuid":"ae176d28-86aa-4f85-81fa-c6493f69f61d","width":0.0,"x":254.0,"y":591.0,"zOrder":4,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"dd0d4f49-90ca-4fa2-bb32-0375cd27368a","width":0.0,"x":250.0,"y":254.0,"zOrder":5,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"NextLevel","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Next Level","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"MainMenu","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Main Menu","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Mission Pass","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["NextLevel","=","(SceneWindowWidth()/2)-(NextLevel.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["MainMenu","=","(SceneWindowWidth()/2)-(MainMenu.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["NextLevel",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"LevelSelect\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["MainMenu",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"MainMenu\"",""]}]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"Game","name":"Game","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.34375202416123187,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Pause","persistentUuid":"aa25f948-aac0-4742-b355-a9d8cf4c88db","width":0.0,"x":225.0,"y":601.0,"zOrder":2,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"f72f3f30-da15-4b78-af95-8d94d69fbade","width":0.0,"x":267.0,"y":368.0,"zOrder":3,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Pass","persistentUuid":"b7206954-c0f1-4435-8a1f-399a683c4b65","width":0.0,"x":51.0,"y":1124.0,"zOrder":4,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Fail","persistentUuid":"989f682e-d2c5-4690-a365-222ada745b82","width":0.0,"x":412.0,"y":1124.0,"zOrder":5,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Pause","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Pause","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Pass","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":2.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Pass","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Fail","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","leftEdgeAnchor":0.0,"rightEdgeAnchor":2.0,"bottomEdgeAnchor":2.0,"relativeToOriginalWindowSize":true,"topEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Fail","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Gameplay","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreXY"},"parameters":["Pause","=","(SceneWindowWidth()/2)-(Pause.Width()/2)","=","(SceneWindowHeight()/2)-(Pause.Height()/2)"]},{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Pause",""]}],"actions":[{"type":{"value":"PushScene"},"parameters":["","\"Pause\""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Pass",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"Pass\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Fail",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"Fail\"",""]}]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"LevelSelect","name":"LevelSelect","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":32.0,"gridHeight":32.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.3216911764705891,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Play","persistentUuid":"d3d230e8-8269-4788-bb96-a52cde228500","width":0.0,"x":241.0,"y":984.0,"zOrder":1,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Level1","persistentUuid":"f881fb6f-d22e-41b2-9d0c-f32156fc8b81","width":0.0,"x":229.0,"y":312.0,"zOrder":2,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Level2","persistentUuid":"30223332-49e0-413f-af12-69e7d21a2fe1","width":0.0,"x":232.0,"y":469.0,"zOrder":3,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Level3","persistentUuid":"76e5d269-af00-4e35-811d-e81bd4bc042e","width":0.0,"x":234.0,"y":624.0,"zOrder":4,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"449618a9-f914-446b-8190-9023cf99b9a8","width":0.0,"x":263.0,"y":174.0,"zOrder":5,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":true,"height":106.0,"layer":"","name":"ToMainMenu","persistentUuid":"56606c85-94aa-4f4e-8fd4-dafc44fbe6ed","width":110.0,"x":33.0,"y":34.0,"zOrder":6,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Play","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":2.0,"topEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Play","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Level1","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"topEdgeAnchor":1.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Level1","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Level2","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"topEdgeAnchor":1.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Level2","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Level3","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"topEdgeAnchor":1.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Level3","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"ToMainMenu","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"topEdgeAnchor":1.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Main","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Level Select","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Play","=","(SceneWindowWidth()/2)-(Play.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Level1","=","(SceneWindowWidth()/2)-(Level1.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Level2","=","(SceneWindowWidth()/2)-(Level2.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Level3","=","(SceneWindowWidth()/2)-(Level3.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Play",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"Game\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["ToMainMenu",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"MainMenu\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]},{"b":209,"disableInputWhenNotFocused":true,"mangledName":"MainMenu","name":"MainMenu","r":209,"standardSortMethod":true,"stopSoundsOnStartup":true,"title":"","v":209,"uiSettings":{"grid":false,"gridType":"rectangular","gridWidth":72.0,"gridHeight":72.0,"gridOffsetX":0.0,"gridOffsetY":0.0,"gridColor":10401023.0,"gridAlpha":0.8,"snap":false,"zoomFactor":0.2817259932079567,"windowMask":false},"objectsGroups":[],"variables":[],"instances":[{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Play","persistentUuid":"aa25f948-aac0-4742-b355-a9d8cf4c88db","width":0.0,"x":247.0,"y":288.0,"zOrder":2,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"ResetGame","persistentUuid":"18b91575-702e-4b4c-9b15-6cfa1e65e5e0","width":0.0,"x":247.0,"y":720.0,"zOrder":3,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"HowToPlay","persistentUuid":"40abd62e-578b-44ee-97e8-43055a671d44","width":0.0,"x":247.0,"y":432.0,"zOrder":4,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"More","persistentUuid":"427bd8a7-11fb-4060-a28c-022f87348233","width":0.0,"x":248.0,"y":864.0,"zOrder":5,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Leaderboard","persistentUuid":"36d753b2-1bfc-47e2-8774-03e743359f80","width":0.0,"x":244.0,"y":576.0,"zOrder":6,"numberProperties":[],"stringProperties":[],"initialVariables":[]},{"angle":0.0,"customSize":false,"height":0.0,"layer":"","name":"Text","persistentUuid":"0b9a902d-e597-4bf1-8f15-6da245d2da68","width":0.0,"x":295.0,"y":120.0,"zOrder":7,"numberProperties":[],"stringProperties":[],"initialVariables":[]}],"objects":[{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Play","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":0.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Play","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"More","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":0.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"More","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"Leaderboard","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":0.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Leaderboard","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"HowToPlay","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":0.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"How To Play","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"bfab3a269992cf43081e2cb8053c28aaef11f2f9e0d0cbdc00207ea271f69c2c","name":"ResetGame","tags":"","type":"PanelSpriteButton::PanelSpriteButton","variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":0.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"content":{"LeftPadding":16.0,"RightPadding":16.0,"PressedLabelOffsetY":10.0,"BottomPadding":32.0,"TopPadding":16.0,"HoveredFadeOutDuration":0.25},"childrenContent":{"Hovered":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Hovered.png","tiled":true,"topMargin":16.0,"width":256.0},"Idle":{"bottomMargin":32.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Idle.png","tiled":true,"topMargin":16.0,"width":256.0},"Label":{"bold":false,"italic":false,"smoothed":true,"underlined":false,"string":"Reset Game","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":79,"g":72,"r":72}},"Pressed":{"bottomMargin":16.0,"height":106.0,"leftMargin":16.0,"rightMargin":16.0,"texture":"Grey Button_Pressed.png","tiled":true,"topMargin":32.0,"width":256.0}}},{"assetStoreId":"","bold":true,"italic":false,"name":"Text","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior","bottomEdgeAnchor":0.0,"leftEdgeAnchor":1.0,"relativeToOriginalWindowSize":true,"rightEdgeAnchor":0.0,"topEdgeAnchor":1.0,"useLegacyBottomAndRightAnchors":false}],"string":"Main Menu","font":"","textAlignment":"center","characterSize":32.0,"color":{"b":0,"g":0,"r":0}}],"events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Btn Positions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreX"},"parameters":["Play","=","(SceneWindowWidth()/2)-(Play.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["HowToPlay","=","(SceneWindowWidth()/2)-(HowToPlay.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Leaderboard","=","(SceneWindowWidth()/2)-(Leaderboard.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["ResetGame","=","(SceneWindowWidth()/2)-(ResetGame.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["More","=","(SceneWindowWidth()/2)-(More.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Play","=","(SceneWindowWidth()/2)-(Play.Width()/2)"]},{"type":{"value":"MettreX"},"parameters":["Text","=","(SceneWindowWidth()/2)-(Text.Width()/2)"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Click actions","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Play",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"LevelSelect\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["HowToPlay",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"HowToPlay\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["Leaderboard",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"Leaderboard\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["ResetGame",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"Reset\"",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsClicked"},"parameters":["More",""]}],"actions":[{"type":{"value":"Scene"},"parameters":["","\"More\"",""]}]}],"layers":[{"ambientLightColorB":0,"ambientLightColorG":8067128,"ambientLightColorR":16,"followBaseLayerCamera":false,"isLightingLayer":false,"name":"","visibility":true,"cameras":[{"defaultSize":true,"defaultViewport":true,"height":0.0,"viewportBottom":1.0,"viewportLeft":0.0,"viewportRight":1.0,"viewportTop":0.0,"width":0.0}],"effects":[]}],"behaviorsSharedData":[{"name":"Anchor","type":"AnchorBehavior::AnchorBehavior"}]}],"externalEvents":[],"eventsFunctionsExtensions":[{"author":"","category":"User interface","extensionNamespace":"","fullName":"Panel sprite button","helpPath":"/objects/button","iconUrl":"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iSWNvbnMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMzIgMzIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMyIDMyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KCS5zdDB7ZmlsbDpub25lO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTI5LDIzSDNjLTEuMSwwLTItMC45LTItMlYxMWMwLTEuMSwwLjktMiwyLTJoMjZjMS4xLDAsMiwwLjksMiwydjEwQzMxLDIyLjEsMzAuMSwyMywyOSwyM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMywxOUwxMywxOWMtMS4xLDAtMi0wLjktMi0ydi0yYzAtMS4xLDAuOS0yLDItMmgwYzEuMSwwLDIsMC45LDIsMnYyQzE1LDE4LjEsMTQuMSwxOSwxMywxOXoiLz4NCjxsaW5lIGNsYXNzPSJzdDAiIHgxPSIxOCIgeTE9IjEzIiB4Mj0iMTgiIHkyPSIxOSIvPg0KPGxpbmUgY2xhc3M9InN0MCIgeDE9IjIxIiB5MT0iMTMiIHgyPSIxOCIgeTI9IjE3Ii8+DQo8bGluZSBjbGFzcz0ic3QwIiB4MT0iMjEiIHkxPSIxOSIgeDI9IjE5IiB5Mj0iMTYiLz4NCjwvc3ZnPg0K","name":"PanelSpriteButton","previewIconUrl":"https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Interface Elements/Interface Elements_interface_ui_button_ok_cta_clock_tap.svg","shortDescription":"A button that can be customized.","version":"1.4.4","description":["The button can be customized with a background for each state and a label. It handles user interactions and a simple condition can be used to check if it is clicked.","","There are ready-to-use buttons in the asset-store [menu buttons pack](https://editor.gdevelop.io/?initial-dialog=asset-store&asset-pack=menu-buttons-menu-buttons)."],"origin":{"identifier":"PanelSpriteButton","name":"gdevelop-extension-store"},"tags":["button","ui"],"authorIds":["IWykYNRvhCZBN3vEgKEbBPOR3Oc2"],"dependencies":[],"eventsFunctions":[],"eventsBasedBehaviors":[{"description":"The finite state machine used internally by the button object.","fullName":"Button finite state machine","name":"ButtonFSM","objectType":"","private":true,"eventsFunctions":[{"fullName":"","functionType":"Action","name":"doStepPostEvents","sentence":"","events":[{"colorB":228,"colorG":176,"colorR":74,"creationTime":0,"name":"Finite state machine","source":"","type":"BuiltinCommonInstructions::Group","events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"The \"Validated\" state only last one frame.","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Validated\""]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"Idle\""]}]},{"colorB":228,"colorG":176,"colorR":74,"creationTime":0,"name":"Check position","source":"","type":"BuiltinCommonInstructions::Group","events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Make sure the cursor position is only checked once per frame.","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyMouseIsInside"},"parameters":["Object","Behavior","no"]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyShouldCheckHovering"},"parameters":["Object","Behavior"]},{"type":{"value":"CollisionPoint"},"parameters":["Object","MouseOnlyCursorX(Object.Layer(), 0)","MouseOnlyCursorY(Object.Layer(), 0)"]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyMouseIsInside"},"parameters":["Object","Behavior","yes"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Touches are always pressed, so ShouldCheckHovering doesn't matter.","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyTouchIsInside"},"parameters":["Object","Behavior","no"]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyTouchId"},"parameters":["Object","Behavior","!=","0"]},{"type":{"value":"CollisionPoint"},"parameters":["Object","TouchX(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)","TouchY(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)"]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyTouchIsInside"},"parameters":["Object","Behavior","yes"]}]}],"parameters":[]},{"colorB":228,"colorG":176,"colorR":74,"creationTime":0,"name":"Handle touch start","source":"","type":"BuiltinCommonInstructions::Group","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"HasAnyTouchOrMouseStarted"},"parameters":[""]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyIndex"},"parameters":["Object","Behavior","=","0"]}],"events":[{"type":"BuiltinCommonInstructions::Repeat","repeatExpression":"StartedTouchOrMouseCount()","conditions":[],"actions":[],"events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"CollisionPoint"},"parameters":["Object","TouchX(StartedTouchOrMouseId(Object.Behavior::PropertyIndex()), Object.Layer(), 0)","TouchY(StartedTouchOrMouseId(Object.Behavior::PropertyIndex()), Object.Layer(), 0)"]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyTouchId"},"parameters":["Object","Behavior","=","StartedTouchOrMouseId(Object.Behavior::PropertyIndex())"]},{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyTouchIsInside"},"parameters":["Object","Behavior","yes"]}],"events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"BuiltinCommonInstructions::Or"},"parameters":[],"subInstructions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Hovered\""]},{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Idle\""]}]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"PressedInside\""]}]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyIndex"},"parameters":["Object","Behavior","+","1"]}]}]}]}],"parameters":[]},{"colorB":228,"colorG":176,"colorR":74,"creationTime":0,"name":"Apply position changes","source":"","type":"BuiltinCommonInstructions::Group","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"inverted":true,"value":"PanelSpriteButton::ButtonFSM::PropertyMouseIsInside"},"parameters":["Object","Behavior"]},{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Hovered\""]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"Idle\""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyMouseIsInside"},"parameters":["Object","Behavior"]},{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Idle\""]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"Hovered\""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"inverted":true,"value":"PanelSpriteButton::ButtonFSM::PropertyTouchIsInside"},"parameters":["Object","Behavior"]},{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"PressedInside\""]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"PressedOutside\""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyTouchIsInside"},"parameters":["Object","Behavior"]},{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"PressedOutside\""]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"PressedInside\""]}]}],"parameters":[]},{"colorB":228,"colorG":176,"colorR":74,"creationTime":0,"name":"Handle touch end","source":"","type":"BuiltinCommonInstructions::Group","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"HasTouchEnded"},"parameters":["","Object.Behavior::PropertyTouchId()"]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyTouchId"},"parameters":["Object","Behavior","=","0"]}],"events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"PressedInside\""]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"Validated\""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"inverted":true,"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"PressedInside\""]},{"type":{"inverted":true,"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Validated\""]}],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"Idle\""]}]}]}],"parameters":[]}],"parameters":[]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"fullName":"","functionType":"Action","name":"onDeActivate","sentence":"","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::ResetState"},"parameters":["Object","Behavior",""]}]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"description":"Reset the state of the button.","fullName":"Reset state","functionType":"Action","name":"ResetState","private":true,"sentence":"Reset the button state of _PARAM0_","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyState"},"parameters":["Object","Behavior","=","\"Idle\""]},{"type":{"value":"PanelSpriteButton::ButtonFSM::SetPropertyTouchId"},"parameters":["Object","Behavior","=","0"]}]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"description":"Check if the button is not used.","fullName":"Is idle","functionType":"Condition","name":"IsIdle","sentence":"_PARAM0_ is idle","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Idle\""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"description":"Check if the button was just clicked.","fullName":"Is clicked","functionType":"Condition","name":"IsClicked","sentence":"_PARAM0_ is clicked","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Validated\""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"description":"Check if the cursor is hovered over the button.","fullName":"Is hovered","functionType":"Condition","name":"IsHovered","sentence":"_PARAM0_ is hovered","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Hovered\""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"description":"Check if the button is either hovered or pressed but not hovered.","fullName":"Is focused","functionType":"Condition","name":"IsFocused","sentence":"_PARAM0_ is focused","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"Hovered\""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"PressedOutside\""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"description":"Check if the button is currently being pressed with mouse or touch.","fullName":"Is pressed","functionType":"Condition","name":"IsPressed","sentence":"_PARAM0_ is pressed","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"PressedInside\""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"description":"Check if the button is currently being pressed outside with mouse or touch.","fullName":"Is held outside","functionType":"Condition","name":"IsPressedOutside","sentence":"_PARAM0_ is held outside","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::PropertyState"},"parameters":["Object","Behavior","=","\"PressedOutside\""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]},{"description":"the touch id that is using the button or 0 if none.","fullName":"Touch id","functionType":"ExpressionAndCondition","name":"TouchId","sentence":"the touch id","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"SetReturnNumber"},"parameters":["Object.Behavior::PropertyTouchId()"]}]}],"expressionType":{"type":"expression"},"parameters":[{"description":"Object","name":"Object","type":"object"},{"description":"Behavior","name":"Behavior","supplementaryInformation":"PanelSpriteButton::ButtonFSM","type":"behavior"}],"objectGroups":[]}],"propertyDescriptors":[{"value":"true","type":"Boolean","label":"","description":"Should check hovering","group":"","extraInformation":[],"hidden":true,"name":"ShouldCheckHovering"},{"value":"Idle","type":"Choice","label":"State","description":"","group":"","extraInformation":["Idle","Hovered","PressedInside","PressedOutside","Validated"],"hidden":true,"name":"State"},{"value":"0","type":"Number","label":"Touch id","description":"","group":"","extraInformation":[],"hidden":true,"name":"TouchId"},{"value":"","type":"Boolean","label":"Touch is inside","description":"","group":"","extraInformation":[],"hidden":true,"name":"TouchIsInside"},{"value":"","type":"Boolean","label":"Mouse is inside","description":"","group":"","extraInformation":[],"hidden":true,"name":"MouseIsInside"},{"value":"","type":"Number","label":"","description":"","group":"","extraInformation":[],"hidden":true,"name":"Index"}],"sharedPropertyDescriptors":[]}],"eventsBasedObjects":[{"defaultName":"Button","description":"A button that can be customized.","fullName":"Button (panel sprite)","name":"PanelSpriteButton","eventsFunctions":[{"fullName":"","functionType":"Action","name":"onCreated","sentence":"","events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Create one background instance for of each state.\nOnly the instance for the current state is shown.","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"Create"},"parameters":["","Idle","0","0",""]},{"type":{"value":"Create"},"parameters":["","Hovered","0","0",""]},{"type":{"value":"Create"},"parameters":["","Pressed","0","0",""]},{"type":{"value":"Cache"},"parameters":["Hovered"]},{"type":{"value":"Cache"},"parameters":["Pressed"]},{"type":{"value":"ChangePlan"},"parameters":["Hovered","=","1"]}]},{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Place the label over the backgrounds.","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"Create"},"parameters":["","Label","0","0",""]},{"type":{"value":"ChangePlan"},"parameters":["Label","=","2"]},{"type":{"value":"TextObject::SetWrapping"},"parameters":["Label","yes"]},{"type":{"value":"PanelSpriteButton::PanelSpriteButton::CenterLabel"},"parameters":["Object",""]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[{"name":"Background","objects":[{"name":"Idle"},{"name":"Hovered"},{"name":"Pressed"}]}]},{"fullName":"","functionType":"Action","name":"onHotReloading","sentence":"","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::CenterLabel"},"parameters":["Object",""]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]},{"fullName":"","functionType":"Action","name":"doStepPostEvents","sentence":"","events":[{"colorB":228,"colorG":176,"colorR":74,"creationTime":0,"name":"Apply states","source":"","type":"BuiltinCommonInstructions::Group","events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Show the right background accordingly to the new state.","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsIdle"},"parameters":["Object","ButtonFSM"]},{"type":{"value":"BuiltinCommonInstructions::Once"},"parameters":[]}],"actions":[{"type":{"value":"SetCenterY"},"parameters":["Label","=","Object.CenterWithPaddingY()"]},{"type":{"value":"Montre"},"parameters":["Idle",""]},{"type":{"value":"Cache"},"parameters":["Pressed"]}],"events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"Visible"},"parameters":["Hovered"]},{"type":{"value":"PanelSpriteButton::PanelSpriteButton::PropertyHoveredFadeOutDuration"},"parameters":["Object",">","0"]}],"actions":[{"type":{"value":"Tween::AddObjectOpacityTween"},"parameters":["Hovered","Tween","\"Fadeout\"","0","\"linear\"","Object.PropertyHoveredFadeOutDuration() * 1000",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::PropertyHoveredFadeOutDuration"},"parameters":["Object","=","0"]}],"actions":[{"type":{"value":"Cache"},"parameters":["Hovered"]}]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteObject::Opacity"},"parameters":["Hovered","=","0"]}],"actions":[{"type":{"value":"Cache"},"parameters":["Hovered"]},{"type":{"value":"PanelSpriteObject::SetOpacity"},"parameters":["Hovered","=","255"]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsHovered"},"parameters":["Object","ButtonFSM"]},{"type":{"value":"BuiltinCommonInstructions::Once"},"parameters":[]}],"actions":[{"type":{"value":"SetCenterY"},"parameters":["Label","=","Object.CenterWithPaddingY()"]},{"type":{"value":"Cache"},"parameters":["Idle"]},{"type":{"value":"Montre"},"parameters":["Hovered",""]},{"type":{"value":"Cache"},"parameters":["Pressed"]},{"type":{"value":"Tween::RemoveTween"},"parameters":["Hovered","Tween","\"Fadeout\""]},{"type":{"value":"PanelSpriteObject::SetOpacity"},"parameters":["Hovered","=","255"]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsPressed"},"parameters":["Object","ButtonFSM"]},{"type":{"value":"BuiltinCommonInstructions::Once"},"parameters":[]}],"actions":[{"type":{"value":"SetCenterY"},"parameters":["Label","=","Object.CenterWithPaddingY() + Object.PropertyPressedLabelOffsetY()"]},{"type":{"value":"Cache"},"parameters":["Idle"]},{"type":{"value":"Cache"},"parameters":["Hovered"]},{"type":{"value":"Montre"},"parameters":["Pressed",""]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsFocused"},"parameters":["Object","ButtonFSM"]},{"type":{"value":"BuiltinCommonInstructions::Once"},"parameters":[]}],"actions":[{"type":{"value":"SetCenterY"},"parameters":["Label","=","Object.CenterWithPaddingY()"]},{"type":{"value":"Cache"},"parameters":["Idle"]},{"type":{"value":"Montre"},"parameters":["Hovered",""]},{"type":{"value":"Cache"},"parameters":["Pressed"]}]}],"parameters":[]},{"colorB":228,"colorG":176,"colorR":74,"creationTime":0,"name":"Resize","source":"","type":"BuiltinCommonInstructions::Group","events":[{"type":"BuiltinCommonInstructions::Comment","color":{"b":109,"g":230,"r":255,"textB":0,"textG":0,"textR":0},"comment":"Children instances must be resized when the button size change:\n- backgrounds for each state are resized to take the full dimensions of the button\n- the label is put back at the center of the button\n\nThe scale is set back to 1 because it means that the parent instance has the same dimensions as the union of its children instances.","comment2":""},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"BuiltinCommonInstructions::Or"},"parameters":[],"subInstructions":[{"type":{"value":"BuiltinCommonInstructions::CompareNumbers"},"parameters":["Object.Width()","!=","max(Idle.BoundingBoxRight(), Label.BoundingBoxRight()) - min(Idle.BoundingBoxLeft(), Label.BoundingBoxLeft())"]},{"type":{"value":"BuiltinCommonInstructions::CompareNumbers"},"parameters":["Object.Height()","!=","max(Idle.BoundingBoxBottom(), Label.BoundingBoxBottom()) - min(Idle.BoundingBoxTop(), Label.BoundingBoxTop())"]}]}],"actions":[{"type":{"value":"ModVarObjet"},"parameters":["Idle","Width","=","Object.Width()"]},{"type":{"value":"ModVarObjet"},"parameters":["Idle","Height","=","Object.Height()"]},{"type":{"value":"PanelSpriteButton::Scale"},"parameters":["Object","=","1"]},{"type":{"value":"PanelSpriteObject::Width"},"parameters":["Background","=","Idle.Variable(Width)"]},{"type":{"value":"PanelSpriteObject::Height"},"parameters":["Background","=","Idle.Variable(Height)"]},{"type":{"value":"PanelSpriteButton::PanelSpriteButton::CenterLabel"},"parameters":["Object",""]}]}],"parameters":[]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[{"name":"Background","objects":[{"name":"Idle"},{"name":"Hovered"},{"name":"Pressed"}]}]},{"description":"Check if the button is not used.","fullName":"Is idle","functionType":"Condition","name":"IsIdle","sentence":"_PARAM0_ is idle","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::IsIdle"},"parameters":["Idle","ButtonFSM",""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]},{"description":"Check if the button was just clicked.","fullName":"Is clicked","functionType":"Condition","name":"IsClicked","sentence":"_PARAM0_ is clicked","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::IsClicked"},"parameters":["Idle","ButtonFSM",""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]},{"description":"Check if the cursor is hovered over the button.","fullName":"Is hovered","functionType":"Condition","name":"IsHovered","sentence":"_PARAM0_ is hovered","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::IsHovered"},"parameters":["Idle","ButtonFSM",""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]},{"description":"Check if the button is either hovered or pressed but not hovered.","fullName":"Is focused","functionType":"Condition","name":"IsFocused","sentence":"_PARAM0_ is focused","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::IsFocused"},"parameters":["Idle","ButtonFSM",""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]},{"description":"Check if the button is currently being pressed with mouse or touch.","fullName":"Is pressed","functionType":"Condition","name":"IsPressed","sentence":"_PARAM0_ is pressed","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::ButtonFSM::IsPressed"},"parameters":["Idle","ButtonFSM",""]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]},{"description":"Change the text of the button label.","fullName":"Label text","functionType":"Action","name":"SetLabelText","sentence":"Change the text of _PARAM0_ to _PARAM1_","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"TextObject::String"},"parameters":["Label","=","GetArgumentAsString(\"LabelText\")"]},{"type":{"value":"PanelSpriteButton::PanelSpriteButton::CenterLabel"},"parameters":["Object",""]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"},{"description":"Text","name":"LabelText","type":"string"}],"objectGroups":[]},{"description":"Return the label text.","fullName":"Label text","functionType":"StringExpression","name":"LabelText","sentence":"","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"SetReturnString"},"parameters":["Label.String()"]}]}],"expressionType":{"type":"string"},"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]},{"description":"Return the label center Y according to the button configuration. This expression is used in doStepPostEvents when the button is pressed or released.","fullName":"","functionType":"Expression","name":"CenterWithPaddingY","private":true,"sentence":"","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"SetReturnNumber"},"parameters":["Idle.CenterY() + (Object.PropertyTopPadding() - Object.PropertyBottomPadding()) / 2"]}]}],"expressionType":{"type":"expression"},"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]},{"description":"Center the label according to the button configuration. This is used in doStepPostEvents when the button is resized.","fullName":"","functionType":"Action","name":"CenterLabel","private":true,"sentence":"Center the label of _PARAM0_","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"MettreXY"},"parameters":["Label","=","Object.PropertyLeftPadding()","=","Object.PropertyTopPadding()"]},{"type":{"value":"TextObject::WrappingWidth"},"parameters":["Label","=","Idle.Width() - Object.PropertyLeftPadding() - Object.PropertyRightPadding()"]},{"type":{"value":"SetCenterY"},"parameters":["Label","=","Object.CenterWithPaddingY()"]}],"events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[],"actions":[{"type":{"value":"SetCenterX"},"parameters":["Label","=","Background.CenterX() + (Object.PropertyLeftPadding() - Object.PropertyRightPadding()) / 2"]}]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"PanelSpriteButton::PanelSpriteButton::IsPressed"},"parameters":["Object",""]}],"actions":[{"type":{"value":"MettreY"},"parameters":["Label","+","Object.PropertyPressedLabelOffsetY()"]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[{"name":"Background","objects":[{"name":"Idle"},{"name":"Hovered"},{"name":"Pressed"}]}]},{"description":"De/activate interactions with the button.","fullName":"De/activate interactions","functionType":"Action","name":"Activate","sentence":"Activate interactions with _PARAM0_: _PARAM1_","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"GetArgumentAsBoolean"},"parameters":["\"ShouldActivate\""]}],"actions":[{"type":{"value":"ActivateBehavior"},"parameters":["Idle","ButtonFSM","yes"]}]},{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"inverted":true,"value":"GetArgumentAsBoolean"},"parameters":["\"ShouldActivate\""]}],"actions":[{"type":{"value":"ActivateBehavior"},"parameters":["Idle","ButtonFSM","no"]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"},{"description":"Activate","name":"ShouldActivate","type":"yesorno"}],"objectGroups":[]},{"description":"Check if interactions are activated on the button.","fullName":"Interactions activated","functionType":"Condition","name":"IsActivated","sentence":"Interactions on _PARAM0_ are activated","events":[{"type":"BuiltinCommonInstructions::Standard","conditions":[{"type":{"value":"BehaviorActivated"},"parameters":["Idle","ButtonFSM"]}],"actions":[{"type":{"value":"SetReturnBoolean"},"parameters":["True"]}]}],"parameters":[{"description":"Object","name":"Object","supplementaryInformation":"PanelSpriteButton::PanelSpriteButton","type":"object"}],"objectGroups":[]}],"propertyDescriptors":[{"value":"0","type":"Number","label":"Label offset on Y axis when pressed","description":"","group":"","extraInformation":[],"hidden":false,"name":"PressedLabelOffsetY"},{"value":"0","type":"Number","label":"Left padding","description":"","group":"Padding","extraInformation":["Label"],"hidden":false,"name":"LeftPadding"},{"value":"0","type":"Number","label":"Right padding","description":"","group":"Padding","extraInformation":["Label"],"hidden":false,"name":"RightPadding"},{"value":"0","type":"Number","label":"Top padding","description":"","group":"Padding","extraInformation":["Label"],"hidden":false,"name":"TopPadding"},{"value":"0","type":"Number","label":"Bottom padding","description":"","group":"Padding","extraInformation":["Label"],"hidden":false,"name":"BottomPadding"},{"value":"0.25","type":"Number","label":"Hovered fade out duration (in seconds)","description":"","group":"","extraInformation":[],"hidden":false,"name":"HoveredFadeOutDuration"}],"objects":[{"assetStoreId":"","bold":false,"italic":false,"name":"Label","smoothed":true,"tags":"","type":"TextObject::Text","underlined":false,"variables":[],"effects":[],"behaviors":[],"string":"Text","font":"","textAlignment":"","characterSize":20.0,"color":{"b":0,"g":0,"r":0}},{"assetStoreId":"","bottomMargin":0.0,"height":32.0,"leftMargin":0.0,"name":"Idle","rightMargin":0.0,"tags":"","texture":"","tiled":false,"topMargin":0.0,"type":"PanelSpriteObject::PanelSprite","width":32.0,"variables":[{"folded":true,"name":"State","type":"string","value":"Idle"}],"effects":[],"behaviors":[{"name":"ButtonFSM","type":"PanelSpriteButton::ButtonFSM","ShouldCheckHovering":true}]},{"assetStoreId":"","bottomMargin":0.0,"height":32.0,"leftMargin":0.0,"name":"Hovered","rightMargin":0.0,"tags":"","texture":"","tiled":false,"topMargin":0.0,"type":"PanelSpriteObject::PanelSprite","width":32.0,"variables":[],"effects":[],"behaviors":[{"name":"Tween","type":"Tween::TweenBehavior"}]},{"assetStoreId":"","bottomMargin":0.0,"height":32.0,"leftMargin":0.0,"name":"Pressed","rightMargin":0.0,"tags":"","texture":"","tiled":false,"topMargin":0.0,"type":"PanelSpriteObject::PanelSprite","width":32.0,"variables":[],"effects":[],"behaviors":[]}]}]}],"externalLayouts":[],"externalSourceFiles":[]}