Advertisement
Guest User

Untitled

a guest
Feb 4th, 2020
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 47.51 KB | None | 0 0
  1. {
  2.   "firstLayout": "",
  3.   "gdVersion": {
  4.     "build": 98,
  5.     "major": 4,
  6.     "minor": 0,
  7.     "revision": 0
  8.   },
  9.   "properties": {
  10.     "adMobAppId": "",
  11.     "adaptGameResolutionAtRuntime": true,
  12.     "folderProject": false,
  13.     "linuxExecutableFilename": "",
  14.     "macExecutableFilename": "",
  15.     "orientation": "landscape",
  16.     "packageName": "com.example.gamename",
  17.     "projectFile": "C:\\Users\\RTX-Bouh\\Desktop\\carouseltest\\game.json",
  18.     "scaleMode": "linear",
  19.     "sizeOnStartupMode": "adaptWidth",
  20.     "useExternalSourceFiles": false,
  21.     "version": "1.0.0",
  22.     "winExecutableFilename": "",
  23.     "winExecutableIconFile": "",
  24.     "name": "Project",
  25.     "author": "",
  26.     "windowWidth": 800,
  27.     "windowHeight": 600,
  28.     "latestCompilationDirectory": "",
  29.     "maxFPS": 60,
  30.     "minFPS": 20,
  31.     "verticalSync": false,
  32.     "platformSpecificAssets": {},
  33.     "loadingScreen": {
  34.       "showGDevelopSplash": true
  35.     },
  36.     "extensions": [
  37.       {
  38.         "name": "BuiltinObject"
  39.       },
  40.       {
  41.         "name": "BuiltinAudio"
  42.       },
  43.       {
  44.         "name": "BuiltinVariables"
  45.       },
  46.       {
  47.         "name": "BuiltinTime"
  48.       },
  49.       {
  50.         "name": "BuiltinMouse"
  51.       },
  52.       {
  53.         "name": "BuiltinKeyboard"
  54.       },
  55.       {
  56.         "name": "BuiltinJoystick"
  57.       },
  58.       {
  59.         "name": "BuiltinCamera"
  60.       },
  61.       {
  62.         "name": "BuiltinWindow"
  63.       },
  64.       {
  65.         "name": "BuiltinFile"
  66.       },
  67.       {
  68.         "name": "BuiltinNetwork"
  69.       },
  70.       {
  71.         "name": "BuiltinScene"
  72.       },
  73.       {
  74.         "name": "BuiltinAdvanced"
  75.       },
  76.       {
  77.         "name": "Sprite"
  78.       },
  79.       {
  80.         "name": "BuiltinCommonInstructions"
  81.       },
  82.       {
  83.         "name": "BuiltinCommonConversions"
  84.       },
  85.       {
  86.         "name": "BuiltinStringInstructions"
  87.       },
  88.       {
  89.         "name": "BuiltinMathematicalTools"
  90.       },
  91.       {
  92.         "name": "BuiltinExternalLayouts"
  93.       }
  94.     ],
  95.     "platforms": [
  96.       {
  97.         "name": "GDevelop JS platform"
  98.       }
  99.     ],
  100.     "currentPlatform": "GDevelop JS platform"
  101.   },
  102.   "resources": {
  103.     "resources": [
  104.       {
  105.         "alwaysLoaded": false,
  106.         "file": "461223101.jpg",
  107.         "kind": "image",
  108.         "metadata": "",
  109.         "name": "461223101.jpg",
  110.         "smoothed": true,
  111.         "userAdded": true
  112.       },
  113.       {
  114.         "alwaysLoaded": false,
  115.         "file": "461223102.jpg",
  116.         "kind": "image",
  117.         "metadata": "",
  118.         "name": "461223102.jpg",
  119.         "smoothed": true,
  120.         "userAdded": true
  121.       },
  122.       {
  123.         "alwaysLoaded": false,
  124.         "file": "461223103.jpg",
  125.         "kind": "image",
  126.         "metadata": "",
  127.         "name": "461223103.jpg",
  128.         "smoothed": true,
  129.         "userAdded": true
  130.       },
  131.       {
  132.         "alwaysLoaded": false,
  133.         "file": "461223105.jpg",
  134.         "kind": "image",
  135.         "metadata": "",
  136.         "name": "461223105.jpg",
  137.         "smoothed": true,
  138.         "userAdded": true
  139.       },
  140.       {
  141.         "alwaysLoaded": false,
  142.         "file": "461223106.jpg",
  143.         "kind": "image",
  144.         "metadata": "",
  145.         "name": "461223106.jpg",
  146.         "smoothed": true,
  147.         "userAdded": true
  148.       },
  149.       {
  150.         "alwaysLoaded": false,
  151.         "file": "461223107.jpg",
  152.         "kind": "image",
  153.         "metadata": "",
  154.         "name": "461223107.jpg",
  155.         "smoothed": true,
  156.         "userAdded": true
  157.       },
  158.       {
  159.         "alwaysLoaded": false,
  160.         "file": "461223108.jpg",
  161.         "kind": "image",
  162.         "metadata": "",
  163.         "name": "461223108.jpg",
  164.         "smoothed": true,
  165.         "userAdded": true
  166.       }
  167.     ],
  168.     "resourceFolders": []
  169.   },
  170.   "objects": [],
  171.   "objectsGroups": [],
  172.   "variables": [],
  173.   "layouts": [
  174.     {
  175.       "b": 209,
  176.       "disableInputWhenNotFocused": true,
  177.       "mangledName": "NewScene",
  178.       "name": "NewScene",
  179.       "oglFOV": 90,
  180.       "oglZFar": 500,
  181.       "oglZNear": 1,
  182.       "r": 209,
  183.       "standardSortMethod": true,
  184.       "stopSoundsOnStartup": true,
  185.       "title": "",
  186.       "v": 209,
  187.       "uiSettings": {
  188.         "grid": false,
  189.         "gridB": 255,
  190.         "gridG": 180,
  191.         "gridHeight": 32,
  192.         "gridOffsetX": 0,
  193.         "gridOffsetY": 0,
  194.         "gridR": 158,
  195.         "gridWidth": 32,
  196.         "snap": true,
  197.         "windowMask": false,
  198.         "zoomFactor": 1
  199.       },
  200.       "objectsGroups": [],
  201.       "variables": [],
  202.       "instances": [
  203.         {
  204.           "angle": 0,
  205.           "customSize": false,
  206.           "height": 0,
  207.           "layer": "",
  208.           "locked": false,
  209.           "name": "Other",
  210.           "width": 0,
  211.           "x": 307,
  212.           "y": 457,
  213.           "zOrder": 1,
  214.           "numberProperties": [],
  215.           "stringProperties": [],
  216.           "initialVariables": []
  217.         },
  218.         {
  219.           "angle": 0,
  220.           "customSize": false,
  221.           "height": 0,
  222.           "layer": "",
  223.           "locked": false,
  224.           "name": "NewObject",
  225.           "width": 0,
  226.           "x": 322,
  227.           "y": 518,
  228.           "zOrder": 2,
  229.           "numberProperties": [],
  230.           "stringProperties": [],
  231.           "initialVariables": []
  232.         }
  233.       ],
  234.       "objects": [
  235.         {
  236.           "name": "Textures",
  237.           "tags": "",
  238.           "type": "Sprite",
  239.           "updateIfNotVisible": false,
  240.           "variables": [],
  241.           "behaviors": [
  242.             {
  243.               "name": "Tween",
  244.               "type": "Tween::TweenBehavior"
  245.             }
  246.           ],
  247.           "animations": [
  248.             {
  249.               "name": "",
  250.               "useMultipleDirections": false,
  251.               "directions": [
  252.                 {
  253.                   "looping": false,
  254.                   "timeBetweenFrames": 0.08,
  255.                   "sprites": [
  256.                     {
  257.                       "hasCustomCollisionMask": false,
  258.                       "image": "461223101.jpg",
  259.                       "points": [],
  260.                       "originPoint": {
  261.                         "name": "origine",
  262.                         "x": 0,
  263.                         "y": 0
  264.                       },
  265.                       "centerPoint": {
  266.                         "automatic": true,
  267.                         "name": "centre",
  268.                         "x": 0,
  269.                         "y": 0
  270.                       },
  271.                       "customCollisionMask": []
  272.                     },
  273.                     {
  274.                       "hasCustomCollisionMask": false,
  275.                       "image": "461223102.jpg",
  276.                       "points": [],
  277.                       "originPoint": {
  278.                         "name": "origine",
  279.                         "x": 0,
  280.                         "y": 0
  281.                       },
  282.                       "centerPoint": {
  283.                         "automatic": true,
  284.                         "name": "centre",
  285.                         "x": 0,
  286.                         "y": 0
  287.                       },
  288.                       "customCollisionMask": []
  289.                     },
  290.                     {
  291.                       "hasCustomCollisionMask": false,
  292.                       "image": "461223103.jpg",
  293.                       "points": [],
  294.                       "originPoint": {
  295.                         "name": "origine",
  296.                         "x": 0,
  297.                         "y": 0
  298.                       },
  299.                       "centerPoint": {
  300.                         "automatic": true,
  301.                         "name": "centre",
  302.                         "x": 0,
  303.                         "y": 0
  304.                       },
  305.                       "customCollisionMask": []
  306.                     },
  307.                     {
  308.                       "hasCustomCollisionMask": false,
  309.                       "image": "461223105.jpg",
  310.                       "points": [],
  311.                       "originPoint": {
  312.                         "name": "origine",
  313.                         "x": 0,
  314.                         "y": 0
  315.                       },
  316.                       "centerPoint": {
  317.                         "automatic": true,
  318.                         "name": "centre",
  319.                         "x": 0,
  320.                         "y": 0
  321.                       },
  322.                       "customCollisionMask": []
  323.                     },
  324.                     {
  325.                       "hasCustomCollisionMask": false,
  326.                       "image": "461223106.jpg",
  327.                       "points": [],
  328.                       "originPoint": {
  329.                         "name": "origine",
  330.                         "x": 0,
  331.                         "y": 0
  332.                       },
  333.                       "centerPoint": {
  334.                         "automatic": true,
  335.                         "name": "centre",
  336.                         "x": 0,
  337.                         "y": 0
  338.                       },
  339.                       "customCollisionMask": []
  340.                     },
  341.                     {
  342.                       "hasCustomCollisionMask": false,
  343.                       "image": "461223107.jpg",
  344.                       "points": [],
  345.                       "originPoint": {
  346.                         "name": "origine",
  347.                         "x": 0,
  348.                         "y": 0
  349.                       },
  350.                       "centerPoint": {
  351.                         "automatic": true,
  352.                         "name": "centre",
  353.                         "x": 0,
  354.                         "y": 0
  355.                       },
  356.                       "customCollisionMask": []
  357.                     },
  358.                     {
  359.                       "hasCustomCollisionMask": false,
  360.                       "image": "461223108.jpg",
  361.                       "points": [],
  362.                       "originPoint": {
  363.                         "name": "origine",
  364.                         "x": 0,
  365.                         "y": 0
  366.                       },
  367.                       "centerPoint": {
  368.                         "automatic": true,
  369.                         "name": "centre",
  370.                         "x": 0,
  371.                         "y": 0
  372.                       },
  373.                       "customCollisionMask": []
  374.                     }
  375.                   ]
  376.                 }
  377.               ]
  378.             }
  379.           ]
  380.         },
  381.         {
  382.           "bold": false,
  383.           "italic": false,
  384.           "name": "Other",
  385.           "smoothed": true,
  386.           "tags": "",
  387.           "type": "TextObject::Text",
  388.           "underlined": false,
  389.           "variables": [],
  390.           "behaviors": [],
  391.           "string": "Otherscene",
  392.           "font": "",
  393.           "characterSize": 20,
  394.           "color": {
  395.             "b": 0,
  396.             "g": 0,
  397.             "r": 0
  398.           }
  399.         },
  400.         {
  401.           "bold": false,
  402.           "italic": false,
  403.           "name": "NewObject",
  404.           "smoothed": true,
  405.           "tags": "",
  406.           "type": "TextObject::Text",
  407.           "underlined": false,
  408.           "variables": [],
  409.           "behaviors": [],
  410.           "string": "Text",
  411.           "font": "",
  412.           "characterSize": 20,
  413.           "color": {
  414.             "b": 0,
  415.             "g": 0,
  416.             "r": 0
  417.           }
  418.         }
  419.       ],
  420.       "events": [
  421.         {
  422.           "disabled": false,
  423.           "folded": false,
  424.           "type": "BuiltinCommonInstructions::Standard",
  425.           "conditions": [
  426.             {
  427.               "type": {
  428.                 "inverted": false,
  429.                 "value": "DepartScene"
  430.               },
  431.               "parameters": [
  432.                 ""
  433.               ],
  434.               "subInstructions": []
  435.             }
  436.           ],
  437.           "actions": [
  438.             {
  439.               "type": {
  440.                 "inverted": false,
  441.                 "value": "ModVarScene"
  442.               },
  443.               "parameters": [
  444.                 "taille",
  445.                 "=",
  446.                 "120"
  447.               ],
  448.               "subInstructions": []
  449.             },
  450.             {
  451.               "type": {
  452.                 "inverted": false,
  453.                 "value": "ModVarScene"
  454.               },
  455.               "parameters": [
  456.                 "textures.Xpos",
  457.                 "=",
  458.                 "Variable(taille)"
  459.               ],
  460.               "subInstructions": []
  461.             },
  462.             {
  463.               "type": {
  464.                 "inverted": false,
  465.                 "value": "ModVarScene"
  466.               },
  467.               "parameters": [
  468.                 "textures.Ypos",
  469.                 "=",
  470.                 "200"
  471.               ],
  472.               "subInstructions": []
  473.             },
  474.             {
  475.               "type": {
  476.                 "inverted": false,
  477.                 "value": "ModVarScene"
  478.               },
  479.               "parameters": [
  480.                 "textures.nombre",
  481.                 "=",
  482.                 "0"
  483.               ],
  484.               "subInstructions": []
  485.             },
  486.             {
  487.               "type": {
  488.                 "inverted": false,
  489.                 "value": "ResetTimer"
  490.               },
  491.               "parameters": [
  492.                 "",
  493.                 "\"textures\""
  494.               ],
  495.               "subInstructions": []
  496.             },
  497.             {
  498.               "type": {
  499.                 "inverted": false,
  500.                 "value": "DEBUG::Log"
  501.               },
  502.               "parameters": [
  503.                 "",
  504.                 "\"1\"",
  505.                 ""
  506.               ],
  507.               "subInstructions": []
  508.             },
  509.             {
  510.               "type": {
  511.                 "inverted": false,
  512.                 "value": "DEBUG::Open_inspector"
  513.               },
  514.               "parameters": [
  515.                 "",
  516.                 ""
  517.               ],
  518.               "subInstructions": []
  519.             }
  520.           ],
  521.           "events": []
  522.         },
  523.         {
  524.           "disabled": false,
  525.           "folded": false,
  526.           "type": "BuiltinCommonInstructions::Standard",
  527.           "conditions": [
  528.             {
  529.               "type": {
  530.                 "inverted": false,
  531.                 "value": "MouseButtonReleased"
  532.               },
  533.               "parameters": [
  534.                 "",
  535.                 "Left"
  536.               ],
  537.               "subInstructions": []
  538.             },
  539.             {
  540.               "type": {
  541.                 "inverted": false,
  542.                 "value": "SourisSurObjet"
  543.               },
  544.               "parameters": [
  545.                 "Other",
  546.                 "",
  547.                 "",
  548.                 ""
  549.               ],
  550.               "subInstructions": []
  551.             }
  552.           ],
  553.           "actions": [
  554.             {
  555.               "type": {
  556.                 "inverted": false,
  557.                 "value": "Scene"
  558.               },
  559.               "parameters": [
  560.                 "",
  561.                 "\"NewScene2\"",
  562.                 ""
  563.               ],
  564.               "subInstructions": []
  565.             },
  566.             {
  567.               "type": {
  568.                 "inverted": false,
  569.                 "value": "DEBUG::Log"
  570.               },
  571.               "parameters": [
  572.                 "",
  573.                 "\"2\"",
  574.                 ""
  575.               ],
  576.               "subInstructions": []
  577.             }
  578.           ],
  579.           "events": []
  580.         },
  581.         {
  582.           "colorB": 228,
  583.           "colorG": 176,
  584.           "colorR": 74,
  585.           "creationTime": 0,
  586.           "disabled": false,
  587.           "folded": false,
  588.           "name": "Creation of objects",
  589.           "source": "",
  590.           "type": "BuiltinCommonInstructions::Group",
  591.           "events": [
  592.             {
  593.               "disabled": false,
  594.               "folded": false,
  595.               "type": "BuiltinCommonInstructions::Standard",
  596.               "conditions": [
  597.                 {
  598.                   "type": {
  599.                     "inverted": false,
  600.                     "value": "VarScene"
  601.                   },
  602.                   "parameters": [
  603.                     "textures.nombre",
  604.                     "<",
  605.                     "7"
  606.                   ],
  607.                   "subInstructions": []
  608.                 },
  609.                 {
  610.                   "type": {
  611.                     "inverted": false,
  612.                     "value": "Timer"
  613.                   },
  614.                   "parameters": [
  615.                     "",
  616.                     "0.2",
  617.                     "\"textures\""
  618.                   ],
  619.                   "subInstructions": []
  620.                 }
  621.               ],
  622.               "actions": [
  623.                 {
  624.                   "type": {
  625.                     "inverted": false,
  626.                     "value": "DEBUG::Log"
  627.                   },
  628.                   "parameters": [
  629.                     "",
  630.                     "\"3\"",
  631.                     ""
  632.                   ],
  633.                   "subInstructions": []
  634.                 }
  635.               ],
  636.               "events": [
  637.                 {
  638.                   "disabled": false,
  639.                   "folded": false,
  640.                   "type": "BuiltinCommonInstructions::Comment",
  641.                   "color": {
  642.                     "b": 109,
  643.                     "g": 230,
  644.                     "r": 255,
  645.                     "textB": 0,
  646.                     "textG": 0,
  647.                     "textR": 0
  648.                   },
  649.                   "comment": "Initialize the objects",
  650.                   "comment2": ""
  651.                 },
  652.                 {
  653.                   "disabled": false,
  654.                   "folded": false,
  655.                   "type": "BuiltinCommonInstructions::Standard",
  656.                   "conditions": [
  657.                     {
  658.                       "type": {
  659.                         "inverted": false,
  660.                         "value": "BuiltinCommonInstructions::Once"
  661.                       },
  662.                       "parameters": [],
  663.                       "subInstructions": []
  664.                     }
  665.                   ],
  666.                   "actions": [
  667.                     {
  668.                       "type": {
  669.                         "inverted": false,
  670.                         "value": "Create"
  671.                       },
  672.                       "parameters": [
  673.                         "",
  674.                         "Textures",
  675.                         "Variable(textures.Xpos)",
  676.                         "Variable(textures.Ypos)",
  677.                         "\"\""
  678.                       ],
  679.                       "subInstructions": []
  680.                     },
  681.                     {
  682.                       "type": {
  683.                         "inverted": false,
  684.                         "value": "ChangeScale"
  685.                       },
  686.                       "parameters": [
  687.                         "Textures",
  688.                         "=",
  689.                         "0.01"
  690.                       ],
  691.                       "subInstructions": []
  692.                     },
  693.                     {
  694.                       "type": {
  695.                         "inverted": false,
  696.                         "value": "ChangeSprite"
  697.                       },
  698.                       "parameters": [
  699.                         "Textures",
  700.                         "=",
  701.                         "Variable(textures.nombre)"
  702.                       ],
  703.                       "subInstructions": []
  704.                     },
  705.                     {
  706.                       "type": {
  707.                         "inverted": false,
  708.                         "value": "ModVarObjet"
  709.                       },
  710.                       "parameters": [
  711.                         "Textures",
  712.                         "ID",
  713.                         "=",
  714.                         "Variable(textures.nombre)"
  715.                       ],
  716.                       "subInstructions": []
  717.                     },
  718.                     {
  719.                       "type": {
  720.                         "inverted": false,
  721.                         "value": "PauseAnimation"
  722.                       },
  723.                       "parameters": [
  724.                         "Textures"
  725.                       ],
  726.                       "subInstructions": []
  727.                     },
  728.                     {
  729.                       "type": {
  730.                         "inverted": false,
  731.                         "value": "ModVarScene"
  732.                       },
  733.                       "parameters": [
  734.                         "textures.Xpos",
  735.                         "+",
  736.                         "Variable(taille)"
  737.                       ],
  738.                       "subInstructions": []
  739.                     },
  740.                     {
  741.                       "type": {
  742.                         "inverted": false,
  743.                         "value": "DEBUG::Log"
  744.                       },
  745.                       "parameters": [
  746.                         "",
  747.                         "\"4\"",
  748.                         ""
  749.                       ],
  750.                       "subInstructions": []
  751.                     }
  752.                   ],
  753.                   "events": [
  754.                     {
  755.                       "disabled": false,
  756.                       "folded": false,
  757.                       "type": "BuiltinCommonInstructions::Comment",
  758.                       "color": {
  759.                         "b": 109,
  760.                         "g": 230,
  761.                         "r": 255,
  762.                         "textB": 0,
  763.                         "textG": 0,
  764.                         "textR": 0
  765.                       },
  766.                       "comment": "When objects is created and initialize we reset timet and increase count for next object",
  767.                       "comment2": ""
  768.                     },
  769.                     {
  770.                       "disabled": false,
  771.                       "folded": false,
  772.                       "type": "BuiltinCommonInstructions::Standard",
  773.                       "conditions": [],
  774.                       "actions": [
  775.                         {
  776.                           "type": {
  777.                             "inverted": false,
  778.                             "value": "ModVarScene"
  779.                           },
  780.                           "parameters": [
  781.                             "textures.nombre",
  782.                             "+",
  783.                             "1"
  784.                           ],
  785.                           "subInstructions": []
  786.                         },
  787.                         {
  788.                           "type": {
  789.                             "inverted": false,
  790.                             "value": "ResetTimer"
  791.                           },
  792.                           "parameters": [
  793.                             "",
  794.                             "\"textures\""
  795.                           ],
  796.                           "subInstructions": []
  797.                         },
  798.                         {
  799.                           "type": {
  800.                             "inverted": false,
  801.                             "value": "DEBUG::Log"
  802.                           },
  803.                           "parameters": [
  804.                             "",
  805.                             "\"5\"",
  806.                             ""
  807.                           ],
  808.                           "subInstructions": []
  809.                         }
  810.                       ],
  811.                       "events": []
  812.                     }
  813.                   ]
  814.                 },
  815.                 {
  816.                   "disabled": false,
  817.                   "folded": false,
  818.                   "type": "BuiltinCommonInstructions::Comment",
  819.                   "color": {
  820.                     "b": 109,
  821.                     "g": 230,
  822.                     "r": 255,
  823.                     "textB": 0,
  824.                     "textG": 0,
  825.                     "textR": 0
  826.                   },
  827.                   "comment": "Carriage return",
  828.                   "comment2": ""
  829.                 },
  830.                 {
  831.                   "disabled": false,
  832.                   "folded": false,
  833.                   "type": "BuiltinCommonInstructions::Standard",
  834.                   "conditions": [
  835.                     {
  836.                       "type": {
  837.                         "inverted": false,
  838.                         "value": "VarScene"
  839.                       },
  840.                       "parameters": [
  841.                         "textures.Xpos",
  842.                         ">",
  843.                         "720"
  844.                       ],
  845.                       "subInstructions": []
  846.                     }
  847.                   ],
  848.                   "actions": [
  849.                     {
  850.                       "type": {
  851.                         "inverted": false,
  852.                         "value": "ModVarScene"
  853.                       },
  854.                       "parameters": [
  855.                         "textures.Xpos",
  856.                         "=",
  857.                         "Variable(taille)"
  858.                       ],
  859.                       "subInstructions": []
  860.                     },
  861.                     {
  862.                       "type": {
  863.                         "inverted": false,
  864.                         "value": "ModVarScene"
  865.                       },
  866.                       "parameters": [
  867.                         "textures.Ypos",
  868.                         "+",
  869.                         "Variable(taille)"
  870.                       ],
  871.                       "subInstructions": []
  872.                     },
  873.                     {
  874.                       "type": {
  875.                         "inverted": false,
  876.                         "value": "DEBUG::Log"
  877.                       },
  878.                       "parameters": [
  879.                         "",
  880.                         "\"6\"",
  881.                         ""
  882.                       ],
  883.                       "subInstructions": []
  884.                     }
  885.                   ],
  886.                   "events": []
  887.                 }
  888.               ]
  889.             }
  890.           ],
  891.           "parameters": []
  892.         },
  893.         {
  894.           "disabled": false,
  895.           "folded": false,
  896.           "type": "BuiltinCommonInstructions::ForEach",
  897.           "object": "Textures",
  898.           "conditions": [
  899.             {
  900.               "type": {
  901.                 "inverted": false,
  902.                 "value": "ScaleHeight"
  903.               },
  904.               "parameters": [
  905.                 "Textures",
  906.                 "=",
  907.                 "0.01"
  908.               ],
  909.               "subInstructions": []
  910.             },
  911.             {
  912.               "type": {
  913.                 "inverted": false,
  914.                 "value": "ScaleWidth"
  915.               },
  916.               "parameters": [
  917.                 "Textures",
  918.                 "=",
  919.                 "0.01"
  920.               ],
  921.               "subInstructions": []
  922.             }
  923.           ],
  924.           "actions": [
  925.             {
  926.               "type": {
  927.                 "inverted": false,
  928.                 "value": "Tween::AddObjectScaleTween"
  929.               },
  930.               "parameters": [
  931.                 "Textures",
  932.                 "Tween",
  933.                 "\"tween\" + ToString(Variable(textures.nombre))",
  934.                 "0.15",
  935.                 "0.15",
  936.                 "\"linear\"",
  937.                 "400",
  938.                 ""
  939.               ],
  940.               "subInstructions": []
  941.             },
  942.             {
  943.               "type": {
  944.                 "inverted": false,
  945.                 "value": "DEBUG::Log"
  946.               },
  947.               "parameters": [
  948.                 "",
  949.                 "\"7\"",
  950.                 ""
  951.               ],
  952.               "subInstructions": []
  953.             }
  954.           ],
  955.           "events": []
  956.         }
  957.       ],
  958.       "layers": [
  959.         {
  960.           "name": "",
  961.           "visibility": true,
  962.           "cameras": [
  963.             {
  964.               "defaultSize": true,
  965.               "defaultViewport": true,
  966.               "height": 0,
  967.               "viewportBottom": 1,
  968.               "viewportLeft": 0,
  969.               "viewportRight": 1,
  970.               "viewportTop": 0,
  971.               "width": 0
  972.             }
  973.           ],
  974.           "effects": []
  975.         }
  976.       ],
  977.       "behaviorsSharedData": [
  978.         {
  979.           "name": "Tween",
  980.           "type": "Tween::TweenBehavior"
  981.         }
  982.       ]
  983.     },
  984.     {
  985.       "b": 209,
  986.       "disableInputWhenNotFocused": true,
  987.       "mangledName": "NewScene2",
  988.       "name": "NewScene2",
  989.       "oglFOV": 90,
  990.       "oglZFar": 500,
  991.       "oglZNear": 1,
  992.       "r": 209,
  993.       "standardSortMethod": true,
  994.       "stopSoundsOnStartup": true,
  995.       "title": "",
  996.       "v": 209,
  997.       "uiSettings": {
  998.         "grid": false,
  999.         "gridB": 255,
  1000.         "gridG": 180,
  1001.         "gridHeight": 32,
  1002.         "gridOffsetX": 0,
  1003.         "gridOffsetY": 0,
  1004.         "gridR": 158,
  1005.         "gridWidth": 32,
  1006.         "snap": true,
  1007.         "windowMask": false,
  1008.         "zoomFactor": 1
  1009.       },
  1010.       "objectsGroups": [],
  1011.       "variables": [],
  1012.       "instances": [
  1013.         {
  1014.           "angle": 0,
  1015.           "customSize": false,
  1016.           "height": 0,
  1017.           "layer": "",
  1018.           "locked": false,
  1019.           "name": "NewObject",
  1020.           "width": 0,
  1021.           "x": 303,
  1022.           "y": 449,
  1023.           "zOrder": 1,
  1024.           "numberProperties": [],
  1025.           "stringProperties": [],
  1026.           "initialVariables": []
  1027.         }
  1028.       ],
  1029.       "objects": [
  1030.         {
  1031.           "bold": false,
  1032.           "italic": false,
  1033.           "name": "NewObject",
  1034.           "smoothed": true,
  1035.           "tags": "",
  1036.           "type": "TextObject::Text",
  1037.           "underlined": false,
  1038.           "variables": [],
  1039.           "behaviors": [],
  1040.           "string": "Click me!",
  1041.           "font": "",
  1042.           "characterSize": 20,
  1043.           "color": {
  1044.             "b": 0,
  1045.             "g": 0,
  1046.             "r": 0
  1047.           }
  1048.         }
  1049.       ],
  1050.       "events": [
  1051.         {
  1052.           "disabled": false,
  1053.           "folded": false,
  1054.           "type": "BuiltinCommonInstructions::Standard",
  1055.           "conditions": [
  1056.             {
  1057.               "type": {
  1058.                 "inverted": false,
  1059.                 "value": "MouseButtonReleased"
  1060.               },
  1061.               "parameters": [
  1062.                 "",
  1063.                 "Left"
  1064.               ],
  1065.               "subInstructions": []
  1066.             },
  1067.             {
  1068.               "type": {
  1069.                 "inverted": false,
  1070.                 "value": "SourisSurObjet"
  1071.               },
  1072.               "parameters": [
  1073.                 "NewObject",
  1074.                 "",
  1075.                 "",
  1076.                 ""
  1077.               ],
  1078.               "subInstructions": []
  1079.             }
  1080.           ],
  1081.           "actions": [
  1082.             {
  1083.               "type": {
  1084.                 "inverted": false,
  1085.                 "value": "Scene"
  1086.               },
  1087.               "parameters": [
  1088.                 "",
  1089.                 "\"NewScene\"",
  1090.                 ""
  1091.               ],
  1092.               "subInstructions": []
  1093.             }
  1094.           ],
  1095.           "events": []
  1096.         }
  1097.       ],
  1098.       "layers": [
  1099.         {
  1100.           "name": "",
  1101.           "visibility": true,
  1102.           "cameras": [
  1103.             {
  1104.               "defaultSize": true,
  1105.               "defaultViewport": true,
  1106.               "height": 0,
  1107.               "viewportBottom": 1,
  1108.               "viewportLeft": 0,
  1109.               "viewportRight": 1,
  1110.               "viewportTop": 0,
  1111.               "width": 0
  1112.             }
  1113.           ],
  1114.           "effects": []
  1115.         }
  1116.       ],
  1117.       "behaviorsSharedData": []
  1118.     }
  1119.   ],
  1120.   "externalEvents": [],
  1121.   "eventsFunctionsExtensions": [
  1122.     {
  1123.       "author": "@Bouh",
  1124.       "description": "Showing info in console",
  1125.       "extensionNamespace": "",
  1126.       "fullName": "Console logger",
  1127.       "name": "DEBUG",
  1128.       "shortDescription": "",
  1129.       "tags": "javascript, console, debugging",
  1130.       "version": "0.0.1",
  1131.       "eventsFunctions": [
  1132.         {
  1133.           "description": "Text showing in console",
  1134.           "fullName": "console.log()",
  1135.           "functionType": "Action",
  1136.           "name": "Log",
  1137.           "sentence": "console.log( _PARAM1_ )",
  1138.           "events": [
  1139.             {
  1140.               "disabled": false,
  1141.               "folded": false,
  1142.               "type": "BuiltinCommonInstructions::Comment",
  1143.               "color": {
  1144.                 "b": 109,
  1145.                 "g": 230,
  1146.                 "r": 255,
  1147.                 "textB": 0,
  1148.                 "textG": 0,
  1149.                 "textR": 0
  1150.               },
  1151.               "comment": "",
  1152.               "comment2": ""
  1153.             },
  1154.             {
  1155.               "disabled": false,
  1156.               "folded": false,
  1157.               "type": "BuiltinCommonInstructions::JsCode",
  1158.               "inlineCode": "\nconst text_arg = eventsFunctionContext.getArgument(\"text_arg\");\nconsole.log(text_arg);",
  1159.               "parameterObjects": "",
  1160.               "useStrict": true
  1161.             }
  1162.           ],
  1163.           "parameters": [
  1164.             {
  1165.               "codeOnly": false,
  1166.               "defaultValue": "",
  1167.               "description": "Text to display in console logger",
  1168.               "longDescription": "",
  1169.               "name": "text_arg",
  1170.               "optional": false,
  1171.               "supplementaryInformation": "",
  1172.               "type": "string"
  1173.             }
  1174.           ],
  1175.           "objectGroups": []
  1176.         },
  1177.         {
  1178.           "description": "",
  1179.           "fullName": "",
  1180.           "functionType": "Action",
  1181.           "name": "Add_Debug_line",
  1182.           "sentence": "Affiche _PARAM2_ : _PARAM3_ dans le texte _PARAM1_",
  1183.           "events": [
  1184.             {
  1185.               "disabled": false,
  1186.               "folded": false,
  1187.               "type": "BuiltinCommonInstructions::Standard",
  1188.               "conditions": [],
  1189.               "actions": [
  1190.                 {
  1191.                   "type": {
  1192.                     "inverted": false,
  1193.                     "value": "ModVarGlobalTxt"
  1194.                   },
  1195.                   "parameters": [
  1196.                     "DEBUG_TEXT",
  1197.                     "+",
  1198.                     "GetArgumentAsString(\"description\") + \" : \" + GetArgumentAsString(\"valeur\") + NewLine() + \"  \""
  1199.                   ],
  1200.                   "subInstructions": []
  1201.                 }
  1202.               ],
  1203.               "events": []
  1204.             }
  1205.           ],
  1206.           "parameters": [
  1207.             {
  1208.               "codeOnly": false,
  1209.               "defaultValue": "",
  1210.               "description": "",
  1211.               "longDescription": "",
  1212.               "name": "object_text",
  1213.               "optional": false,
  1214.               "supplementaryInformation": "TextObject::Text",
  1215.               "type": "objectList"
  1216.             },
  1217.             {
  1218.               "codeOnly": false,
  1219.               "defaultValue": "",
  1220.               "description": "Description de la ligne de debug",
  1221.               "longDescription": "",
  1222.               "name": "description",
  1223.               "optional": false,
  1224.               "supplementaryInformation": "",
  1225.               "type": "string"
  1226.             },
  1227.             {
  1228.               "codeOnly": false,
  1229.               "defaultValue": "",
  1230.               "description": "Valeur de la ligne de debug",
  1231.               "longDescription": "",
  1232.               "name": "valeur",
  1233.               "optional": false,
  1234.               "supplementaryInformation": "",
  1235.               "type": "string"
  1236.             }
  1237.           ],
  1238.           "objectGroups": []
  1239.         },
  1240.         {
  1241.           "description": "",
  1242.           "fullName": "",
  1243.           "functionType": "Action",
  1244.           "name": "Show_Debug_Text",
  1245.           "sentence": "Affiche les lignes de debug de _PARAM1_",
  1246.           "events": [
  1247.             {
  1248.               "disabled": false,
  1249.               "folded": false,
  1250.               "type": "BuiltinCommonInstructions::Standard",
  1251.               "conditions": [],
  1252.               "actions": [
  1253.                 {
  1254.                   "type": {
  1255.                     "inverted": false,
  1256.                     "value": "TextObject::String"
  1257.                   },
  1258.                   "parameters": [
  1259.                     "object_text",
  1260.                     "=",
  1261.                     "\"Debug information :\" + NewLine() + \n \"  \" + GlobalVariableString(DEBUG_TEXT) + NewLine()"
  1262.                   ],
  1263.                   "subInstructions": []
  1264.                 },
  1265.                 {
  1266.                   "type": {
  1267.                     "inverted": false,
  1268.                     "value": "ModVarGlobalTxt"
  1269.                   },
  1270.                   "parameters": [
  1271.                     "DEBUG_TEXT",
  1272.                     "=",
  1273.                     "\"\""
  1274.                   ],
  1275.                   "subInstructions": []
  1276.                 }
  1277.               ],
  1278.               "events": []
  1279.             }
  1280.           ],
  1281.           "parameters": [
  1282.             {
  1283.               "codeOnly": false,
  1284.               "defaultValue": "",
  1285.               "description": "",
  1286.               "longDescription": "",
  1287.               "name": "object_text",
  1288.               "optional": false,
  1289.               "supplementaryInformation": "TextObject::Text",
  1290.               "type": "objectList"
  1291.             }
  1292.           ],
  1293.           "objectGroups": []
  1294.         },
  1295.         {
  1296.           "description": "Show Raycast with angle",
  1297.           "fullName": "WIP Show Raycast angle",
  1298.           "functionType": "Action",
  1299.           "name": "Draw_Raycast_angle",
  1300.           "sentence": "Draw raycast with _PARAM1_, Thickness : _PARAM2_, Start _PARAM3_ : _PARAM4_, Angle : _PARAM5_, Length : _PARAM6_, Offset : _PARAM7_",
  1301.           "events": [
  1302.             {
  1303.               "disabled": false,
  1304.               "folded": false,
  1305.               "type": "BuiltinCommonInstructions::Standard",
  1306.               "conditions": [],
  1307.               "actions": [
  1308.                 {
  1309.                   "type": {
  1310.                     "inverted": false,
  1311.                     "value": "ModVarObjet"
  1312.                   },
  1313.                   "parameters": [
  1314.                     "object",
  1315.                     "angle",
  1316.                     "=",
  1317.                     "ToRad(GetArgumentAsNumber(\"angleInDegrees\"))"
  1318.                   ],
  1319.                   "subInstructions": []
  1320.                 }
  1321.               ],
  1322.               "events": []
  1323.             },
  1324.             {
  1325.               "disabled": false,
  1326.               "folded": false,
  1327.               "type": "BuiltinCommonInstructions::Standard",
  1328.               "conditions": [],
  1329.               "actions": [
  1330.                 {
  1331.                   "type": {
  1332.                     "inverted": false,
  1333.                     "value": "PrimitiveDrawing::Line"
  1334.                   },
  1335.                   "parameters": [
  1336.                     "object",
  1337.                     "GetArgumentAsNumber(\"StartPositionX\")+\ncos(object.Variable(angle))*GetArgumentAsNumber(\"rayOffset\")",
  1338.                     "GetArgumentAsNumber(\"StartPositionY\")+\nsin(object.Variable(angle))*GetArgumentAsNumber(\"rayOffset\")",
  1339.                     "GetArgumentAsNumber(\"StartPositionX\") + cos(object.Variable(angle))*(GetArgumentAsNumber(\"Length\")+GetArgumentAsNumber(\"rayOffset\"))",
  1340.                     "GetArgumentAsNumber(\"StartPositionY\") + sin(object.Variable(angle))*(GetArgumentAsNumber(\"Length\")+GetArgumentAsNumber(\"rayOffset\"))",
  1341.                     "GetArgumentAsNumber(\"Thickness\")"
  1342.                   ],
  1343.                   "subInstructions": []
  1344.                 },
  1345.                 {
  1346.                   "type": {
  1347.                     "inverted": false,
  1348.                     "value": "PrimitiveDrawing::OutlineColor"
  1349.                   },
  1350.                   "parameters": [
  1351.                     "object",
  1352.                     "\"0;17;255\""
  1353.                   ],
  1354.                   "subInstructions": []
  1355.                 }
  1356.               ],
  1357.               "events": []
  1358.             }
  1359.           ],
  1360.           "parameters": [
  1361.             {
  1362.               "codeOnly": false,
  1363.               "defaultValue": "",
  1364.               "description": "Object painter for debug raycast",
  1365.               "longDescription": "",
  1366.               "name": "object",
  1367.               "optional": false,
  1368.               "supplementaryInformation": "PrimitiveDrawing::Drawer",
  1369.               "type": "objectList"
  1370.             },
  1371.             {
  1372.               "codeOnly": false,
  1373.               "defaultValue": "",
  1374.               "description": "Thickness for line",
  1375.               "longDescription": "",
  1376.               "name": "Thickness",
  1377.               "optional": false,
  1378.               "supplementaryInformation": "",
  1379.               "type": "expression"
  1380.             },
  1381.             {
  1382.               "codeOnly": false,
  1383.               "defaultValue": "",
  1384.               "description": "Start Position X",
  1385.               "longDescription": "",
  1386.               "name": "StartPositionX",
  1387.               "optional": false,
  1388.               "supplementaryInformation": "",
  1389.               "type": "expression"
  1390.             },
  1391.             {
  1392.               "codeOnly": false,
  1393.               "defaultValue": "",
  1394.               "description": "Start Position Y",
  1395.               "longDescription": "",
  1396.               "name": "StartPositionY",
  1397.               "optional": false,
  1398.               "supplementaryInformation": "",
  1399.               "type": "expression"
  1400.             },
  1401.             {
  1402.               "codeOnly": false,
  1403.               "defaultValue": "",
  1404.               "description": "Angle in degrees",
  1405.               "longDescription": "",
  1406.               "name": "angleInDegrees",
  1407.               "optional": false,
  1408.               "supplementaryInformation": "",
  1409.               "type": "expression"
  1410.             },
  1411.             {
  1412.               "codeOnly": false,
  1413.               "defaultValue": "",
  1414.               "description": "Length",
  1415.               "longDescription": "",
  1416.               "name": "Length",
  1417.               "optional": false,
  1418.               "supplementaryInformation": "",
  1419.               "type": "expression"
  1420.             },
  1421.             {
  1422.               "codeOnly": false,
  1423.               "defaultValue": "",
  1424.               "description": "Color ( red by default \"255;0;0\" )",
  1425.               "longDescription": "",
  1426.               "name": "Color",
  1427.               "optional": false,
  1428.               "supplementaryInformation": "",
  1429.               "type": "color"
  1430.             },
  1431.             {
  1432.               "codeOnly": false,
  1433.               "defaultValue": "",
  1434.               "description": "Offset on raycast",
  1435.               "longDescription": "",
  1436.               "name": "rayOffset",
  1437.               "optional": false,
  1438.               "supplementaryInformation": "",
  1439.               "type": "expression"
  1440.             }
  1441.           ],
  1442.           "objectGroups": []
  1443.         },
  1444.         {
  1445.           "description": "Show Raycast with position",
  1446.           "fullName": "WIP Show Raycast position",
  1447.           "functionType": "Action",
  1448.           "name": "Draw_Raycast_position",
  1449.           "sentence": "Draw raycast with _PARAM1_, Thickness : _PARAM2_, Start _PARAM3_ : _PARAM4_, End _PARAM5_ : _PARAM6_",
  1450.           "events": [
  1451.             {
  1452.               "disabled": false,
  1453.               "folded": false,
  1454.               "type": "BuiltinCommonInstructions::Standard",
  1455.               "conditions": [],
  1456.               "actions": [
  1457.                 {
  1458.                   "type": {
  1459.                     "inverted": false,
  1460.                     "value": "PrimitiveDrawing::Line"
  1461.                   },
  1462.                   "parameters": [
  1463.                     "object",
  1464.                     "GetArgumentAsNumber(\"StartPositionX\")",
  1465.                     "GetArgumentAsNumber(\"StartPositionY\")",
  1466.                     "GetArgumentAsNumber(\"EndPositionX\")",
  1467.                     "GetArgumentAsNumber(\"EndPositionY\")",
  1468.                     "GetArgumentAsNumber(\"Thickness\")"
  1469.                   ],
  1470.                   "subInstructions": []
  1471.                 },
  1472.                 {
  1473.                   "type": {
  1474.                     "inverted": false,
  1475.                     "value": "PrimitiveDrawing::OutlineColor"
  1476.                   },
  1477.                   "parameters": [
  1478.                     "object",
  1479.                     "\"255;0;0\""
  1480.                   ],
  1481.                   "subInstructions": []
  1482.                 },
  1483.                 {
  1484.                   "type": {
  1485.                     "inverted": false,
  1486.                     "value": "PrimitiveDrawing::FillColor"
  1487.                   },
  1488.                   "parameters": [
  1489.                     "object",
  1490.                     "\"255;0;0\""
  1491.                   ],
  1492.                   "subInstructions": []
  1493.                 }
  1494.               ],
  1495.               "events": []
  1496.             }
  1497.           ],
  1498.           "parameters": [
  1499.             {
  1500.               "codeOnly": false,
  1501.               "defaultValue": "",
  1502.               "description": "Object painter for debug raycast",
  1503.               "longDescription": "",
  1504.               "name": "object",
  1505.               "optional": false,
  1506.               "supplementaryInformation": "PrimitiveDrawing::Drawer",
  1507.               "type": "objectList"
  1508.             },
  1509.             {
  1510.               "codeOnly": false,
  1511.               "defaultValue": "",
  1512.               "description": "Thickness for line",
  1513.               "longDescription": "",
  1514.               "name": "Thickness",
  1515.               "optional": false,
  1516.               "supplementaryInformation": "",
  1517.               "type": "expression"
  1518.             },
  1519.             {
  1520.               "codeOnly": false,
  1521.               "defaultValue": "",
  1522.               "description": "Start Position X",
  1523.               "longDescription": "",
  1524.               "name": "StartPositionX",
  1525.               "optional": false,
  1526.               "supplementaryInformation": "",
  1527.               "type": "expression"
  1528.             },
  1529.             {
  1530.               "codeOnly": false,
  1531.               "defaultValue": "",
  1532.               "description": "Start Position Y",
  1533.               "longDescription": "",
  1534.               "name": "StartPositionY",
  1535.               "optional": false,
  1536.               "supplementaryInformation": "",
  1537.               "type": "expression"
  1538.             },
  1539.             {
  1540.               "codeOnly": false,
  1541.               "defaultValue": "",
  1542.               "description": "End Position X",
  1543.               "longDescription": "",
  1544.               "name": "EndPositionX",
  1545.               "optional": false,
  1546.               "supplementaryInformation": "",
  1547.               "type": "expression"
  1548.             },
  1549.             {
  1550.               "codeOnly": false,
  1551.               "defaultValue": "",
  1552.               "description": "End Position Y",
  1553.               "longDescription": "",
  1554.               "name": "EndPositionY",
  1555.               "optional": false,
  1556.               "supplementaryInformation": "",
  1557.               "type": "expression"
  1558.             }
  1559.           ],
  1560.           "objectGroups": []
  1561.         },
  1562.         {
  1563.           "description": "Open inspector",
  1564.           "fullName": "Open inspector",
  1565.           "functionType": "Action",
  1566.           "name": "Open_inspector",
  1567.           "sentence": "Open inspector",
  1568.           "events": [
  1569.             {
  1570.               "disabled": false,
  1571.               "folded": false,
  1572.               "type": "BuiltinCommonInstructions::Standard",
  1573.               "conditions": [
  1574.                 {
  1575.                   "type": {
  1576.                     "inverted": false,
  1577.                     "value": "BuiltinCommonInstructions::Once"
  1578.                   },
  1579.                   "parameters": [],
  1580.                   "subInstructions": []
  1581.                 }
  1582.               ],
  1583.               "actions": [],
  1584.               "events": [
  1585.                 {
  1586.                   "disabled": false,
  1587.                   "folded": false,
  1588.                   "type": "BuiltinCommonInstructions::JsCode",
  1589.                   "inlineCode": "if (typeof require !== \"undefined\") {\n    const electron = require('electron'); \n    if (typeof electron !== \"undefined\") { \n       electron.remote.getCurrentWindow().webContents.openDevTools()\n    }\n}",
  1590.                   "parameterObjects": "",
  1591.                   "useStrict": true
  1592.                 }
  1593.               ]
  1594.             }
  1595.           ],
  1596.           "parameters": [],
  1597.           "objectGroups": []
  1598.         }
  1599.       ],
  1600.       "eventsBasedBehaviors": []
  1601.     }
  1602.   ],
  1603.   "externalLayouts": [],
  1604.   "externalSourceFiles": []
  1605. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement