diff --git a/newIDE/app/resources/examples/endless-up-runner/BlackMask.png b/newIDE/app/resources/examples/endless-up-runner/BlackMask.png new file mode 100755 index 000000000000..77d3a2f496c4 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/BlackMask.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/Feet.png b/newIDE/app/resources/examples/endless-up-runner/Feet.png new file mode 100755 index 000000000000..202486fe32bb Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/Feet.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/JumpButton.png b/newIDE/app/resources/examples/endless-up-runner/JumpButton.png new file mode 100755 index 000000000000..518c7d15cc8a Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/JumpButton.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/LeftButton.png b/newIDE/app/resources/examples/endless-up-runner/LeftButton.png new file mode 100755 index 000000000000..6703887ed283 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/LeftButton.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/README.md b/newIDE/app/resources/examples/endless-up-runner/README.md new file mode 100644 index 000000000000..0e75de58d926 --- /dev/null +++ b/newIDE/app/resources/examples/endless-up-runner/README.md @@ -0,0 +1 @@ +A game where the player have to jump on platforms and avoid falling down as the screen goes up. With special objects (spring, rocks), score and Game Over handling! \ No newline at end of file diff --git a/newIDE/app/resources/examples/endless-up-runner/RightButton.png b/newIDE/app/resources/examples/endless-up-runner/RightButton.png new file mode 100755 index 000000000000..1136708b2edc Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/RightButton.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/Rock.png b/newIDE/app/resources/examples/endless-up-runner/Rock.png new file mode 100755 index 000000000000..9d58743bb4f9 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/Rock.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/Spring1.png b/newIDE/app/resources/examples/endless-up-runner/Spring1.png new file mode 100755 index 000000000000..892d8aa038b6 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/Spring1.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/Spring2.png b/newIDE/app/resources/examples/endless-up-runner/Spring2.png new file mode 100755 index 000000000000..2baeaf6aca0f Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/Spring2.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialArrow.png b/newIDE/app/resources/examples/endless-up-runner/TutorialArrow.png new file mode 100755 index 000000000000..f98da99039b2 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialArrow.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialBackground.png b/newIDE/app/resources/examples/endless-up-runner/TutorialBackground.png new file mode 100755 index 000000000000..38310027927a Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialBackground.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialFall.png b/newIDE/app/resources/examples/endless-up-runner/TutorialFall.png new file mode 100755 index 000000000000..d182207761ac Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialFall.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialFall2.png b/newIDE/app/resources/examples/endless-up-runner/TutorialFall2.png new file mode 100755 index 000000000000..3d9b25d5d2c8 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialFall2.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialJump.png b/newIDE/app/resources/examples/endless-up-runner/TutorialJump.png new file mode 100755 index 000000000000..39da3607b28c Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialJump.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialJumpNext.png b/newIDE/app/resources/examples/endless-up-runner/TutorialJumpNext.png new file mode 100755 index 000000000000..5d4c85dafc6d Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialJumpNext.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialLeft.png b/newIDE/app/resources/examples/endless-up-runner/TutorialLeft.png new file mode 100755 index 000000000000..4f26f212cf97 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialLeft.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialMoving.png b/newIDE/app/resources/examples/endless-up-runner/TutorialMoving.png new file mode 100755 index 000000000000..683549b6f59d Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialMoving.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialRight.png b/newIDE/app/resources/examples/endless-up-runner/TutorialRight.png new file mode 100755 index 000000000000..18d0c51353e6 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialRight.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialRocks.png b/newIDE/app/resources/examples/endless-up-runner/TutorialRocks.png new file mode 100755 index 000000000000..e86ff72f1035 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialRocks.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialWarp1.png b/newIDE/app/resources/examples/endless-up-runner/TutorialWarp1.png new file mode 100755 index 000000000000..b348a8c93af7 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialWarp1.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/TutorialWarp2.png b/newIDE/app/resources/examples/endless-up-runner/TutorialWarp2.png new file mode 100755 index 000000000000..0dbb1691d1d6 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/TutorialWarp2.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/endless-up-runner.json b/newIDE/app/resources/examples/endless-up-runner/endless-up-runner.json new file mode 100755 index 000000000000..18436df2e238 --- /dev/null +++ b/newIDE/app/resources/examples/endless-up-runner/endless-up-runner.json @@ -0,0 +1,6007 @@ +{ + "firstLayout": "", + "gdVersion": { + "build": 97, + "major": 4, + "minor": 0, + "revision": 0 + }, + "properties": { + "adMobAppId": "", + "folderProject": false, + "linuxExecutableFilename": "", + "macExecutableFilename": "", + "orientation": "landscape", + "packageName": "com.example.gamename", + "projectFile": "C:\\Users\\pc\\Programacion\\gdevelop\\test\\EndlessRunningUp\\game.json", + "scaleMode": "linear", + "sizeOnStartupMode": "", + "useExternalSourceFiles": false, + "version": "1.0.0", + "winExecutableFilename": "", + "winExecutableIconFile": "", + "name": "Project", + "author": "", + "windowWidth": 300, + "windowHeight": 500, + "latestCompilationDirectory": "", + "maxFPS": 60, + "minFPS": 10, + "verticalSync": false, + "platformSpecificAssets": {}, + "loadingScreen": { + "showGDevelopSplash": true + }, + "extensions": [ + { + "name": "BuiltinObject" + }, + { + "name": "BuiltinAudio" + }, + { + "name": "BuiltinVariables" + }, + { + "name": "BuiltinTime" + }, + { + "name": "BuiltinMouse" + }, + { + "name": "BuiltinKeyboard" + }, + { + "name": "BuiltinJoystick" + }, + { + "name": "BuiltinCamera" + }, + { + "name": "BuiltinWindow" + }, + { + "name": "BuiltinFile" + }, + { + "name": "BuiltinNetwork" + }, + { + "name": "BuiltinScene" + }, + { + "name": "BuiltinAdvanced" + }, + { + "name": "Sprite" + }, + { + "name": "BuiltinCommonInstructions" + }, + { + "name": "BuiltinCommonConversions" + }, + { + "name": "BuiltinStringInstructions" + }, + { + "name": "BuiltinMathematicalTools" + }, + { + "name": "BuiltinExternalLayouts" + } + ], + "platforms": [ + { + "name": "GDevelop JS platform" + } + ], + "currentPlatform": "GDevelop JS platform" + }, + "resources": { + "resources": [ + { + "alwaysLoaded": false, + "file": "player.png", + "kind": "image", + "metadata": "", + "name": "player.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "player_jump_1.png", + "kind": "image", + "metadata": "", + "name": "player_jump_1.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "player_jump_2.png", + "kind": "image", + "metadata": "", + "name": "player_jump_2.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "player_run_1.png", + "kind": "image", + "metadata": "", + "name": "player_run_1.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "player_run_2.png", + "kind": "image", + "metadata": "", + "name": "player_run_2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "player_run_3.png", + "kind": "image", + "metadata": "", + "name": "player_run_3.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "player_run_4.png", + "kind": "image", + "metadata": "", + "name": "player_run_4.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "player_run_5.png", + "kind": "image", + "metadata": "", + "name": "player_run_5.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "player_run_6.png", + "kind": "image", + "metadata": "", + "name": "player_run_6.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "player_fall_1.png", + "kind": "image", + "metadata": "", + "name": "player_fall_1.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "player_fall_2.png", + "kind": "image", + "metadata": "", + "name": "player_fall_2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "grassHalfMid.png", + "kind": "image", + "metadata": "", + "name": "grassHalfMid.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "Rock.png", + "kind": "image", + "metadata": "", + "name": "Rock.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "hitbox.png", + "kind": "image", + "metadata": "", + "name": "hitbox.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "BlackMask.png", + "kind": "image", + "metadata": "", + "name": "BlackMask.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "pauseButton.png", + "kind": "image", + "metadata": "", + "name": "pauseButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "playButton.png", + "kind": "image", + "metadata": "", + "name": "playButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "restartButton.png", + "kind": "image", + "metadata": "", + "name": "restartButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "Feet.png", + "kind": "image", + "metadata": "", + "name": "Feet.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialRight.png", + "kind": "image", + "metadata": "", + "name": "TutorialRight.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialLeft.png", + "kind": "image", + "metadata": "", + "name": "TutorialLeft.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialJump.png", + "kind": "image", + "metadata": "", + "name": "TutorialJump.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialBackground.png", + "kind": "image", + "metadata": "", + "name": "TutorialBackground.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialJumpNext.png", + "kind": "image", + "metadata": "", + "name": "TutorialJumpNext.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialArrow.png", + "kind": "image", + "metadata": "", + "name": "TutorialArrow.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialRocks.png", + "kind": "image", + "metadata": "", + "name": "TutorialRocks.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialWarp1.png", + "kind": "image", + "metadata": "", + "name": "TutorialWarp1.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialWarp2.png", + "kind": "image", + "metadata": "", + "name": "TutorialWarp2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialFall.png", + "kind": "image", + "metadata": "", + "name": "TutorialFall.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialMoving.png", + "kind": "image", + "metadata": "", + "name": "TutorialMoving.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "LeftButton.png", + "kind": "image", + "metadata": "", + "name": "LeftButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "RightButton.png", + "kind": "image", + "metadata": "", + "name": "RightButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "JumpButton.png", + "kind": "image", + "metadata": "", + "name": "JumpButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "Spring1.png", + "kind": "image", + "metadata": "", + "name": "Spring1.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "Spring2.png", + "kind": "image", + "metadata": "", + "name": "Spring2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "TutorialFall2.png", + "kind": "image", + "metadata": "", + "name": "TutorialFall2.png", + "smoothed": true, + "userAdded": true + } + ], + "resourceFolders": [] + }, + "objects": [], + "objectsGroups": [], + "variables": [ + { + "name": "firstPlay", + "value": "1" + }, + { + "name": "bestScore", + "value": "0" + } + ], + "layouts": [ + { + "b": 30, + "disableInputWhenNotFocused": true, + "mangledName": "Game", + "name": "Game", + "oglFOV": 90, + "oglZFar": 500, + "oglZNear": 1, + "r": 30, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 30, + "uiSettings": { + "grid": false, + "gridB": 255, + "gridG": 180, + "gridHeight": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridR": 158, + "gridWidth": 32, + "snap": true, + "windowMask": false, + "zoomFactor": 1 + }, + "objectsGroups": [], + "variables": [], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "PlayerSprite", + "width": 0, + "x": 112, + "y": 387, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 280, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": -70, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 70, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 140, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 210, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 0, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 111, + "y": 350, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "id", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 230, + "y": 240, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "id", + "value": "2" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 0, + "y": 130, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "id", + "value": "3" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Player", + "width": 0, + "x": 167, + "y": 423, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 110, + "y": 20, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "id", + "value": "4" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 500, + "layer": "Pause", + "locked": false, + "name": "BlackMask", + "width": 300, + "x": 0, + "y": 0, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GUI", + "locked": false, + "name": "PauseButton", + "width": 0, + "x": 240, + "y": 10, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "Pause", + "locked": false, + "name": "PlayButton", + "width": 0, + "x": 125, + "y": 200, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 500, + "layer": "GameOver", + "locked": false, + "name": "BlackMask", + "width": 300, + "x": 0, + "y": 0, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "RestartButton", + "width": 0, + "x": 125, + "y": 300, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GUI", + "locked": false, + "name": "ScoreText", + "width": 0, + "x": 10, + "y": 3, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "PlayerFeet", + "width": 0, + "x": 158, + "y": 449, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": -65.556, + "customSize": true, + "height": 15, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 130, + "x": 120, + "y": 268, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 5 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "2" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 28, + "layer": "Background", + "locked": false, + "name": "TutorialTips", + "width": 147, + "x": 78, + "y": 432, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 3 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 51, + "layer": "Background", + "locked": false, + "name": "TutorialTips", + "width": 115, + "x": 0, + "y": 0, + "zOrder": 0, + "numberProperties": [ + { + "name": "animation", + "value": 0 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 51, + "layer": "Background", + "locked": false, + "name": "TutorialTips", + "width": 115, + "x": 0, + "y": 320, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 1 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 51, + "layer": "Background", + "locked": false, + "name": "TutorialTips", + "width": 115, + "x": 184, + "y": 320, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 2 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 30, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 171, + "x": 64, + "y": -134, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 9 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "5" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 50, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 93, + "x": 80, + "y": 230, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 4 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "2" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 83, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 154, + "x": 75, + "y": 64, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 6 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "2" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 86, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 66, + "x": 232, + "y": 99, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 7 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "3" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 55, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 123, + "x": -16, + "y": 68, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 8 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "3" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "FinalScoreTitle", + "width": 0, + "x": 78, + "y": 40, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "FinalScore", + "width": 0, + "x": 135, + "y": 102, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "NewRecord", + "width": 0, + "x": 4, + "y": 175, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "BestScore", + "width": 0, + "x": 113, + "y": 242, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 420, + "layer": "GUI", + "locked": false, + "name": "LeftButton", + "width": 150, + "x": 1, + "y": 1, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 420, + "layer": "GUI", + "locked": false, + "name": "RightButton", + "width": 150, + "x": 150, + "y": 0, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 80, + "layer": "GUI", + "locked": false, + "name": "JumpButton", + "width": 300, + "x": 0, + "y": 420, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 30, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 171, + "x": 62, + "y": -415, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 11 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "5" + } + ] + } + ], + "objects": [ + { + "name": "Player", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "acceleration": 9999, + "canGrabPlatforms": false, + "deceleration": 9999, + "gravity": 1000, + "ignoreDefaultControls": false, + "jumpSpeed": 680, + "maxFallingSpeed": 700, + "maxSpeed": 160, + "name": "PlatformerObject", + "roundCoordinates": true, + "slopeMaxAngle": 60, + "type": "PlatformBehavior::PlatformerObjectBehavior", + "xGrabTolerance": 10, + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "hitbox.png", + "points": [ + { + "name": "Sprite", + "x": -20, + "y": -15 + }, + { + "name": "Feet", + "x": 0, + "y": 48 + } + ], + "originPoint": { + "name": "origine", + "x": 12, + "y": 24 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "PlayerFeet", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Feet.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "PlayerSprite", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "idle", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "player.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "run", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.05, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "player_run_2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_3.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_4.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_5.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_6.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "jump", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.05, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "player_jump_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_jump_2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "fall", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.05, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "player_fall_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_fall_2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Platform", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "canBeGrabbed": true, + "name": "Platform", + "platformType": "Jumpthru", + "type": "PlatformBehavior::PlatformBehavior", + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "grassHalfMid.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Rock", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Rock.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": false, + "italic": false, + "name": "ScoreText", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "0", + "font": "", + "characterSize": 50, + "color": { + "b": 240, + "g": 240, + "r": 240 + } + }, + { + "name": "BlackMask", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "BlackMask.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "PauseButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "pauseButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Spring", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Spring1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 15, + "y": 25 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Spring2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 35, + "y": 38 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "PlayButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "playButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "RestartButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "restartButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "TutorialTips", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialBackground.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialLeft.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialRight.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialJump.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialJumpNext.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialArrow.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialRocks.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialWarp1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialWarp2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialMoving.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialFall.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialFall2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": false, + "italic": false, + "name": "FinalScoreTitle", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "SCORE:", + "font": "", + "characterSize": 40, + "color": { + "b": 240, + "g": 240, + "r": 240 + } + }, + { + "bold": false, + "italic": false, + "name": "FinalScore", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "0", + "font": "", + "characterSize": 50, + "color": { + "b": 240, + "g": 240, + "r": 240 + } + }, + { + "bold": true, + "italic": false, + "name": "NewRecord", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "NEW RECORD!", + "font": "", + "characterSize": 40, + "color": { + "b": 40, + "g": 193, + "r": 233 + } + }, + { + "bold": false, + "italic": false, + "name": "BestScore", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "BEST: 0", + "font": "", + "characterSize": 20, + "color": { + "b": 40, + "g": 193, + "r": 233 + } + }, + { + "name": "LeftButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "LeftButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "RightButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "RightButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "JumpButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "JumpButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + } + ], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Initialization", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Variables meaning:\nmovingCamera: 1 to move the camera upwards, 0 to stop it (used in the tutorial)\nmovingSpeed: Speed in pixels/second the camera will move\nincreasedSpeedPerScore: How much the speed is increased per score point\nmaxMovingSpeed: The maximum speed the camera can move at\ntopY: The top position where there's the topmost platform\nplatformDistance: The distance between created platforms\nrandomPlatformDistance: A small random offset to add to the distance\nthrowRocks: 1 to throw rocks, 0 to stop doing so, used in the tutorial\nrockTime: Time between each rock\nrockWidth: The width of the rock sprite, to create the rock in a single action\nrockSpeed: The speed in pixels/second the rocks will fall\nspringChance: The chance a spring will appear over a new platform, 100 means 100% chance.\nspringWidth: The width of the spring base\ncommonJumpSpeed: The common jump speed, needed to reset after a spring jump\nspringJumpSpeed: The jump speed when a spring is used\nspringJumping: 1 if the player is in the middle of a spring jump, 0 otherwise\ngamePaused: 1 to pause the game, 0 to continue\ngameRunning: 0 to run game over scripts, 1 to continue", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "movingCamera", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "movingSpeed", + "=", + "10" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "increasedSpeedPerScore", + "=", + "0.5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "maxMovingSpeed", + "=", + "100" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "topY", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "platformDistance", + "=", + "90" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "randomPlatformDistance", + "=", + "5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "throwRocks", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "rockTime", + "=", + "4" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "rockWidth", + "=", + "50" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "rockSpeed", + "=", + "80" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springChance", + "=", + "5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springWidth", + "=", + "20" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "commonJumpSpeed", + "=", + "680" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springJumpSpeed", + "=", + "2000" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springJumping", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gameRunning", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Set layers visibility and hide helper objects", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ShowLayer" + }, + "parameters": [ + "", + "\"GUI\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"GameOver\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "Player" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "PlayerFeet" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "TutorialTips" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "NewRecord" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Player controls", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Hide the buttons, they have an image only for better visualization during edition", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "LeftButton" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "RightButton" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "JumpButton" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Enable multitouch on mobiles", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "TouchSimulateMouse" + }, + "parameters": [ + "", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Don't read inputs if game is paused", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move to the left if left key is pressed or click on left button on mobile", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "LeftButton", + "Left", + "", + "" + ], + "subInstructions": [] + } + ] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateLeftKey" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "PlayerSprite", + "yes" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move to the right if right key is pressed or click on right button on mobile", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Right" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "RightButton", + "Left", + "", + "" + ], + "subInstructions": [] + } + ] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateRightKey" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "PlayerSprite", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Jump if up key is pressed or click on jump button on mobile\nIt works a single time per press (because the trigger once)", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Up" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "JumpButton", + "Left", + "", + "" + ], + "subInstructions": [] + } + ] + } + ] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateJumpKey" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "On floor animations, note that only one animation can be set at a time", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"idle\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"run\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "On air animations, note that only once animation can be set a time", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"jump\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"fall\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Teleport to the right if the player is totally out at left side", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Player", + "<", + "-Player.Width()/2" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Player", + "+", + "SceneWindowWidth() + Player.Width()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Teleport to the left if the player is totally out at right side", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Player", + ">", + "SceneWindowWidth() + Player.Width()/2" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Player", + "-", + "SceneWindowWidth() + Player.Width()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move the player sprite and feet (helper objects) over the player object\nIt is done while the game is running only, this way on game over we can move the sprite as we want", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gameRunning", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreXY" + }, + "parameters": [ + "PlayerSprite", + "=", + "Player.PointX(Sprite)", + "=", + "Player.PointY(Sprite)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreXY" + }, + "parameters": [ + "PlayerFeet", + "=", + "Player.PointX(Feet)", + "=", + "Player.PointY(Feet)" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Tutorial", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Deactivate camera movement and rocks throwing the first time to run the tutorial\nfirstPlay is a global variable with a starting value of 1", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "firstPlay", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "movingCamera", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "throwRocks", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Show the first tips (controls and background)", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "TutorialTips", + "step", + "=", + "1" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "TutorialTips", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Each time the player is over a new platform, deactivate the previous tips and show the next ones", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "PlayerFeet", + "Platform", + "", + "", + "no" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "TutorialTips", + "step", + "=", + "Platform.Variable(id)" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "TutorialTips" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "TutorialTips", + "step", + "=", + "Platform.Variable(id) + 1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "TutorialTips", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "In the second step (first platform) create a rock", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "id", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "throwRocks", + "Rock", + "SceneWindowWidth()/2 - Variable(rockWidth)/2", + "- Variable(rockWidth) - 250", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangePlan" + }, + "parameters": [ + "Rock", + "=", + "5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "Rock", + "0", + "Variable(rockSpeed)", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "In the last step flag the tutorial as complete setting the firstPlay global variable to 0, reset the scene since now won't launch the tutorial again\nAlso start moving the camera and throwing rocks", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "id", + "=", + "4" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "firstPlay", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "movingCamera", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "throwRocks", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Scoring", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If player steps on a new platform, add score and flag the platform as \"used\" to not give scores anymore\nNote that the score is not increased by 1 but by the amount of platforms, in this game it makes no difference, but this way if the player steps on two platforms at the same time the score will be increased by 2\nAlso update the text that shows the score", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "PlayerFeet", + "Platform", + "", + "", + "no" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "score", + "+", + "Count(Platform)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "ScoreText", + "=", + "ToString(Variable(score))" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If the player is in a spring jump it won't step on platforms, instead increase the score by the platforms it leaves below\nAgain, the score is increased by the amount of platforms, in case it moves too fast and leaves more than one platform behind in a single frame", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "springJumping", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Platform", + ">", + "Player.Y() + Player.Height()" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "score", + "+", + "Count(Platform)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "ScoreText", + "=", + "ToString(Variable(score))" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Camera movement", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Only move the camera if it's enabled\nMove the camera by the base speed + increased speed per platform times the number of platforms, everything limited by the maximum speed", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "movingCamera", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "totalMovingSpeed", + "=", + "min(Variable(movingSpeed) + Variable(increasedSpeedPerScore)*Variable(score), Variable(maxMovingSpeed))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ + "", + "-", + "Variable(totalMovingSpeed)*TimeDelta()", + "", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move the camera upward so the player is never off-focus\nOnly do it while the game is running, because in game over the player is deleted", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gameRunning", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ + "", + ">", + "Player.Y()", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ + "", + "=", + "Player.Y()", + "", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "The player is totally behind the camera, game over", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Player", + ">", + "CameraY(\"\",0) + CameraHeight(\"\",0)/2 + 20" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gameRunning", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Platforms", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "The camera top border is over the last platform position, create a new platform above and update the top platform limit\nAlso set a random value between 1 and 100 to decide if a spring must be created", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ + "", + "<", + "Variable(topY) + CameraHeight(\"\",0)/2 + Platform.Height()", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "topY", + "-", + "Variable(platformDistance) + Random(Variable(randomPlatformDistance))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "randomX", + "=", + "Random(SceneWindowWidth() - Platform.Width())" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Platform", + "Variable(randomX)", + "Variable(topY)", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangePlan" + }, + "parameters": [ + "Platform", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springRandom", + "=", + "RandomInRange(1, 100)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "The random value is inside the spring random chance, create the spring in a valid position over the platform", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "springRandom", + "<=", + "Variable(springChance)" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Spring", + "Variable(randomX) + Random(Platform.Width() - Variable(springWidth))", + "Variable(topY)", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangePlan" + }, + "parameters": [ + "Spring", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Delete platforms totally outside the camera view (plus player height so the player can stand in the edge a bit more)", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Platform", + ">", + "CameraY(\"\",0) + CameraHeight(\"\",0)/2 + Player.Height() + 20" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Platform", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Rocks", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Only throw rocks if it's enabled", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "throwRocks", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Create a rock above the camera limit (so the player can't see it being created) every rockTime seconds, and move it downwards", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Timer" + }, + "parameters": [ + "", + "Variable(rockTime)", + "\"throwRock\"" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"throwRock\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Rock", + "Random(300) - Variable(rockWidth)/2", + "Variable(topY)", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangePlan" + }, + "parameters": [ + "Rock", + "=", + "5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "Rock", + "0", + "Variable(rockSpeed)", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Rotate the rock to make it look a bit better", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "Rotate" + }, + "parameters": [ + "Rock", + "90", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Delete rocks totally outside the camera view", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Rock", + ">", + "CameraY(\"\",0) + CameraHeight(\"\",0)/2 + Player.Height() + 20" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Rock", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If the player collides with a rock, game over\nDon't kill the player if it's in a spring jump, that would be super unfair", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Player", + "Rock", + "", + "", + "yes" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "springJumping", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gameRunning", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Spring", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Reset to common jump speed if the player is on floor", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::JumpSpeed" + }, + "parameters": [ + "Player", + "PlatformerObject", + "=", + "Variable(commonJumpSpeed)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springJumping", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If the player is falling on a spring, increase the jump speed and launch it to the moon, also flag it as \"in a spring jump\"", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Player", + "Spring", + "", + "", + "no" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::JumpSpeed" + }, + "parameters": [ + "Player", + "PlatformerObject", + "=", + "Variable(springJumpSpeed)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SetCanJump" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateJumpKey" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangeAnimation" + }, + "parameters": [ + "Spring", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springJumping", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Pause", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Controls to pause only works while the game is running", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gameRunning", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Keyboard controls, switch the pause variable (0 to 1, or 1 to 0)", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "p" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gamePaused", + "=", + "1 - Variable(gamePaused)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Unpause, common time scale and hidden pause layer", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ChangeLayerTimeScale" + }, + "parameters": [ + "", + "\"\"", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Pause, time scale to 0 (so every moving thing won't move anymore) and show the pause layer", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ChangeLayerTimeScale" + }, + "parameters": [ + "", + "\"\"", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ShowLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Allow both desktop click and touch on the pause button", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": true, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisBouton" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + } + ] + }, + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + } + ] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Same than before, pause and unpause", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "PauseButton", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gamePaused", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangeLayerTimeScale" + }, + "parameters": [ + "", + "\"\"", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ShowLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "PlayButton", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangeLayerTimeScale" + }, + "parameters": [ + "", + "\"\"", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Game over", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Game over events run only on game over/game not running", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gameRunning", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "This event and its sub-events will run a single time on game over\nDelete the player (but leave the sprite), show the game over layer and update the final score text", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Player", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ShowLayer" + }, + "parameters": [ + "", + "\"GameOver\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "FinalScore", + "=", + "ToString(Variable(score))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "FinalScore", + "=", + "SceneWindowWidth()/2 - FinalScore.Width()/2" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If the new score is higher than the best score, update the best score and show the new record text", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "score", + ">", + "GlobalVariable(bestScore)" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "NewRecord", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "bestScore", + "=", + "Variable(score)" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Update the best score text", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "BestScore", + "=", + "\"BEST: \" + ToString(GlobalVariable(bestScore))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "BestScore", + "=", + "SceneWindowWidth()/2 - BestScore.Width()/2" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move the player sprite downwards, for a small falling effect when hit by a rock", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"fall\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "PlayerSprite", + "+", + "400*TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Reset button clicked or touched, reset the scene", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": true, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisBouton" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + } + ] + }, + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + } + ] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "RestartButton", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Game\"", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ], + "parameters": [] + } + ], + "layers": [ + { + "name": "Background", + "visibility": true, + "cameras": [], + "effects": [] + }, + { + "name": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + }, + { + "name": "GUI", + "visibility": false, + "cameras": [], + "effects": [] + }, + { + "name": "Pause", + "visibility": false, + "cameras": [], + "effects": [] + }, + { + "name": "GameOver", + "visibility": false, + "cameras": [], + "effects": [] + } + ], + "behaviorsSharedData": [ + { + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior" + }, + { + "name": "PlatformerObject", + "type": "PlatformBehavior::PlatformerObjectBehavior" + } + ] + } + ], + "externalEvents": [], + "eventsFunctionsExtensions": [], + "externalLayouts": [], + "externalSourceFiles": [] +} \ No newline at end of file diff --git a/newIDE/app/resources/examples/endless-up-runner/grassHalfMid.png b/newIDE/app/resources/examples/endless-up-runner/grassHalfMid.png new file mode 100755 index 000000000000..2a2cf7e54c42 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/grassHalfMid.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/hitbox.png b/newIDE/app/resources/examples/endless-up-runner/hitbox.png new file mode 100755 index 000000000000..fde7f1d1d838 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/hitbox.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/pauseButton.png b/newIDE/app/resources/examples/endless-up-runner/pauseButton.png new file mode 100755 index 000000000000..00e6663f5777 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/pauseButton.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/playButton.png b/newIDE/app/resources/examples/endless-up-runner/playButton.png new file mode 100755 index 000000000000..c1f3afd3dc0c Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/playButton.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player.png b/newIDE/app/resources/examples/endless-up-runner/player.png new file mode 100755 index 000000000000..d9e902a02353 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_fall_1.png b/newIDE/app/resources/examples/endless-up-runner/player_fall_1.png new file mode 100755 index 000000000000..06e1ec131e3d Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_fall_1.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_fall_2.png b/newIDE/app/resources/examples/endless-up-runner/player_fall_2.png new file mode 100755 index 000000000000..72cfdf3a8afb Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_fall_2.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_jump_1.png b/newIDE/app/resources/examples/endless-up-runner/player_jump_1.png new file mode 100755 index 000000000000..4df519d64ad5 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_jump_1.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_jump_2.png b/newIDE/app/resources/examples/endless-up-runner/player_jump_2.png new file mode 100755 index 000000000000..9047ddab90cb Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_jump_2.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_run_1.png b/newIDE/app/resources/examples/endless-up-runner/player_run_1.png new file mode 100755 index 000000000000..5053a86f9507 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_run_1.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_run_2.png b/newIDE/app/resources/examples/endless-up-runner/player_run_2.png new file mode 100755 index 000000000000..b2d760eb4cbd Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_run_2.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_run_3.png b/newIDE/app/resources/examples/endless-up-runner/player_run_3.png new file mode 100755 index 000000000000..ed46b5825388 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_run_3.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_run_4.png b/newIDE/app/resources/examples/endless-up-runner/player_run_4.png new file mode 100755 index 000000000000..33d9b0a07ba8 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_run_4.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_run_5.png b/newIDE/app/resources/examples/endless-up-runner/player_run_5.png new file mode 100755 index 000000000000..454d64cfb4bf Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_run_5.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/player_run_6.png b/newIDE/app/resources/examples/endless-up-runner/player_run_6.png new file mode 100755 index 000000000000..76e95b7928a9 Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/player_run_6.png differ diff --git a/newIDE/app/resources/examples/endless-up-runner/restartButton.png b/newIDE/app/resources/examples/endless-up-runner/restartButton.png new file mode 100755 index 000000000000..78774ca909be Binary files /dev/null and b/newIDE/app/resources/examples/endless-up-runner/restartButton.png differ diff --git a/newIDE/app/resources/examples/space-invaders/Audio/desktop.ini b/newIDE/app/resources/examples/space-invaders/Audio/desktop.ini new file mode 100755 index 000000000000..bb9f3d69c843 --- /dev/null +++ b/newIDE/app/resources/examples/space-invaders/Audio/desktop.ini @@ -0,0 +1,4 @@ +[ViewState] +Mode= +Vid= +FolderType=Generic diff --git a/newIDE/app/resources/examples/space-invaders/Audio/laser1.ogg b/newIDE/app/resources/examples/space-invaders/Audio/laser1.ogg new file mode 100755 index 000000000000..56ad23de07f7 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/Audio/laser1.ogg differ diff --git a/newIDE/app/resources/examples/space-invaders/Audio/laser8.ogg b/newIDE/app/resources/examples/space-invaders/Audio/laser8.ogg new file mode 100755 index 000000000000..9f8c8afcc6d7 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/Audio/laser8.ogg differ diff --git a/newIDE/app/resources/examples/space-invaders/Audio/lowRandom.ogg b/newIDE/app/resources/examples/space-invaders/Audio/lowRandom.ogg new file mode 100755 index 000000000000..ea39f82c74e1 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/Audio/lowRandom.ogg differ diff --git a/newIDE/app/resources/examples/space-invaders/Audio/twoTone1.ogg b/newIDE/app/resources/examples/space-invaders/Audio/twoTone1.ogg new file mode 100755 index 000000000000..82653ade96f4 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/Audio/twoTone1.ogg differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/Background1.jpeg b/newIDE/app/resources/examples/space-invaders/GFX/Background1.jpeg new file mode 100755 index 000000000000..c683d2cd8bc8 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/Background1.jpeg differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/Base.png b/newIDE/app/resources/examples/space-invaders/GFX/Base.png new file mode 100755 index 000000000000..79f157e148d1 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/Base.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/Fire.png b/newIDE/app/resources/examples/space-invaders/GFX/Fire.png new file mode 100755 index 000000000000..4aa1d2bec2f9 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/Fire.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/GDevelop.png b/newIDE/app/resources/examples/space-invaders/GFX/GDevelop.png new file mode 100755 index 000000000000..30e4238dbe79 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/GDevelop.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/Left.png b/newIDE/app/resources/examples/space-invaders/GFX/Left.png new file mode 100755 index 000000000000..ce0a4007fd13 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/Left.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/Right.png b/newIDE/app/resources/examples/space-invaders/GFX/Right.png new file mode 100755 index 000000000000..ecb529b1339b Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/Right.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/enemyBlack5.png b/newIDE/app/resources/examples/space-invaders/GFX/enemyBlack5.png new file mode 100755 index 000000000000..30e84dada728 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/enemyBlack5.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/enemyBlue1.png b/newIDE/app/resources/examples/space-invaders/GFX/enemyBlue1.png new file mode 100755 index 000000000000..dd0bf7357560 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/enemyBlue1.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/enemyGreen2.png b/newIDE/app/resources/examples/space-invaders/GFX/enemyGreen2.png new file mode 100755 index 000000000000..008e1148bc3e Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/enemyGreen2.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/laserGreen04.png b/newIDE/app/resources/examples/space-invaders/GFX/laserGreen04.png new file mode 100755 index 000000000000..81f7e2b09a57 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/laserGreen04.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/laserRed06.png b/newIDE/app/resources/examples/space-invaders/GFX/laserRed06.png new file mode 100755 index 000000000000..7d4960672940 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/laserRed06.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/playerShip1_red.png b/newIDE/app/resources/examples/space-invaders/GFX/playerShip1_red.png new file mode 100755 index 000000000000..30b9ad57d5ec Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/playerShip1_red.png differ diff --git a/newIDE/app/resources/examples/space-invaders/GFX/spaceStation_028.png b/newIDE/app/resources/examples/space-invaders/GFX/spaceStation_028.png new file mode 100755 index 000000000000..5a22aed6497a Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/GFX/spaceStation_028.png differ diff --git a/newIDE/app/resources/examples/space-invaders/Kenney Future Narrow.ttf b/newIDE/app/resources/examples/space-invaders/Kenney Future Narrow.ttf new file mode 100755 index 000000000000..42f2c33a2ad8 Binary files /dev/null and b/newIDE/app/resources/examples/space-invaders/Kenney Future Narrow.ttf differ diff --git a/newIDE/app/resources/examples/space-invaders/README.md b/newIDE/app/resources/examples/space-invaders/README.md new file mode 100644 index 000000000000..9847904c43ce --- /dev/null +++ b/newIDE/app/resources/examples/space-invaders/README.md @@ -0,0 +1 @@ +A Space Invaders-like game, where you have a turret and shoot on enemies coming from the sky. \ No newline at end of file diff --git a/newIDE/app/resources/examples/space-invaders/space-invaders.json b/newIDE/app/resources/examples/space-invaders/space-invaders.json new file mode 100755 index 000000000000..d70f7c72fbb0 --- /dev/null +++ b/newIDE/app/resources/examples/space-invaders/space-invaders.json @@ -0,0 +1,7183 @@ +{ + "firstLayout": "", + "gdVersion": { + "build": 98, + "major": 4, + "minor": 0, + "revision": 0 + }, + "properties": { + "adMobAppId": "", + "folderProject": false, + "linuxExecutableFilename": "", + "macExecutableFilename": "", + "orientation": "landscape", + "packageName": "com.zat.invaders", + "projectFile": "G:\\Games\\Invaders\\invaders.json", + "scaleMode": "linear", + "sizeOnStartupMode": "adaptWidth", + "useExternalSourceFiles": false, + "version": "1.0.0", + "winExecutableFilename": "", + "winExecutableIconFile": "", + "name": "Invaders", + "author": "Zat", + "windowWidth": 960, + "windowHeight": 540, + "latestCompilationDirectory": "", + "maxFPS": 60, + "minFPS": 10, + "verticalSync": false, + "platformSpecificAssets": {}, + "loadingScreen": { + "showGDevelopSplash": true + }, + "extensions": [ + { + "name": "BuiltinObject" + }, + { + "name": "BuiltinAudio" + }, + { + "name": "BuiltinVariables" + }, + { + "name": "BuiltinTime" + }, + { + "name": "BuiltinMouse" + }, + { + "name": "BuiltinKeyboard" + }, + { + "name": "BuiltinJoystick" + }, + { + "name": "BuiltinCamera" + }, + { + "name": "BuiltinWindow" + }, + { + "name": "BuiltinFile" + }, + { + "name": "BuiltinNetwork" + }, + { + "name": "BuiltinScene" + }, + { + "name": "BuiltinAdvanced" + }, + { + "name": "Sprite" + }, + { + "name": "BuiltinCommonInstructions" + }, + { + "name": "BuiltinCommonConversions" + }, + { + "name": "BuiltinStringInstructions" + }, + { + "name": "BuiltinMathematicalTools" + }, + { + "name": "BuiltinExternalLayouts" + } + ], + "platforms": [ + { + "name": "GDevelop JS platform" + } + ], + "currentPlatform": "GDevelop JS platform" + }, + "resources": { + "resources": [ + { + "alwaysLoaded": false, + "file": "GFX/Background1.jpeg", + "kind": "image", + "metadata": "", + "name": "Background1.jpeg", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "GFX/playerShip1_red.png", + "kind": "image", + "metadata": "", + "name": "playerShip1_red.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "GFX/enemyGreen2.png", + "kind": "image", + "metadata": "", + "name": "enemyGreen2.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "GFX/enemyBlack5.png", + "kind": "image", + "metadata": "", + "name": "enemyBlack5.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "GFX/enemyBlue1.png", + "kind": "image", + "metadata": "", + "name": "enemyBlue1.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "GFX/spaceStation_028.png", + "kind": "image", + "metadata": "", + "name": "spaceStation_028.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "GFX/laserRed06.png", + "kind": "image", + "metadata": "", + "name": "laserRed06.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "GFX/laserGreen04.png", + "kind": "image", + "metadata": "", + "name": "laserGreen04.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "GFX/Base.png", + "kind": "image", + "metadata": "", + "name": "Base.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "GFX/GDevelop.png", + "kind": "image", + "metadata": "", + "name": "GDevelop.png", + "smoothed": true, + "userAdded": false + }, + { + "file": "Audio/laser1.ogg", + "kind": "audio", + "metadata": "", + "name": "laser1.ogg", + "userAdded": true + }, + { + "file": "Audio/laser8.ogg", + "kind": "audio", + "metadata": "", + "name": "laser8.ogg", + "userAdded": true + }, + { + "file": "Audio/twoTone1.ogg", + "kind": "audio", + "metadata": "", + "name": "twoTone1.ogg", + "userAdded": true + }, + { + "file": "Audio/lowRandom.ogg", + "kind": "audio", + "metadata": "", + "name": "lowRandom.ogg", + "userAdded": true + }, + { + "file": "Kenney Future Narrow.ttf", + "kind": "font", + "metadata": "", + "name": "Kenney Future Narrow.ttf", + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "GFX/Left.png", + "kind": "image", + "metadata": "", + "name": "GFX\\Left.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "GFX/Right.png", + "kind": "image", + "metadata": "", + "name": "GFX\\Right.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "GFX/Fire.png", + "kind": "image", + "metadata": "", + "name": "GFX\\Fire.png", + "smoothed": true, + "userAdded": true + } + ], + "resourceFolders": [] + }, + "objects": [], + "objectsGroups": [], + "variables": [ + { + "name": "Score", + "value": "" + } + ], + "layouts": [ + { + "b": 209, + "disableInputWhenNotFocused": true, + "mangledName": "Phase1", + "name": "Phase1", + "oglFOV": 90, + "oglZFar": 500, + "oglZNear": 1, + "r": 209, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 209, + "uiSettings": { + "grid": false, + "gridB": 255, + "gridG": 180, + "gridHeight": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridR": 158, + "gridWidth": 32, + "snap": true, + "windowMask": false, + "zoomFactor": 1 + }, + "objectsGroups": [ + { + "name": "Enemy", + "objects": [ + { + "name": "Invader1" + }, + { + "name": "Invader2" + }, + { + "name": "Invader3" + } + ] + } + ], + "variables": [ + { + "name": "Direction", + "value": "" + }, + { + "name": "Score", + "value": "" + }, + { + "name": "InvaderCOUNT", + "value": "" + }, + { + "name": "Delay", + "value": "" + }, + { + "name": "Row", + "value": "" + }, + { + "name": "Invader1", + "value": "" + }, + { + "name": "Invader2", + "value": "" + }, + { + "name": "Invader3", + "value": "" + }, + { + "name": "UFOTime", + "value": "" + }, + { + "name": "BombNUM", + "value": "" + }, + { + "name": "RandVAR", + "value": "" + }, + { + "name": "BombMAX", + "value": "" + }, + { + "name": "BombFREQ", + "value": "" + } + ], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Ship", + "width": 0, + "x": 497, + "y": 459, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 557, + "layer": "", + "locked": true, + "name": "Background", + "width": 1077, + "x": -15, + "y": -14, + "zOrder": -10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 128, + "layer": "Controls", + "locked": false, + "name": "Left", + "width": 128, + "x": 11, + "y": 404, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 128, + "layer": "Controls", + "locked": false, + "name": "Right", + "width": 128, + "x": 135, + "y": 404, + "zOrder": 3, + "numberProperties": [ + { + "name": "animation", + "value": 0 + } + ], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 128, + "layer": "Controls", + "locked": false, + "name": "Fire", + "width": 128, + "x": 915, + "y": 404, + "zOrder": 4, + "numberProperties": [ + { + "name": "animation", + "value": 0 + } + ], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Count", + "width": 0, + "x": 746, + "y": 597, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 20, + "layer": "", + "locked": false, + "name": "ScoreNUM", + "width": 89, + "x": 110, + "y": 19, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "ScoreTEXT", + "width": 0, + "x": 25, + "y": 19, + "zOrder": 8, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "BombTextNUM", + "width": 0, + "x": 667, + "y": 599, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 386, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 398, + "y": 378, + "zOrder": 11, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 363, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 413, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 348, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 413, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 348, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 363, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 368, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 373, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 378, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 383, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 388, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 388, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 383, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 378, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 378, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 383, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 373, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 388, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 393, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 373, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 368, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 398, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 363, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 348, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 413, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 368, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 393, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 398, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 393, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 413, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 348, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 398, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 363, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 386, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 624, + "y": 378, + "zOrder": 11, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 589, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 639, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 574, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 639, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 574, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 589, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 594, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 599, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 604, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 609, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 614, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 614, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 609, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 604, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 604, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 609, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 599, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 614, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 619, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 599, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 594, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 624, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 589, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 574, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 639, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 594, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 619, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 624, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 619, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 639, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 574, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 624, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 589, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 386, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 173, + "y": 378, + "zOrder": 11, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 138, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 188, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 123, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 188, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 123, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 138, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 143, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 148, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 153, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 158, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 163, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 163, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 158, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 153, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 153, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 158, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 148, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 163, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 168, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 148, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 143, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 173, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 138, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 123, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 188, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 143, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 168, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 173, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 168, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 188, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 123, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 173, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 138, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 386, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 847, + "y": 378, + "zOrder": 11, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 812, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 862, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 797, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 862, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 797, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 812, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 817, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 822, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 827, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 832, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 837, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 837, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 832, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 827, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 827, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 832, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 822, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 837, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 842, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 822, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 817, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 847, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 812, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 797, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 862, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 817, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 842, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 847, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 842, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 862, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 797, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 847, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 812, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "name": "Invader1", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "Invader", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "enemyGreen2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Invader2", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "enemyBlack5.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Invader3", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "enemyBlue1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Ship", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "Ship", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "playerShip1_red.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 21, + "y": 16 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [ + [ + { + "x": 24, + "y": 24 + }, + { + "x": 56, + "y": 24 + }, + { + "x": 56, + "y": 56 + }, + { + "x": 24, + "y": 56 + } + ] + ] + } + ] + } + ] + } + ] + }, + { + "name": "Background", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Background1.jpeg", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Bullet", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "extraBorder": 0, + "name": "DestroyOutside", + "type": "DestroyOutsideBehavior::DestroyOutside" + } + ], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "laserRed06.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 4, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Left", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "GFX\\Left.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Right", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "GFX\\Right.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Fire", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "GFX\\Fire.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": false, + "italic": false, + "name": "ScoreTEXT", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "SCORE:", + "font": "Kenney Future Narrow.ttf", + "characterSize": 20, + "color": { + "b": 255, + "g": 255, + "r": 255 + } + }, + { + "bold": false, + "italic": false, + "name": "ScoreNUM", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "00000", + "font": "Kenney Future Narrow.ttf", + "characterSize": 20, + "color": { + "b": 255, + "g": 255, + "r": 255 + } + }, + { + "name": "UFO", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "extraBorder": 0, + "name": "DestroyOutside", + "type": "DestroyOutsideBehavior::DestroyOutside" + } + ], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "spaceStation_028.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Bomb", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "laserGreen04.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": false, + "italic": false, + "name": "Count", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "24", + "font": "", + "characterSize": 20, + "color": { + "b": 255, + "g": 255, + "r": 255 + } + }, + { + "bold": false, + "italic": false, + "name": "BombTextNUM", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "Text", + "font": "", + "characterSize": 20, + "color": { + "b": 255, + "g": 255, + "r": 255 + } + }, + { + "name": "Base", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Base.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + } + ], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Initialise Scene", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"InvaderTimer\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"UFOTimer\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Direction", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Row", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader1", + "=", + "1\n" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader2", + "=", + "1\n" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader3", + "=", + "1\n" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "UFOTime", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "InvaderCOUNT", + "=", + "24" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombMAX", + "=", + "4" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombFREQ", + "=", + "2" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If game is not running on Mobile do not display the touch controls", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"Controls\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Create the wave of invaders", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "infiniteLoopWarning": true, + "type": "BuiltinCommonInstructions::While", + "whileConditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Invader1", + "<", + "9" + ], + "subInstructions": [] + } + ], + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Invader1", + "Variable(Invader1)*60\n", + "0", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader1", + "+", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Invader2", + "Variable(Invader2)*60\n", + "40", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader2", + "+", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Invader3", + "Variable(Invader3)*60\n", + "80", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader3", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Invaders", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move Invaders each 'Delay' sec", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Timer" + }, + "parameters": [ + "", + "Variable(Delay)", + "\"InvaderTimer\"" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Invader1", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Invader1", + "+", + "40*Variable(Direction)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Invader1", + "=", + "20+(20*Variable(Row))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "RandVAR", + "=", + "RandomInRange(0, 30)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "BombNUM", + "<", + "Variable(BombMAX)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "RandVAR", + "<", + "Variable(BombFREQ)" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bomb", + "Invader1.X()", + "Invader1.Y()", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Invader2", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Invader2", + "+", + "40*Variable(Direction)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Invader2", + "=", + "60+(20*Variable(Row))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "RandVAR", + "=", + "RandomInRange(0, 30)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "BombNUM", + "<", + "Variable(BombMAX)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "RandVAR", + "<", + "Variable(BombFREQ)" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bomb", + "Invader1.X()", + "Invader1.Y()", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Invader3", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Invader3", + "+", + "40*Variable(Direction)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Invader3", + "=", + "100+(20*Variable(Row))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "RandVAR", + "=", + "RandomInRange(0, 30)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "BombNUM", + "<", + "Variable(BombMAX)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "RandVAR", + "<", + "Variable(BombFREQ)" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bomb", + "Invader1.X()", + "Invader1.Y()", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"InvaderTimer\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "lowRandom.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Did an Invader reach the edge of screen?", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Enemy", + "<", + "60" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Direction", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Row", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Delay", + ">", + "0.1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "-", + "0.1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Enemy", + ">", + "980" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Direction", + "=", + "-1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Row", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Did an Invader hit the Base", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Enemy", + "Base", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Base", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Speed of Invaders increases as their numbers diminish", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "InvaderCOUNT", + "<", + "18" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.4" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombMAX", + "=", + "6" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "InvaderCOUNT", + "<", + "12" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.3" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombMAX", + "=", + "7" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "InvaderCOUNT", + "<", + "7" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.2" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombMAX", + "=", + "8" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "InvaderCOUNT", + "<", + "3" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Player Input Move", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Player on Mobile", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "LayerVisible" + }, + "parameters": [ + "", + "\"Controls\"" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SourisBouton" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "Left", + "", + "yes", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Ship", + ">", + "50" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Ship", + "-", + "120 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "Right", + "", + "yes", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Ship", + "<", + "1000" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Ship", + "+", + "120 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "Fire", + "", + "yes", + "" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "NbObjet" + }, + "parameters": [ + "Bullet", + "<", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bullet", + "Ship.X()", + "Ship.Y()-20", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser8.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Player using keyboard", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "LayerVisible" + }, + "parameters": [ + "", + "\"Controls\"" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Ship", + ">", + "50" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Ship", + "-", + "120 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Right" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Ship", + "<", + "1000" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Ship", + "+", + "120 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Space" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "LControl" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "NbObjet" + }, + "parameters": [ + "Bullet", + "<", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bullet", + "Ship.X()", + "Ship.Y()-20", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser8.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ] + } + ], + "parameters": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Bullets", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Bullet", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Bullet", + "-", + "300 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Bullet", + "Enemy", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bullet", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Enemy", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "InvaderCOUNT", + "-", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Score", + "+", + "10 / Variable(Delay)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser1.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Bullet", + "Bomb", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bullet", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bomb", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "-", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser1.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Bullet", + "Base", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bullet", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Base", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser1.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Bombs", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Bomb", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Bomb", + "+", + "180 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Bomb", + ">", + "600" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bomb", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "-", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Bomb", + "Base", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bomb", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Base", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "-", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser1.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "UFO", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Timer" + }, + "parameters": [ + "", + "15", + "\"UFOTimer\"" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "UFO", + "0", + "60", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"UFOTimer\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "UFO", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "UFO", + "+", + "90 * TimeDelta()" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "twoTone1.ogg", + "no", + "5", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "UFO", + "Bullet", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bullet", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "UFO", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Score", + "+", + "200" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "UFOTime", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "All Enemies dead? Load Phase1 again, or Phase2, 3 etc if you have more :)", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "NbObjet" + }, + "parameters": [ + "Enemy", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Phase1\"", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Update GUI", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Score", + "=", + "trunc(GlobalVariable(Score))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "ScoreNUM", + "=", + "LargeNumberToString(GlobalVariable(Score))" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Invaded!", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Invaders have collided with player ship :( Go back to Title, or a Game Over screen, Leaderboard if you have one.", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Ship", + "Enemy", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Ship", + "Bomb", + "", + "" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Title\"", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": true, + "folded": false, + "name": "Debugging", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "Count", + "=", + "VariableString(InvaderCOUNT)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "BombTextNUM", + "=", + "VariableString(BombNUM)" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [], + "events": [] + } + ], + "layers": [ + { + "name": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + }, + { + "name": "Controls", + "visibility": true, + "cameras": [], + "effects": [] + } + ], + "behaviorsSharedData": [] + }, + { + "b": 209, + "disableInputWhenNotFocused": true, + "mangledName": "Title", + "name": "Title", + "oglFOV": 90, + "oglZFar": 500, + "oglZNear": 1, + "r": 209, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 209, + "uiSettings": { + "grid": false, + "gridB": 255, + "gridG": 180, + "gridHeight": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridR": 158, + "gridWidth": 32, + "snap": true, + "windowMask": true, + "zoomFactor": 0.784 + }, + "objectsGroups": [], + "variables": [], + "instances": [ + { + "angle": 0, + "customSize": true, + "height": 206, + "layer": "", + "locked": false, + "name": "Title", + "width": 831, + "x": 178, + "y": 49, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Instruction2", + "width": 0, + "x": 139, + "y": 351, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 557, + "layer": "", + "locked": false, + "name": "Background", + "width": 1077, + "x": -15, + "y": -14, + "zOrder": -3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 87, + "layer": "", + "locked": false, + "name": "NewObject3", + "width": 308, + "x": 518, + "y": 462, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Instruction1", + "width": 0, + "x": 133, + "y": 242, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "name": "Background", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Background1.jpeg", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": true, + "italic": false, + "name": "Title", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "INVADERS", + "font": "Kenney Future Narrow.ttf", + "characterSize": 140, + "color": { + "b": 0, + "g": 0, + "r": 178 + } + }, + { + "bold": false, + "italic": false, + "name": "Instruction1", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "Desktop - Left, Right to move base, Ctrl or Space to Fire. \n\nMobile - Use touch controls", + "font": "Kenney Future Narrow.ttf", + "characterSize": 24, + "color": { + "b": 133, + "g": 251, + "r": 250 + } + }, + { + "bold": false, + "italic": false, + "name": "Instruction2", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "Touch or press any key to start.", + "font": "Kenney Future Narrow.ttf", + "characterSize": 40, + "color": { + "b": 76, + "g": 218, + "r": 145 + } + }, + { + "name": "NewObject3", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "GDevelop.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 277, + "y": 112 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetFullScreen" + }, + "parameters": [ + "", + "yes", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "TitleDELAY" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Score", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Wait before allowing to start a new game", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Timer" + }, + "parameters": [ + "", + "2", + "TitleDELAY" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "SourisBouton" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "AnyKeyPressed" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Phase1\"", + "yes" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ], + "layers": [ + { + "name": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "behaviorsSharedData": [] + } + ], + "externalEvents": [], + "eventsFunctionsExtensions": [], + "externalLayouts": [], + "externalSourceFiles": [] +} \ No newline at end of file diff --git a/newIDE/app/src/ProjectCreation/BrowserExamples.js b/newIDE/app/src/ProjectCreation/BrowserExamples.js index de440c35092d..4c21fba456f5 100644 --- a/newIDE/app/src/ProjectCreation/BrowserExamples.js +++ b/newIDE/app/src/ProjectCreation/BrowserExamples.js @@ -38,6 +38,7 @@ const exampleNames = [ 'downhill-bike-physics-demo', 'drag-camera-with-mouse', 'drop-collect-items-from-storage', + 'endless-up-runner', 'exit-app', 'facebook-instant-game', 'find-diagonals', @@ -94,6 +95,7 @@ const exampleNames = [ 'shoot-bullets', 'shooting-bullets-explanation', 'snap-object-to-grid', + 'space-invaders', 'space-shooter-with-functions', 'space-shooter', 'splash-screen', diff --git a/newIDE/app/src/ProjectCreation/ExamplesInformation.js b/newIDE/app/src/ProjectCreation/ExamplesInformation.js index 3fe34dc4fd22..29293de82645 100644 --- a/newIDE/app/src/ProjectCreation/ExamplesInformation.js +++ b/newIDE/app/src/ProjectCreation/ExamplesInformation.js @@ -1050,6 +1050,59 @@ module.exports = { } ] }, + "endless-up-runner": { + "description": "A game where the player have to jump on platforms and avoid falling down as the screen goes up. With special objects (spring, rocks), score and Game Over handling!", + "usedExtensions": [ + { + "fullName": "Sprite", + "name": "Sprite" + }, + { + "fullName": "Text object", + "name": "TextObject" + }, + { + "fullName": "Platform Behavior", + "name": "PlatformBehavior" + }, + { + "fullName": "Scene management features", + "name": "BuiltinScene" + }, + { + "fullName": "System information", + "name": "SystemInfo" + }, + { + "fullName": "Variable features", + "name": "BuiltinVariables" + }, + { + "fullName": "Standard events", + "name": "BuiltinCommonInstructions" + }, + { + "fullName": "Keyboard features", + "name": "BuiltinKeyboard" + }, + { + "fullName": "Mouse features", + "name": "BuiltinMouse" + }, + { + "fullName": "Base object", + "name": "BuiltinObject" + }, + { + "fullName": "Cameras and layers features", + "name": "BuiltinCamera" + }, + { + "fullName": "Time", + "name": "BuiltinTime" + } + ] + }, "exit-app": { "description": "Simple example showing how to close your game.", "usedExtensions": [ @@ -2910,6 +2963,67 @@ module.exports = { } ] }, + "space-invaders": { + "description": "A Space Invaders-like game, where you have a turret and shoot on enemies coming from the sky.", + "usedExtensions": [ + { + "fullName": "Sprite", + "name": "Sprite" + }, + { + "fullName": "Text object", + "name": "TextObject" + }, + { + "fullName": "Destroy Outside Screen Behavior", + "name": "DestroyOutsideBehavior" + }, + { + "fullName": "Scene management features", + "name": "BuiltinScene" + }, + { + "fullName": "System information", + "name": "SystemInfo" + }, + { + "fullName": "Variable features", + "name": "BuiltinVariables" + }, + { + "fullName": "Time", + "name": "BuiltinTime" + }, + { + "fullName": "Standard events", + "name": "BuiltinCommonInstructions" + }, + { + "fullName": "Base object", + "name": "BuiltinObject" + }, + { + "fullName": "Cameras and layers features", + "name": "BuiltinCamera" + }, + { + "fullName": "Mouse features", + "name": "BuiltinMouse" + }, + { + "fullName": "Keyboard features", + "name": "BuiltinKeyboard" + }, + { + "fullName": "Audio", + "name": "BuiltinAudio" + }, + { + "fullName": "Window features", + "name": "BuiltinWindow" + } + ] + }, "space-shooter": { "description": "A space shooter game (Shoot 'em up) made with GDevelop.", "usedExtensions": [ diff --git a/newIDE/app/src/ProjectsStorage/BrowserProjectOpener.js b/newIDE/app/src/ProjectsStorage/BrowserProjectOpener.js index 00efd6c754d6..be5e7d2282ba 100644 --- a/newIDE/app/src/ProjectsStorage/BrowserProjectOpener.js +++ b/newIDE/app/src/ProjectsStorage/BrowserProjectOpener.js @@ -27,6 +27,7 @@ import deviceVibration from '../fixtures/device-vibration/device-vibration.json' import downhillBikePhysicsDemo from '../fixtures/downhill-bike-physics-demo/downhill-bike-physics-demo.json'; import dragCameraWithMouse from '../fixtures/drag-camera-with-mouse/drag-camera-with-mouse.json'; import dropCollectItemsFromStorage from '../fixtures/drop-collect-items-from-storage/drop-collect-items-from-storage.json'; +import endlessUpRunner from '../fixtures/endless-up-runner/endless-up-runner.json'; import exitApp from '../fixtures/exit-app/exit-app.json'; import facebookInstantGame from '../fixtures/facebook-instant-game/facebook-instant-game.json'; import findDiagonals from '../fixtures/find-diagonals/find-diagonals.json'; @@ -83,6 +84,7 @@ import shootBulletInParabola from '../fixtures/shoot-bullet-in-parabola/shoot-bu import shootBullets from '../fixtures/shoot-bullets/shoot-bullets.json'; import shootingBulletsExplanation from '../fixtures/shooting-bullets-explanation/shooting-bullets-explanation.json'; import snapObjectToGrid from '../fixtures/snap-object-to-grid/snap-object-to-grid.json'; +import spaceInvaders from '../fixtures/space-invaders/space-invaders.json'; import spaceShooter from '../fixtures/space-shooter/space-shooter.json'; import spaceShooterWithFunctions from '../fixtures/space-shooter-with-functions/space-shooter-with-functions.json'; import splashScreen from '../fixtures/splash-screen/splash-screen.json'; @@ -163,6 +165,8 @@ export default class BrowserProjectOpener { return Promise.resolve(dragCameraWithMouse); } else if (url === 'example://drop-collect-items-from-storage') { return Promise.resolve(dropCollectItemsFromStorage); + } else if (url === 'example://endless-up-runner') { + return Promise.resolve(endlessUpRunner); } else if (url === 'example://exit-app') { return Promise.resolve(exitApp); } else if (url === 'example://facebook-instant-game') { @@ -267,6 +271,8 @@ export default class BrowserProjectOpener { return Promise.resolve(shootingBulletsExplanation); } else if (url === 'example://snap-object-to-grid') { return Promise.resolve(snapObjectToGrid); + } else if (url === 'example://space-invaders') { + return Promise.resolve(spaceInvaders); } else if (url === 'example://space-shooter') { return Promise.resolve(spaceShooter); } else if (url === 'example://space-shooter-with-functions') { diff --git a/newIDE/app/src/fixtures/admob/admob.json b/newIDE/app/src/fixtures/admob/admob.json index 84eea99d3e4a..4acf6dc61755 100644 --- a/newIDE/app/src/fixtures/admob/admob.json +++ b/newIDE/app/src/fixtures/admob/admob.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -1230,9 +1230,9 @@ "parameters": [ "ButtonText", "=", - "LoadAtTop.PointX(Centre) - ButtonText.Width()/2", + "LoadAtTop.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "LoadAtTop.PointY(Centre) - ButtonText.Height()/2" + "LoadAtTop.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -1279,9 +1279,9 @@ "parameters": [ "ButtonText", "=", - "LoadAtBottom.PointX(Centre) - ButtonText.Width()/2", + "LoadAtBottom.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "LoadAtBottom.PointY(Centre) - ButtonText.Height()/2" + "LoadAtBottom.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -1328,9 +1328,9 @@ "parameters": [ "ButtonText", "=", - "Show.PointX(Centre) - ButtonText.Width()/2", + "Show.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "Show.PointY(Centre) - ButtonText.Height()/2" + "Show.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -1377,9 +1377,9 @@ "parameters": [ "ButtonText", "=", - "Hide.PointX(Centre) - ButtonText.Width()/2", + "Hide.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "Hide.PointY(Centre) - ButtonText.Height()/2" + "Hide.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -1426,9 +1426,9 @@ "parameters": [ "ButtonText", "=", - "LoadAtTopAndDisplay.PointX(Centre) - ButtonText.Width()/2", + "LoadAtTopAndDisplay.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "LoadAtTopAndDisplay.PointY(Centre) - ButtonText.Height()/2" + "LoadAtTopAndDisplay.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -1475,9 +1475,9 @@ "parameters": [ "ButtonText", "=", - "LoadAtBottomAndDisplay.PointX(Centre) - ButtonText.Width()/2", + "LoadAtBottomAndDisplay.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "LoadAtBottomAndDisplay.PointY(Centre) - ButtonText.Height()/2" + "LoadAtBottomAndDisplay.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -1524,9 +1524,9 @@ "parameters": [ "ButtonText", "=", - "Remove.PointX(Centre) - ButtonText.Width()/2", + "Remove.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "Remove.PointY(Centre) - ButtonText.Height()/2" + "Remove.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -1573,9 +1573,9 @@ "parameters": [ "ButtonText", "=", - "GoToInterstitials.PointX(Centre) - ButtonText.Width()/2", + "GoToInterstitials.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "GoToInterstitials.PointY(Centre) - ButtonText.Height()/2" + "GoToInterstitials.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -1622,9 +1622,9 @@ "parameters": [ "ButtonText", "=", - "GoToRewardVideos.PointX(Centre) - ButtonText.Width()/2", + "GoToRewardVideos.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "GoToRewardVideos.PointY(Centre) - ButtonText.Height()/2" + "GoToRewardVideos.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -2845,9 +2845,9 @@ "parameters": [ "ButtonText", "=", - "Load.PointX(Centre) - ButtonText.Width()/2", + "Load.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "Load.PointY(Centre) - ButtonText.Height()/2" + "Load.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -2894,9 +2894,9 @@ "parameters": [ "ButtonText", "=", - "Display.PointX(Centre) - ButtonText.Width()/2", + "Display.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "Display.PointY(Centre) - ButtonText.Height()/2" + "Display.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -2943,9 +2943,9 @@ "parameters": [ "ButtonText", "=", - "LoadAndDisplay.PointX(Centre) - ButtonText.Width()/2", + "LoadAndDisplay.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "LoadAndDisplay.PointY(Centre) - ButtonText.Height()/2" + "LoadAndDisplay.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -2992,9 +2992,9 @@ "parameters": [ "ButtonText", "=", - "GoToRewardVideos.PointX(Centre) - ButtonText.Width()/2", + "GoToRewardVideos.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "GoToRewardVideos.PointY(Centre) - ButtonText.Height()/2" + "GoToRewardVideos.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -3041,9 +3041,9 @@ "parameters": [ "ButtonText", "=", - "GoToBanners.PointX(Centre) - ButtonText.Width()/2", + "GoToBanners.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "GoToBanners.PointY(Centre) - ButtonText.Height()/2" + "GoToBanners.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -4148,9 +4148,9 @@ "parameters": [ "ButtonText", "=", - "Load.PointX(Centre) - ButtonText.Width()/2", + "Load.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "Load.PointY(Centre) - ButtonText.Height()/2" + "Load.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -4197,9 +4197,9 @@ "parameters": [ "ButtonText", "=", - "Display.PointX(Centre) - ButtonText.Width()/2", + "Display.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "Display.PointY(Centre) - ButtonText.Height()/2" + "Display.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -4246,9 +4246,9 @@ "parameters": [ "ButtonText", "=", - "LoadAndDisplay.PointX(Centre) - ButtonText.Width()/2", + "LoadAndDisplay.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "LoadAndDisplay.PointY(Centre) - ButtonText.Height()/2" + "LoadAndDisplay.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -4295,9 +4295,9 @@ "parameters": [ "ButtonText", "=", - "ClaimReward.PointX(Centre) - ButtonText.Width()/2", + "ClaimReward.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "ClaimReward.PointY(Centre) - ButtonText.Height()/2" + "ClaimReward.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -4344,9 +4344,9 @@ "parameters": [ "ButtonText", "=", - "GoToBanners.PointX(Centre) - ButtonText.Width()/2", + "GoToBanners.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "GoToBanners.PointY(Centre) - ButtonText.Height()/2" + "GoToBanners.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } @@ -4393,9 +4393,9 @@ "parameters": [ "ButtonText", "=", - "GoToInterstitials.PointX(Centre) - ButtonText.Width()/2", + "GoToInterstitials.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "GoToInterstitials.PointY(Centre) - ButtonText.Height()/2" + "GoToInterstitials.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } diff --git a/newIDE/app/src/fixtures/advanced-shape-based-painter/advanced-shape-based-painter.json b/newIDE/app/src/fixtures/advanced-shape-based-painter/advanced-shape-based-painter.json index 52ee26bd5158..de29b3480dfa 100644 --- a/newIDE/app/src/fixtures/advanced-shape-based-painter/advanced-shape-based-painter.json +++ b/newIDE/app/src/fixtures/advanced-shape-based-painter/advanced-shape-based-painter.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/animation-speed-scale/animation-speed-scale.json b/newIDE/app/src/fixtures/animation-speed-scale/animation-speed-scale.json index 646d221dff80..6e4bd6f2a6e0 100644 --- a/newIDE/app/src/fixtures/animation-speed-scale/animation-speed-scale.json +++ b/newIDE/app/src/fixtures/animation-speed-scale/animation-speed-scale.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/asteroids/asteroids.json b/newIDE/app/src/fixtures/asteroids/asteroids.json index 936d100e2e45..736885345eac 100644 --- a/newIDE/app/src/fixtures/asteroids/asteroids.json +++ b/newIDE/app/src/fixtures/asteroids/asteroids.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -5757,8 +5757,8 @@ "parameters": [ "", "engine_particle", - "player.PointX(engine)", - "player.PointY(engine) + Random(10)", + "player.PointX(\"engine\")", + "player.PointY(\"engine\") + Random(10)", "" ], "subInstructions": [] @@ -6281,8 +6281,8 @@ "parameters": [ "", "engine_particle", - "player.PointX(engine)", - "player.PointY(engine) + Random(10)", + "player.PointX(\"engine\")", + "player.PointY(\"engine\") + Random(10)", "" ], "subInstructions": [] @@ -6658,8 +6658,8 @@ "parameters": [ "", "player_bullet", - "player.PointX(firespot)", - "player.PointY(firespot)", + "player.PointX(\"firespot\")", + "player.PointY(\"firespot\")", "" ], "subInstructions": [] @@ -6917,8 +6917,8 @@ "parameters": [ "", "player_bullet", - "player.PointX(firespot)", - "player.PointY(firespot)", + "player.PointX(\"firespot\")", + "player.PointY(\"firespot\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/basic-ai-with-pathfinding/basic-ai-with-pathfinding.json b/newIDE/app/src/fixtures/basic-ai-with-pathfinding/basic-ai-with-pathfinding.json index 957c14bf7787..374d3fb0c130 100644 --- a/newIDE/app/src/fixtures/basic-ai-with-pathfinding/basic-ai-with-pathfinding.json +++ b/newIDE/app/src/fixtures/basic-ai-with-pathfinding/basic-ai-with-pathfinding.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -1718,8 +1718,8 @@ "parameters": [ "", "Alert", - "IA.PointX(Center)", - "IA.PointY(Center)", + "IA.PointX(\"Center\")", + "IA.PointY(\"Center\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/basic-artificial-intelligence/basic-artificial-intelligence.json b/newIDE/app/src/fixtures/basic-artificial-intelligence/basic-artificial-intelligence.json index 4041580e4bfe..b5ccc0cd2bd2 100644 --- a/newIDE/app/src/fixtures/basic-artificial-intelligence/basic-artificial-intelligence.json +++ b/newIDE/app/src/fixtures/basic-artificial-intelligence/basic-artificial-intelligence.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -1488,8 +1488,8 @@ "parameters": [ "", "Alert", - "IA.PointX(Center)", - "IA.PointY(Center)", + "IA.PointX(\"Center\")", + "IA.PointY(\"Center\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/basic-topdown-car-driving/basic-topdown-car-driving.json b/newIDE/app/src/fixtures/basic-topdown-car-driving/basic-topdown-car-driving.json index 4b4d009ab9fb..c19070809efb 100644 --- a/newIDE/app/src/fixtures/basic-topdown-car-driving/basic-topdown-car-driving.json +++ b/newIDE/app/src/fixtures/basic-topdown-car-driving/basic-topdown-car-driving.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -3176,8 +3176,8 @@ "parameters": [ "", "etincelle", - "Voiture.PointX(Centre)", - "Voiture.PointY(Centre)", + "Voiture.PointX(\"Centre\")", + "Voiture.PointY(\"Centre\")", "" ], "subInstructions": [] @@ -3190,8 +3190,8 @@ "parameters": [ "", "etincelle", - "Voiture.PointX(Centre)", - "Voiture.PointY(Centre)", + "Voiture.PointX(\"Centre\")", + "Voiture.PointY(\"Centre\")", "" ], "subInstructions": [] @@ -3204,8 +3204,8 @@ "parameters": [ "", "etincelle", - "Voiture.PointX(Centre)", - "Voiture.PointY(Centre)", + "Voiture.PointX(\"Centre\")", + "Voiture.PointY(\"Centre\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/bomb-the-crate/bomb-the-crate.json b/newIDE/app/src/fixtures/bomb-the-crate/bomb-the-crate.json index a7b407f100d2..764c6d12772b 100644 --- a/newIDE/app/src/fixtures/bomb-the-crate/bomb-the-crate.json +++ b/newIDE/app/src/fixtures/bomb-the-crate/bomb-the-crate.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/bouncing-ball-and-rope/bouncing-ball-and-rope.json b/newIDE/app/src/fixtures/bouncing-ball-and-rope/bouncing-ball-and-rope.json index e4237a7acddf..9f4482bb186d 100644 --- a/newIDE/app/src/fixtures/bouncing-ball-and-rope/bouncing-ball-and-rope.json +++ b/newIDE/app/src/fixtures/bouncing-ball-and-rope/bouncing-ball-and-rope.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -1657,8 +1657,8 @@ "parameters": [ "Group", "Physics2Behavior", - "Group.PointX(Swing)", - "Group.PointY(Swing)", + "Group.PointX(\"Swing\")", + "Group.PointY(\"Swing\")", "MainChar", "MainChar.X()", "MainChar.Y()", @@ -1714,8 +1714,8 @@ "Rope", "MainChar.X()", "MainChar.Y()", - "Group.PointX(Swing)", - "Group.PointY(Swing)", + "Group.PointX(\"Swing\")", + "Group.PointY(\"Swing\")", "3" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/breakout/breakout.json b/newIDE/app/src/fixtures/breakout/breakout.json index 8de3968c320d..f1650740c487 100644 --- a/newIDE/app/src/fixtures/breakout/breakout.json +++ b/newIDE/app/src/fixtures/breakout/breakout.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/buttons/buttons.json b/newIDE/app/src/fixtures/buttons/buttons.json index 1399786be0ec..ff2393ef34f2 100644 --- a/newIDE/app/src/fixtures/buttons/buttons.json +++ b/newIDE/app/src/fixtures/buttons/buttons.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/car-physics/car-physics.json b/newIDE/app/src/fixtures/car-physics/car-physics.json index e2fcafb0e576..f63648980856 100644 --- a/newIDE/app/src/fixtures/car-physics/car-physics.json +++ b/newIDE/app/src/fixtures/car-physics/car-physics.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -1087,11 +1087,11 @@ "parameters": [ "Tire", "Physics2", - "Tire.PointX(Centre)", - "Tire.PointY(Centre)", + "Tire.PointX(\"Centre\")", + "Tire.PointY(\"Centre\")", "Car", - "Tire.PointX(Centre)", - "Tire.PointY(Centre)", + "Tire.PointX(\"Centre\")", + "Tire.PointY(\"Centre\")", "", "", "", diff --git a/newIDE/app/src/fixtures/center-object-within-another/center-object-within-another.json b/newIDE/app/src/fixtures/center-object-within-another/center-object-within-another.json index 4da7c1d87be7..45e1d10d88b8 100644 --- a/newIDE/app/src/fixtures/center-object-within-another/center-object-within-another.json +++ b/newIDE/app/src/fixtures/center-object-within-another/center-object-within-another.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/change-position-of-object/change-position-of-object.json b/newIDE/app/src/fixtures/change-position-of-object/change-position-of-object.json index 356c3cca72b3..310999926a29 100644 --- a/newIDE/app/src/fixtures/change-position-of-object/change-position-of-object.json +++ b/newIDE/app/src/fixtures/change-position-of-object/change-position-of-object.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/change-scale-of-sprites/change-scale-of-sprites.json b/newIDE/app/src/fixtures/change-scale-of-sprites/change-scale-of-sprites.json index 9768bbedd8ad..16257691072c 100644 --- a/newIDE/app/src/fixtures/change-scale-of-sprites/change-scale-of-sprites.json +++ b/newIDE/app/src/fixtures/change-scale-of-sprites/change-scale-of-sprites.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/change-sprite-animation/change-sprite-animation.json b/newIDE/app/src/fixtures/change-sprite-animation/change-sprite-animation.json index c50366c64702..61476f1e92e3 100644 --- a/newIDE/app/src/fixtures/change-sprite-animation/change-sprite-animation.json +++ b/newIDE/app/src/fixtures/change-sprite-animation/change-sprite-animation.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/change-sprite-color/change-sprite-color.json b/newIDE/app/src/fixtures/change-sprite-color/change-sprite-color.json index 1ee55b70c639..2aeefbd2b8b3 100644 --- a/newIDE/app/src/fixtures/change-sprite-color/change-sprite-color.json +++ b/newIDE/app/src/fixtures/change-sprite-color/change-sprite-color.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/character-selection/character-selection.json b/newIDE/app/src/fixtures/character-selection/character-selection.json index 763b31dded7a..568b898db29d 100644 --- a/newIDE/app/src/fixtures/character-selection/character-selection.json +++ b/newIDE/app/src/fixtures/character-selection/character-selection.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/controller-input/controller-input.json b/newIDE/app/src/fixtures/controller-input/controller-input.json index 56fac1615297..ee076e138198 100644 --- a/newIDE/app/src/fixtures/controller-input/controller-input.json +++ b/newIDE/app/src/fixtures/controller-input/controller-input.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/create-object-with-mouseclick/create-object-with-mouseclick.json b/newIDE/app/src/fixtures/create-object-with-mouseclick/create-object-with-mouseclick.json index 76b1cf65d9fc..b09778511784 100644 --- a/newIDE/app/src/fixtures/create-object-with-mouseclick/create-object-with-mouseclick.json +++ b/newIDE/app/src/fixtures/create-object-with-mouseclick/create-object-with-mouseclick.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/custom-font/custom-font.json b/newIDE/app/src/fixtures/custom-font/custom-font.json index cdd008933311..ddc4d8a4ea1f 100644 --- a/newIDE/app/src/fixtures/custom-font/custom-font.json +++ b/newIDE/app/src/fixtures/custom-font/custom-font.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/custom-mouse-pointer/custom-mouse-pointer.json b/newIDE/app/src/fixtures/custom-mouse-pointer/custom-mouse-pointer.json index 084767ab6e01..9748e8f16572 100644 --- a/newIDE/app/src/fixtures/custom-mouse-pointer/custom-mouse-pointer.json +++ b/newIDE/app/src/fixtures/custom-mouse-pointer/custom-mouse-pointer.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/customize-keys-with-lastpressedkey/customize-keys-with-lastpressedkey.json b/newIDE/app/src/fixtures/customize-keys-with-lastpressedkey/customize-keys-with-lastpressedkey.json index 463718bd15b7..c06a18b20707 100644 --- a/newIDE/app/src/fixtures/customize-keys-with-lastpressedkey/customize-keys-with-lastpressedkey.json +++ b/newIDE/app/src/fixtures/customize-keys-with-lastpressedkey/customize-keys-with-lastpressedkey.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/device-orientation-ballgame/device-orientation-ballgame.json b/newIDE/app/src/fixtures/device-orientation-ballgame/device-orientation-ballgame.json index 1f735ec2dfcc..91ed46b0802d 100644 --- a/newIDE/app/src/fixtures/device-orientation-ballgame/device-orientation-ballgame.json +++ b/newIDE/app/src/fixtures/device-orientation-ballgame/device-orientation-ballgame.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/device-orientation-compass/device-orientation-compass.json b/newIDE/app/src/fixtures/device-orientation-compass/device-orientation-compass.json index 7bd4d0746c75..23744a053e7c 100644 --- a/newIDE/app/src/fixtures/device-orientation-compass/device-orientation-compass.json +++ b/newIDE/app/src/fixtures/device-orientation-compass/device-orientation-compass.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/device-vibration/device-vibration.json b/newIDE/app/src/fixtures/device-vibration/device-vibration.json index 4769607ce07a..169ab81acf36 100644 --- a/newIDE/app/src/fixtures/device-vibration/device-vibration.json +++ b/newIDE/app/src/fixtures/device-vibration/device-vibration.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/drag-camera-with-mouse/drag-camera-with-mouse.json b/newIDE/app/src/fixtures/drag-camera-with-mouse/drag-camera-with-mouse.json index fb4338ca6285..a663a2d0d97f 100644 --- a/newIDE/app/src/fixtures/drag-camera-with-mouse/drag-camera-with-mouse.json +++ b/newIDE/app/src/fixtures/drag-camera-with-mouse/drag-camera-with-mouse.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/drop-collect-items-from-storage/drop-collect-items-from-storage.json b/newIDE/app/src/fixtures/drop-collect-items-from-storage/drop-collect-items-from-storage.json index e6bafb378b98..5da9678c7327 100644 --- a/newIDE/app/src/fixtures/drop-collect-items-from-storage/drop-collect-items-from-storage.json +++ b/newIDE/app/src/fixtures/drop-collect-items-from-storage/drop-collect-items-from-storage.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/endless-up-runner/endless-up-runner.json b/newIDE/app/src/fixtures/endless-up-runner/endless-up-runner.json new file mode 100644 index 000000000000..c29ef6e0b537 --- /dev/null +++ b/newIDE/app/src/fixtures/endless-up-runner/endless-up-runner.json @@ -0,0 +1,6007 @@ +{ + "firstLayout": "", + "gdVersion": { + "build": 98, + "major": 4, + "minor": 0, + "revision": 0 + }, + "properties": { + "adMobAppId": "", + "folderProject": false, + "linuxExecutableFilename": "", + "macExecutableFilename": "", + "orientation": "landscape", + "packageName": "com.example.gamename", + "projectFile": "C:\\Users\\pc\\Programacion\\gdevelop\\test\\EndlessRunningUp\\game.json", + "scaleMode": "linear", + "sizeOnStartupMode": "", + "useExternalSourceFiles": false, + "version": "1.0.0", + "winExecutableFilename": "", + "winExecutableIconFile": "", + "name": "Project", + "author": "", + "windowWidth": 300, + "windowHeight": 500, + "latestCompilationDirectory": "", + "maxFPS": 60, + "minFPS": 10, + "verticalSync": false, + "platformSpecificAssets": {}, + "loadingScreen": { + "showGDevelopSplash": true + }, + "extensions": [ + { + "name": "BuiltinObject" + }, + { + "name": "BuiltinAudio" + }, + { + "name": "BuiltinVariables" + }, + { + "name": "BuiltinTime" + }, + { + "name": "BuiltinMouse" + }, + { + "name": "BuiltinKeyboard" + }, + { + "name": "BuiltinJoystick" + }, + { + "name": "BuiltinCamera" + }, + { + "name": "BuiltinWindow" + }, + { + "name": "BuiltinFile" + }, + { + "name": "BuiltinNetwork" + }, + { + "name": "BuiltinScene" + }, + { + "name": "BuiltinAdvanced" + }, + { + "name": "Sprite" + }, + { + "name": "BuiltinCommonInstructions" + }, + { + "name": "BuiltinCommonConversions" + }, + { + "name": "BuiltinStringInstructions" + }, + { + "name": "BuiltinMathematicalTools" + }, + { + "name": "BuiltinExternalLayouts" + } + ], + "platforms": [ + { + "name": "GDevelop JS platform" + } + ], + "currentPlatform": "GDevelop JS platform" + }, + "resources": { + "resources": [ + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player.png", + "kind": "image", + "metadata": "", + "name": "player.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_jump_1.png", + "kind": "image", + "metadata": "", + "name": "player_jump_1.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_jump_2.png", + "kind": "image", + "metadata": "", + "name": "player_jump_2.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_run_1.png", + "kind": "image", + "metadata": "", + "name": "player_run_1.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_run_2.png", + "kind": "image", + "metadata": "", + "name": "player_run_2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_run_3.png", + "kind": "image", + "metadata": "", + "name": "player_run_3.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_run_4.png", + "kind": "image", + "metadata": "", + "name": "player_run_4.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_run_5.png", + "kind": "image", + "metadata": "", + "name": "player_run_5.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_run_6.png", + "kind": "image", + "metadata": "", + "name": "player_run_6.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_fall_1.png", + "kind": "image", + "metadata": "", + "name": "player_fall_1.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/player_fall_2.png", + "kind": "image", + "metadata": "", + "name": "player_fall_2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/grassHalfMid.png", + "kind": "image", + "metadata": "", + "name": "grassHalfMid.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/Rock.png", + "kind": "image", + "metadata": "", + "name": "Rock.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/hitbox.png", + "kind": "image", + "metadata": "", + "name": "hitbox.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/BlackMask.png", + "kind": "image", + "metadata": "", + "name": "BlackMask.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/pauseButton.png", + "kind": "image", + "metadata": "", + "name": "pauseButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/playButton.png", + "kind": "image", + "metadata": "", + "name": "playButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/restartButton.png", + "kind": "image", + "metadata": "", + "name": "restartButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/Feet.png", + "kind": "image", + "metadata": "", + "name": "Feet.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialRight.png", + "kind": "image", + "metadata": "", + "name": "TutorialRight.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialLeft.png", + "kind": "image", + "metadata": "", + "name": "TutorialLeft.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialJump.png", + "kind": "image", + "metadata": "", + "name": "TutorialJump.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialBackground.png", + "kind": "image", + "metadata": "", + "name": "TutorialBackground.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialJumpNext.png", + "kind": "image", + "metadata": "", + "name": "TutorialJumpNext.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialArrow.png", + "kind": "image", + "metadata": "", + "name": "TutorialArrow.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialRocks.png", + "kind": "image", + "metadata": "", + "name": "TutorialRocks.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialWarp1.png", + "kind": "image", + "metadata": "", + "name": "TutorialWarp1.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialWarp2.png", + "kind": "image", + "metadata": "", + "name": "TutorialWarp2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialFall.png", + "kind": "image", + "metadata": "", + "name": "TutorialFall.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialMoving.png", + "kind": "image", + "metadata": "", + "name": "TutorialMoving.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/LeftButton.png", + "kind": "image", + "metadata": "", + "name": "LeftButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/RightButton.png", + "kind": "image", + "metadata": "", + "name": "RightButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/JumpButton.png", + "kind": "image", + "metadata": "", + "name": "JumpButton.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/Spring1.png", + "kind": "image", + "metadata": "", + "name": "Spring1.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/Spring2.png", + "kind": "image", + "metadata": "", + "name": "Spring2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/endless-up-runner/TutorialFall2.png", + "kind": "image", + "metadata": "", + "name": "TutorialFall2.png", + "smoothed": true, + "userAdded": true + } + ], + "resourceFolders": [] + }, + "objects": [], + "objectsGroups": [], + "variables": [ + { + "name": "firstPlay", + "value": "1" + }, + { + "name": "bestScore", + "value": "0" + } + ], + "layouts": [ + { + "b": 30, + "disableInputWhenNotFocused": true, + "mangledName": "Game", + "name": "Game", + "oglFOV": 90, + "oglZFar": 500, + "oglZNear": 1, + "r": 30, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 30, + "uiSettings": { + "grid": false, + "gridB": 255, + "gridG": 180, + "gridHeight": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridR": 158, + "gridWidth": 32, + "snap": true, + "windowMask": false, + "zoomFactor": 1 + }, + "objectsGroups": [], + "variables": [], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "PlayerSprite", + "width": 0, + "x": 112, + "y": 387, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 280, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": -70, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 70, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 140, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 210, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 0, + "y": 460, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "used", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 111, + "y": 350, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "id", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 230, + "y": 240, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "id", + "value": "2" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 0, + "y": 130, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "id", + "value": "3" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Player", + "width": 0, + "x": 167, + "y": 423, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Platform", + "width": 0, + "x": 110, + "y": 20, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "id", + "value": "4" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 500, + "layer": "Pause", + "locked": false, + "name": "BlackMask", + "width": 300, + "x": 0, + "y": 0, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GUI", + "locked": false, + "name": "PauseButton", + "width": 0, + "x": 240, + "y": 10, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "Pause", + "locked": false, + "name": "PlayButton", + "width": 0, + "x": 125, + "y": 200, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 500, + "layer": "GameOver", + "locked": false, + "name": "BlackMask", + "width": 300, + "x": 0, + "y": 0, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "RestartButton", + "width": 0, + "x": 125, + "y": 300, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GUI", + "locked": false, + "name": "ScoreText", + "width": 0, + "x": 10, + "y": 3, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "PlayerFeet", + "width": 0, + "x": 158, + "y": 449, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": -65.556, + "customSize": true, + "height": 15, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 130, + "x": 120, + "y": 268, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 5 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "2" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 28, + "layer": "Background", + "locked": false, + "name": "TutorialTips", + "width": 147, + "x": 78, + "y": 432, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 3 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 51, + "layer": "Background", + "locked": false, + "name": "TutorialTips", + "width": 115, + "x": 0, + "y": 0, + "zOrder": 0, + "numberProperties": [ + { + "name": "animation", + "value": 0 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 51, + "layer": "Background", + "locked": false, + "name": "TutorialTips", + "width": 115, + "x": 0, + "y": 320, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 1 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 51, + "layer": "Background", + "locked": false, + "name": "TutorialTips", + "width": 115, + "x": 184, + "y": 320, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 2 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "1" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 30, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 171, + "x": 64, + "y": -134, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 9 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "5" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 50, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 93, + "x": 80, + "y": 230, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 4 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "2" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 83, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 154, + "x": 75, + "y": 64, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 6 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "2" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 86, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 66, + "x": 232, + "y": 99, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 7 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "3" + } + ] + }, + { + "angle": 0, + "customSize": true, + "height": 55, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 123, + "x": -16, + "y": 68, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 8 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "3" + } + ] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "FinalScoreTitle", + "width": 0, + "x": 78, + "y": 40, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "FinalScore", + "width": 0, + "x": 135, + "y": 102, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "NewRecord", + "width": 0, + "x": 4, + "y": 175, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "GameOver", + "locked": false, + "name": "BestScore", + "width": 0, + "x": 113, + "y": 242, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 420, + "layer": "GUI", + "locked": false, + "name": "LeftButton", + "width": 150, + "x": 1, + "y": 1, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 420, + "layer": "GUI", + "locked": false, + "name": "RightButton", + "width": 150, + "x": 150, + "y": 0, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 80, + "layer": "GUI", + "locked": false, + "name": "JumpButton", + "width": 300, + "x": 0, + "y": 420, + "zOrder": 0, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 30, + "layer": "", + "locked": false, + "name": "TutorialTips", + "width": 171, + "x": 62, + "y": -415, + "zOrder": 1, + "numberProperties": [ + { + "name": "animation", + "value": 11 + } + ], + "stringProperties": [], + "initialVariables": [ + { + "name": "step", + "value": "5" + } + ] + } + ], + "objects": [ + { + "name": "Player", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "acceleration": 9999, + "canGrabPlatforms": false, + "deceleration": 9999, + "gravity": 1000, + "ignoreDefaultControls": false, + "jumpSpeed": 680, + "maxFallingSpeed": 700, + "maxSpeed": 160, + "name": "PlatformerObject", + "roundCoordinates": true, + "slopeMaxAngle": 60, + "type": "PlatformBehavior::PlatformerObjectBehavior", + "xGrabTolerance": 10, + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "hitbox.png", + "points": [ + { + "name": "Sprite", + "x": -20, + "y": -15 + }, + { + "name": "Feet", + "x": 0, + "y": 48 + } + ], + "originPoint": { + "name": "origine", + "x": 12, + "y": 24 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "PlayerFeet", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Feet.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "PlayerSprite", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "idle", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "player.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "run", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.05, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "player_run_2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_3.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_4.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_5.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_6.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_run_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "jump", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.05, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "player_jump_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_jump_2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "fall", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.05, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "player_fall_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "player_fall_2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Platform", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "canBeGrabbed": true, + "name": "Platform", + "platformType": "Jumpthru", + "type": "PlatformBehavior::PlatformBehavior", + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "grassHalfMid.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Rock", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Rock.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": false, + "italic": false, + "name": "ScoreText", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "0", + "font": "", + "characterSize": 50, + "color": { + "b": 240, + "g": 240, + "r": 240 + } + }, + { + "name": "BlackMask", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "BlackMask.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "PauseButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "pauseButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Spring", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Spring1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 15, + "y": 25 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Spring2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 35, + "y": 38 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "PlayButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "playButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "RestartButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "restartButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "TutorialTips", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialBackground.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialLeft.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialRight.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialJump.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialJumpNext.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialArrow.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialRocks.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialWarp1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialWarp2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialMoving.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialFall.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "TutorialFall2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": false, + "italic": false, + "name": "FinalScoreTitle", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "SCORE:", + "font": "", + "characterSize": 40, + "color": { + "b": 240, + "g": 240, + "r": 240 + } + }, + { + "bold": false, + "italic": false, + "name": "FinalScore", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "0", + "font": "", + "characterSize": 50, + "color": { + "b": 240, + "g": 240, + "r": 240 + } + }, + { + "bold": true, + "italic": false, + "name": "NewRecord", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "NEW RECORD!", + "font": "", + "characterSize": 40, + "color": { + "b": 40, + "g": 193, + "r": 233 + } + }, + { + "bold": false, + "italic": false, + "name": "BestScore", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "BEST: 0", + "font": "", + "characterSize": 20, + "color": { + "b": 40, + "g": 193, + "r": 233 + } + }, + { + "name": "LeftButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "LeftButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "RightButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "RightButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "JumpButton", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "JumpButton.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + } + ], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Initialization", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Variables meaning:\nmovingCamera: 1 to move the camera upwards, 0 to stop it (used in the tutorial)\nmovingSpeed: Speed in pixels/second the camera will move\nincreasedSpeedPerScore: How much the speed is increased per score point\nmaxMovingSpeed: The maximum speed the camera can move at\ntopY: The top position where there's the topmost platform\nplatformDistance: The distance between created platforms\nrandomPlatformDistance: A small random offset to add to the distance\nthrowRocks: 1 to throw rocks, 0 to stop doing so, used in the tutorial\nrockTime: Time between each rock\nrockWidth: The width of the rock sprite, to create the rock in a single action\nrockSpeed: The speed in pixels/second the rocks will fall\nspringChance: The chance a spring will appear over a new platform, 100 means 100% chance.\nspringWidth: The width of the spring base\ncommonJumpSpeed: The common jump speed, needed to reset after a spring jump\nspringJumpSpeed: The jump speed when a spring is used\nspringJumping: 1 if the player is in the middle of a spring jump, 0 otherwise\ngamePaused: 1 to pause the game, 0 to continue\ngameRunning: 0 to run game over scripts, 1 to continue", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "movingCamera", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "movingSpeed", + "=", + "10" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "increasedSpeedPerScore", + "=", + "0.5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "maxMovingSpeed", + "=", + "100" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "topY", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "platformDistance", + "=", + "90" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "randomPlatformDistance", + "=", + "5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "throwRocks", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "rockTime", + "=", + "4" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "rockWidth", + "=", + "50" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "rockSpeed", + "=", + "80" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springChance", + "=", + "5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springWidth", + "=", + "20" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "commonJumpSpeed", + "=", + "680" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springJumpSpeed", + "=", + "2000" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springJumping", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gameRunning", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Set layers visibility and hide helper objects", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ShowLayer" + }, + "parameters": [ + "", + "\"GUI\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"GameOver\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "Player" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "PlayerFeet" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "TutorialTips" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "NewRecord" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Player controls", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Hide the buttons, they have an image only for better visualization during edition", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "LeftButton" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "RightButton" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "JumpButton" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Enable multitouch on mobiles", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "TouchSimulateMouse" + }, + "parameters": [ + "", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Don't read inputs if game is paused", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move to the left if left key is pressed or click on left button on mobile", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "LeftButton", + "Left", + "", + "" + ], + "subInstructions": [] + } + ] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateLeftKey" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "PlayerSprite", + "yes" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move to the right if right key is pressed or click on right button on mobile", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Right" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "RightButton", + "Left", + "", + "" + ], + "subInstructions": [] + } + ] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateRightKey" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "PlayerSprite", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Jump if up key is pressed or click on jump button on mobile\nIt works a single time per press (because the trigger once)", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Up" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "JumpButton", + "Left", + "", + "" + ], + "subInstructions": [] + } + ] + } + ] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateJumpKey" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "On floor animations, note that only one animation can be set at a time", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"idle\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"run\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "On air animations, note that only once animation can be set a time", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"jump\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"fall\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Teleport to the right if the player is totally out at left side", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Player", + "<", + "-Player.Width()/2" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Player", + "+", + "SceneWindowWidth() + Player.Width()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Teleport to the left if the player is totally out at right side", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Player", + ">", + "SceneWindowWidth() + Player.Width()/2" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Player", + "-", + "SceneWindowWidth() + Player.Width()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move the player sprite and feet (helper objects) over the player object\nIt is done while the game is running only, this way on game over we can move the sprite as we want", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gameRunning", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreXY" + }, + "parameters": [ + "PlayerSprite", + "=", + "Player.PointX(\"Sprite\")", + "=", + "Player.PointY(\"Sprite\")" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreXY" + }, + "parameters": [ + "PlayerFeet", + "=", + "Player.PointX(\"Feet\")", + "=", + "Player.PointY(\"Feet\")" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Tutorial", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Deactivate camera movement and rocks throwing the first time to run the tutorial\nfirstPlay is a global variable with a starting value of 1", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "firstPlay", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "movingCamera", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "throwRocks", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Show the first tips (controls and background)", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "TutorialTips", + "step", + "=", + "1" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "TutorialTips", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Each time the player is over a new platform, deactivate the previous tips and show the next ones", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "PlayerFeet", + "Platform", + "", + "", + "no" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "TutorialTips", + "step", + "=", + "Platform.Variable(id)" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "TutorialTips" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "TutorialTips", + "step", + "=", + "Platform.Variable(id) + 1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "TutorialTips", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "In the second step (first platform) create a rock", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "id", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "throwRocks", + "Rock", + "SceneWindowWidth()/2 - Variable(rockWidth)/2", + "- Variable(rockWidth) - 250", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangePlan" + }, + "parameters": [ + "Rock", + "=", + "5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "Rock", + "0", + "Variable(rockSpeed)", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "In the last step flag the tutorial as complete setting the firstPlay global variable to 0, reset the scene since now won't launch the tutorial again\nAlso start moving the camera and throwing rocks", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "id", + "=", + "4" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "firstPlay", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "movingCamera", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "throwRocks", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Scoring", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If player steps on a new platform, add score and flag the platform as \"used\" to not give scores anymore\nNote that the score is not increased by 1 but by the amount of platforms, in this game it makes no difference, but this way if the player steps on two platforms at the same time the score will be increased by 2\nAlso update the text that shows the score", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "PlayerFeet", + "Platform", + "", + "", + "no" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "score", + "+", + "Count(Platform)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "ScoreText", + "=", + "ToString(Variable(score))" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If the player is in a spring jump it won't step on platforms, instead increase the score by the platforms it leaves below\nAgain, the score is increased by the amount of platforms, in case it moves too fast and leaves more than one platform behind in a single frame", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "springJumping", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Platform", + ">", + "Player.Y() + Player.Height()" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "Platform", + "used", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "score", + "+", + "Count(Platform)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "ScoreText", + "=", + "ToString(Variable(score))" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Camera movement", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Only move the camera if it's enabled\nMove the camera by the base speed + increased speed per platform times the number of platforms, everything limited by the maximum speed", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "movingCamera", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "totalMovingSpeed", + "=", + "min(Variable(movingSpeed) + Variable(increasedSpeedPerScore)*Variable(score), Variable(maxMovingSpeed))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ + "", + "-", + "Variable(totalMovingSpeed)*TimeDelta()", + "", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move the camera upward so the player is never off-focus\nOnly do it while the game is running, because in game over the player is deleted", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gameRunning", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ + "", + ">", + "Player.Y()", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ + "", + "=", + "Player.Y()", + "", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "The player is totally behind the camera, game over", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Player", + ">", + "CameraY(\"\",0) + CameraHeight(\"\",0)/2 + 20" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gameRunning", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Platforms", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "The camera top border is over the last platform position, create a new platform above and update the top platform limit\nAlso set a random value between 1 and 100 to decide if a spring must be created", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ + "", + "<", + "Variable(topY) + CameraHeight(\"\",0)/2 + Platform.Height()", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "topY", + "-", + "Variable(platformDistance) + Random(Variable(randomPlatformDistance))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "randomX", + "=", + "Random(SceneWindowWidth() - Platform.Width())" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Platform", + "Variable(randomX)", + "Variable(topY)", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangePlan" + }, + "parameters": [ + "Platform", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springRandom", + "=", + "RandomInRange(1, 100)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "The random value is inside the spring random chance, create the spring in a valid position over the platform", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "springRandom", + "<=", + "Variable(springChance)" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Spring", + "Variable(randomX) + Random(Platform.Width() - Variable(springWidth))", + "Variable(topY)", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangePlan" + }, + "parameters": [ + "Spring", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Delete platforms totally outside the camera view (plus player height so the player can stand in the edge a bit more)", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Platform", + ">", + "CameraY(\"\",0) + CameraHeight(\"\",0)/2 + Player.Height() + 20" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Platform", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Rocks", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Only throw rocks if it's enabled", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "throwRocks", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Create a rock above the camera limit (so the player can't see it being created) every rockTime seconds, and move it downwards", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Timer" + }, + "parameters": [ + "", + "Variable(rockTime)", + "\"throwRock\"" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"throwRock\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Rock", + "Random(300) - Variable(rockWidth)/2", + "Variable(topY)", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangePlan" + }, + "parameters": [ + "Rock", + "=", + "5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "Rock", + "0", + "Variable(rockSpeed)", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Rotate the rock to make it look a bit better", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "Rotate" + }, + "parameters": [ + "Rock", + "90", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Delete rocks totally outside the camera view", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Rock", + ">", + "CameraY(\"\",0) + CameraHeight(\"\",0)/2 + Player.Height() + 20" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Rock", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If the player collides with a rock, game over\nDon't kill the player if it's in a spring jump, that would be super unfair", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Player", + "Rock", + "", + "", + "yes" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "springJumping", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gameRunning", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Spring", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Reset to common jump speed if the player is on floor", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::JumpSpeed" + }, + "parameters": [ + "Player", + "PlatformerObject", + "=", + "Variable(commonJumpSpeed)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springJumping", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If the player is falling on a spring, increase the jump speed and launch it to the moon, also flag it as \"in a spring jump\"", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Player", + "Spring", + "", + "", + "no" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::JumpSpeed" + }, + "parameters": [ + "Player", + "PlatformerObject", + "=", + "Variable(springJumpSpeed)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SetCanJump" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateJumpKey" + }, + "parameters": [ + "Player", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangeAnimation" + }, + "parameters": [ + "Spring", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "springJumping", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Pause", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Controls to pause only works while the game is running", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gameRunning", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Keyboard controls, switch the pause variable (0 to 1, or 1 to 0)", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "p" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gamePaused", + "=", + "1 - Variable(gamePaused)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Unpause, common time scale and hidden pause layer", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ChangeLayerTimeScale" + }, + "parameters": [ + "", + "\"\"", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Pause, time scale to 0 (so every moving thing won't move anymore) and show the pause layer", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ChangeLayerTimeScale" + }, + "parameters": [ + "", + "\"\"", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ShowLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Allow both desktop click and touch on the pause button", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": true, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisBouton" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + } + ] + }, + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + } + ] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Same than before, pause and unpause", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "PauseButton", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gamePaused", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangeLayerTimeScale" + }, + "parameters": [ + "", + "\"\"", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ShowLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gamePaused", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "PlayButton", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "gamePaused", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ChangeLayerTimeScale" + }, + "parameters": [ + "", + "\"\"", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"Pause\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Game over", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Game over events run only on game over/game not running", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "gameRunning", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "This event and its sub-events will run a single time on game over\nDelete the player (but leave the sprite), show the game over layer and update the final score text", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Player", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ShowLayer" + }, + "parameters": [ + "", + "\"GameOver\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "FinalScore", + "=", + "ToString(Variable(score))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "FinalScore", + "=", + "SceneWindowWidth()/2 - FinalScore.Width()/2" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If the new score is higher than the best score, update the best score and show the new record text", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "score", + ">", + "GlobalVariable(bestScore)" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "NewRecord", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "bestScore", + "=", + "Variable(score)" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Update the best score text", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "BestScore", + "=", + "\"BEST: \" + ToString(GlobalVariable(bestScore))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "BestScore", + "=", + "SceneWindowWidth()/2 - BestScore.Width()/2" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move the player sprite downwards, for a small falling effect when hit by a rock", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "PlayerSprite", + "\"fall\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "PlayerSprite", + "+", + "400*TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 250, + "g": 200, + "r": 200, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Reset button clicked or touched, reset the scene", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": true, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SourisBouton" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + } + ] + }, + { + "type": { + "inverted": false, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + } + ] + }, + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "RestartButton", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Game\"", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ], + "parameters": [] + } + ], + "layers": [ + { + "name": "Background", + "visibility": true, + "cameras": [], + "effects": [] + }, + { + "name": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + }, + { + "name": "GUI", + "visibility": false, + "cameras": [], + "effects": [] + }, + { + "name": "Pause", + "visibility": false, + "cameras": [], + "effects": [] + }, + { + "name": "GameOver", + "visibility": false, + "cameras": [], + "effects": [] + } + ], + "behaviorsSharedData": [ + { + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior" + }, + { + "name": "PlatformerObject", + "type": "PlatformBehavior::PlatformerObjectBehavior" + } + ] + } + ], + "externalEvents": [], + "eventsFunctionsExtensions": [], + "externalLayouts": [], + "externalSourceFiles": [] +} \ No newline at end of file diff --git a/newIDE/app/src/fixtures/exit-app/exit-app.json b/newIDE/app/src/fixtures/exit-app/exit-app.json index 23a3026c0cc5..81f2fc6f91bc 100644 --- a/newIDE/app/src/fixtures/exit-app/exit-app.json +++ b/newIDE/app/src/fixtures/exit-app/exit-app.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/facebook-instant-game/facebook-instant-game.json b/newIDE/app/src/fixtures/facebook-instant-game/facebook-instant-game.json index 17abaf5308a4..e1ebc69a1cae 100644 --- a/newIDE/app/src/fixtures/facebook-instant-game/facebook-instant-game.json +++ b/newIDE/app/src/fixtures/facebook-instant-game/facebook-instant-game.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/find-diagonals/find-diagonals.json b/newIDE/app/src/fixtures/find-diagonals/find-diagonals.json index f13910bdc5b7..1c310f01be42 100644 --- a/newIDE/app/src/fixtures/find-diagonals/find-diagonals.json +++ b/newIDE/app/src/fixtures/find-diagonals/find-diagonals.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -885,8 +885,8 @@ "parameters": [ "", "Mask", - "Box.PointX(Centre)", - "Box.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", "" ], "subInstructions": [] @@ -1692,8 +1692,8 @@ "parameters": [ "", "Mask", - "Box.PointX(Centre) + cos(3.14159/4 + 3.14159*Variable(direction)/2)*Variable(distance)*100*sqrt(2)", - "Box.PointY(Centre) + sin(3.14159/4 + 3.14159*Variable(direction)/2)*Variable(distance)*100*sqrt(2)", + "Box.PointX(\"Centre\") + cos(3.14159/4 + 3.14159*Variable(direction)/2)*Variable(distance)*100*sqrt(2)", + "Box.PointY(\"Centre\") + sin(3.14159/4 + 3.14159*Variable(direction)/2)*Variable(distance)*100*sqrt(2)", "" ], "subInstructions": [] @@ -2425,7 +2425,7 @@ "parameters": [ "x", "=", - "Box.PointX(Centre)" + "Box.PointX(\"Centre\")" ], "subInstructions": [] }, @@ -2437,7 +2437,7 @@ "parameters": [ "y", "=", - "Box.PointY(Centre)" + "Box.PointY(\"Centre\")" ], "subInstructions": [] }, @@ -2544,7 +2544,7 @@ "value": "Egal" }, "parameters": [ - "Box.PointX(Centre)", + "Box.PointX(\"Centre\")", ">", "Variable(dest_x) - 5" ], @@ -2556,7 +2556,7 @@ "value": "Egal" }, "parameters": [ - "Box.PointX(Centre)", + "Box.PointX(\"Centre\")", "<", "Variable(dest_x) + 5" ], @@ -2568,7 +2568,7 @@ "value": "Egal" }, "parameters": [ - "Box.PointY(Centre)", + "Box.PointY(\"Centre\")", ">", "Variable(dest_y) - 5" ], @@ -2580,7 +2580,7 @@ "value": "Egal" }, "parameters": [ - "Box.PointY(Centre)", + "Box.PointY(\"Centre\")", "<", "Variable(dest_y) + 5" ], diff --git a/newIDE/app/src/fixtures/health-bar/health-bar.json b/newIDE/app/src/fixtures/health-bar/health-bar.json index 2b960d21bdf9..af2ac89861c0 100644 --- a/newIDE/app/src/fixtures/health-bar/health-bar.json +++ b/newIDE/app/src/fixtures/health-bar/health-bar.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/infinite-scrolling-background/infinite-scrolling-background.json b/newIDE/app/src/fixtures/infinite-scrolling-background/infinite-scrolling-background.json index 1d804db9c361..96a02bd2484d 100644 --- a/newIDE/app/src/fixtures/infinite-scrolling-background/infinite-scrolling-background.json +++ b/newIDE/app/src/fixtures/infinite-scrolling-background/infinite-scrolling-background.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/inventory-system/inventory-system.json b/newIDE/app/src/fixtures/inventory-system/inventory-system.json index 4161a7b3f042..cc0ae45af665 100644 --- a/newIDE/app/src/fixtures/inventory-system/inventory-system.json +++ b/newIDE/app/src/fixtures/inventory-system/inventory-system.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -3116,8 +3116,8 @@ "parameters": [ "", "slot_text", - "inventory_slot.PointX(slot_text)", - "inventory_slot.PointY(slot_text)", + "inventory_slot.PointX(\"slot_text\")", + "inventory_slot.PointY(\"slot_text\")", "\"inventory\"" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/isometric-game/isometric-game.json b/newIDE/app/src/fixtures/isometric-game/isometric-game.json index 032705850b5d..db5ae33ab920 100644 --- a/newIDE/app/src/fixtures/isometric-game/isometric-game.json +++ b/newIDE/app/src/fixtures/isometric-game/isometric-game.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/javascript-blocks-in-platformer/javascript-blocks-in-platformer.json b/newIDE/app/src/fixtures/javascript-blocks-in-platformer/javascript-blocks-in-platformer.json index 67c52f7776a1..0fbcc0c36d64 100644 --- a/newIDE/app/src/fixtures/javascript-blocks-in-platformer/javascript-blocks-in-platformer.json +++ b/newIDE/app/src/fixtures/javascript-blocks-in-platformer/javascript-blocks-in-platformer.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/keyboard-practice/keyboard-practice.json b/newIDE/app/src/fixtures/keyboard-practice/keyboard-practice.json index dc5dd4ae03c2..db9ac27cb285 100644 --- a/newIDE/app/src/fixtures/keyboard-practice/keyboard-practice.json +++ b/newIDE/app/src/fixtures/keyboard-practice/keyboard-practice.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/level-editor/level-editor.json b/newIDE/app/src/fixtures/level-editor/level-editor.json index 82a710b3cf2b..1d6f6db7de4e 100644 --- a/newIDE/app/src/fixtures/level-editor/level-editor.json +++ b/newIDE/app/src/fixtures/level-editor/level-editor.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/load-image-from-url/load-image-from-url.json b/newIDE/app/src/fixtures/load-image-from-url/load-image-from-url.json index 775af3fcede6..66ccf7fdc962 100644 --- a/newIDE/app/src/fixtures/load-image-from-url/load-image-from-url.json +++ b/newIDE/app/src/fixtures/load-image-from-url/load-image-from-url.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/magnet/magnet.json b/newIDE/app/src/fixtures/magnet/magnet.json index eb50da5547e7..fab481a6286f 100644 --- a/newIDE/app/src/fixtures/magnet/magnet.json +++ b/newIDE/app/src/fixtures/magnet/magnet.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -1191,8 +1191,8 @@ "parameters": [ "", "small_magnet", - "Hole.PointX(Centre)", - "Hole.PointY(Centre)", + "Hole.PointX(\"Centre\")", + "Hole.PointY(\"Centre\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/manipulate-text-object/manipulate-text-object.json b/newIDE/app/src/fixtures/manipulate-text-object/manipulate-text-object.json index d6e2e192987f..9cc72341d470 100644 --- a/newIDE/app/src/fixtures/manipulate-text-object/manipulate-text-object.json +++ b/newIDE/app/src/fixtures/manipulate-text-object/manipulate-text-object.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/move-camera-to-position/move-camera-to-position.json b/newIDE/app/src/fixtures/move-camera-to-position/move-camera-to-position.json index 94b43f4b5360..00fc15953895 100644 --- a/newIDE/app/src/fixtures/move-camera-to-position/move-camera-to-position.json +++ b/newIDE/app/src/fixtures/move-camera-to-position/move-camera-to-position.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/move-object-back-and-forth/move-object-back-and-forth.json b/newIDE/app/src/fixtures/move-object-back-and-forth/move-object-back-and-forth.json index 9a0de2e1bf29..1786b042f7f7 100644 --- a/newIDE/app/src/fixtures/move-object-back-and-forth/move-object-back-and-forth.json +++ b/newIDE/app/src/fixtures/move-object-back-and-forth/move-object-back-and-forth.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/move-object-in-circle/move-object-in-circle.json b/newIDE/app/src/fixtures/move-object-in-circle/move-object-in-circle.json index 345ee6aa5e03..e93ed22f76d8 100644 --- a/newIDE/app/src/fixtures/move-object-in-circle/move-object-in-circle.json +++ b/newIDE/app/src/fixtures/move-object-in-circle/move-object-in-circle.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/move-object-toward-position/move-object-toward-position.json b/newIDE/app/src/fixtures/move-object-toward-position/move-object-toward-position.json index 2de95214a5c5..d2caf80ff800 100644 --- a/newIDE/app/src/fixtures/move-object-toward-position/move-object-toward-position.json +++ b/newIDE/app/src/fixtures/move-object-toward-position/move-object-toward-position.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/move-object-with-mouse-joint/move-object-with-mouse-joint.json b/newIDE/app/src/fixtures/move-object-with-mouse-joint/move-object-with-mouse-joint.json index 3fb0dcc84b61..3109c3aea48d 100644 --- a/newIDE/app/src/fixtures/move-object-with-mouse-joint/move-object-with-mouse-joint.json +++ b/newIDE/app/src/fixtures/move-object-with-mouse-joint/move-object-with-mouse-joint.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/move-object-with-physics/move-object-with-physics.json b/newIDE/app/src/fixtures/move-object-with-physics/move-object-with-physics.json index d4fa79e93dd6..5103358db229 100644 --- a/newIDE/app/src/fixtures/move-object-with-physics/move-object-with-physics.json +++ b/newIDE/app/src/fixtures/move-object-with-physics/move-object-with-physics.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/multitouch/multitouch.json b/newIDE/app/src/fixtures/multitouch/multitouch.json index 84a95e18c135..0aaeb417c64c 100644 --- a/newIDE/app/src/fixtures/multitouch/multitouch.json +++ b/newIDE/app/src/fixtures/multitouch/multitouch.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/object-gravity/object-gravity.json b/newIDE/app/src/fixtures/object-gravity/object-gravity.json index 279882d91331..9db14e8f55d4 100644 --- a/newIDE/app/src/fixtures/object-gravity/object-gravity.json +++ b/newIDE/app/src/fixtures/object-gravity/object-gravity.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -679,10 +679,10 @@ "SpaceGuy", "Physics2", "5", - "Planet.PointX(Centre)", - "Planet.PointY(Centre)", - "SpaceGuy.PointX(Centre)", - "SpaceGuy.PointY(Centre)" + "Planet.PointX(\"Centre\")", + "Planet.PointY(\"Centre\")", + "SpaceGuy.PointX(\"Centre\")", + "SpaceGuy.PointY(\"Centre\")" ], "subInstructions": [] } @@ -762,8 +762,8 @@ "Physics2", "SpaceGuy.Angle() - 90", "1", - "SpaceGuy.PointX(Centre)", - "SpaceGuy.PointY(Centre)" + "SpaceGuy.PointX(\"Centre\")", + "SpaceGuy.PointY(\"Centre\")" ], "subInstructions": [] } @@ -835,8 +835,8 @@ "Physics2", "SpaceGuy.Angle()", "0.5", - "SpaceGuy.PointX(Centre)", - "SpaceGuy.PointY(Centre)" + "SpaceGuy.PointX(\"Centre\")", + "SpaceGuy.PointY(\"Centre\")" ], "subInstructions": [] } @@ -893,8 +893,8 @@ "Physics2", "SpaceGuy.Angle()+180", "0.5", - "SpaceGuy.PointX(Centre)", - "SpaceGuy.PointY(Centre)" + "SpaceGuy.PointX(\"Centre\")", + "SpaceGuy.PointY(\"Centre\")" ], "subInstructions": [] } @@ -929,8 +929,8 @@ }, "parameters": [ "SpaceGuy", - "Planet.PointX(Centre)", - "Planet.PointY(Centre)", + "Planet.PointX(\"Centre\")", + "Planet.PointY(\"Centre\")", "0", "" ], diff --git a/newIDE/app/src/fixtures/object-selection/object-selection.json b/newIDE/app/src/fixtures/object-selection/object-selection.json index fc5463f3129a..2901b5f9a614 100644 --- a/newIDE/app/src/fixtures/object-selection/object-selection.json +++ b/newIDE/app/src/fixtures/object-selection/object-selection.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/objects-timers/objects-timers.json b/newIDE/app/src/fixtures/objects-timers/objects-timers.json index de31ffe6fb47..892e5556ea1e 100644 --- a/newIDE/app/src/fixtures/objects-timers/objects-timers.json +++ b/newIDE/app/src/fixtures/objects-timers/objects-timers.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/open-url-in-browser/open-url-in-browser.json b/newIDE/app/src/fixtures/open-url-in-browser/open-url-in-browser.json index a616ca71b1db..9f8f28c988f5 100644 --- a/newIDE/app/src/fixtures/open-url-in-browser/open-url-in-browser.json +++ b/newIDE/app/src/fixtures/open-url-in-browser/open-url-in-browser.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/parallax-scrolling/parallax-scrolling.json b/newIDE/app/src/fixtures/parallax-scrolling/parallax-scrolling.json index 69b901635ab2..6364dc6d2efb 100644 --- a/newIDE/app/src/fixtures/parallax-scrolling/parallax-scrolling.json +++ b/newIDE/app/src/fixtures/parallax-scrolling/parallax-scrolling.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/parallax/parallax.json b/newIDE/app/src/fixtures/parallax/parallax.json index 1913c34d05a2..1c5c0fdee3b7 100644 --- a/newIDE/app/src/fixtures/parallax/parallax.json +++ b/newIDE/app/src/fixtures/parallax/parallax.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/parse-json-from-api/parse-json-from-api.json b/newIDE/app/src/fixtures/parse-json-from-api/parse-json-from-api.json index 65bd19954c02..06ac9d46085a 100644 --- a/newIDE/app/src/fixtures/parse-json-from-api/parse-json-from-api.json +++ b/newIDE/app/src/fixtures/parse-json-from-api/parse-json-from-api.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/parse-json-string/parse-json-string.json b/newIDE/app/src/fixtures/parse-json-string/parse-json-string.json index 1098fbecb834..0afff446e206 100644 --- a/newIDE/app/src/fixtures/parse-json-string/parse-json-string.json +++ b/newIDE/app/src/fixtures/parse-json-string/parse-json-string.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/particles-explosions/particles-explosions.json b/newIDE/app/src/fixtures/particles-explosions/particles-explosions.json index 380ec539fa9b..07b8bbb024cd 100644 --- a/newIDE/app/src/fixtures/particles-explosions/particles-explosions.json +++ b/newIDE/app/src/fixtures/particles-explosions/particles-explosions.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/particles-various-effects/particles-various-effects.json b/newIDE/app/src/fixtures/particles-various-effects/particles-various-effects.json index 6ffca22e8bb3..6f7720c6eee7 100644 --- a/newIDE/app/src/fixtures/particles-various-effects/particles-various-effects.json +++ b/newIDE/app/src/fixtures/particles-various-effects/particles-various-effects.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/pathfinding-basics/pathfinding-basics.json b/newIDE/app/src/fixtures/pathfinding-basics/pathfinding-basics.json index ced9c390aad9..381aa9df8225 100644 --- a/newIDE/app/src/fixtures/pathfinding-basics/pathfinding-basics.json +++ b/newIDE/app/src/fixtures/pathfinding-basics/pathfinding-basics.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/pathfinding/pathfinding.json b/newIDE/app/src/fixtures/pathfinding/pathfinding.json index 2b0bdc91b1a1..985055cecc64 100644 --- a/newIDE/app/src/fixtures/pathfinding/pathfinding.json +++ b/newIDE/app/src/fixtures/pathfinding/pathfinding.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/physics-joints-demo/physics-joints-demo.json b/newIDE/app/src/fixtures/physics-joints-demo/physics-joints-demo.json index 4c3666a73e24..4c8e84a842d0 100644 --- a/newIDE/app/src/fixtures/physics-joints-demo/physics-joints-demo.json +++ b/newIDE/app/src/fixtures/physics-joints-demo/physics-joints-demo.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -3608,11 +3608,11 @@ "parameters": [ "DistanceBox", "Physics2Behavior", - "DistanceBox.PointX(Anchor)", - "DistanceBox.PointY(Anchor)", + "DistanceBox.PointX(\"Anchor\")", + "DistanceBox.PointY(\"Anchor\")", "DistanceCircle", - "DistanceCircle.PointX(Anchor)", - "DistanceCircle.PointY(Anchor)", + "DistanceCircle.PointX(\"Anchor\")", + "DistanceCircle.PointY(\"Anchor\")", "60", "2", "0.05", @@ -3653,11 +3653,11 @@ "parameters": [ "RevoluteBox", "Physics2Behavior", - "RevoluteBox.PointX(Anchor)", - "RevoluteBox.PointY(Anchor)", + "RevoluteBox.PointX(\"Anchor\")", + "RevoluteBox.PointY(\"Anchor\")", "RevoluteCircle", - "RevoluteCircle.PointX(Anchor)", - "RevoluteCircle.PointY(Anchor)", + "RevoluteCircle.PointX(\"Anchor\")", + "RevoluteCircle.PointY(\"Anchor\")", "yes", "0", "-15", @@ -3678,8 +3678,8 @@ "parameters": [ "RevoluteBox2", "Physics2Behavior", - "RevoluteBox2.PointX(Anchor)", - "RevoluteBox2.PointY(Anchor)", + "RevoluteBox2.PointX(\"Anchor\")", + "RevoluteBox2.PointY(\"Anchor\")", "no", "", "", @@ -3723,11 +3723,11 @@ "parameters": [ "PrismaticBox", "Physics2Behavior", - "PrismaticBox.PointX(Anchor)", - "PrismaticBox.PointY(Anchor)", + "PrismaticBox.PointX(\"Anchor\")", + "PrismaticBox.PointY(\"Anchor\")", "PrismaticCircle", - "PrismaticCircle.PointX(Anchor)", - "PrismaticCircle.PointY(Anchor)", + "PrismaticCircle.PointX(\"Anchor\")", + "PrismaticCircle.PointY(\"Anchor\")", "45", "0", "yes", @@ -3773,7 +3773,7 @@ "parameters": [ "pulleyAnchorX1", "=", - "PulleyBox.PointX(Centre)" + "PulleyBox.PointX(\"Centre\")" ], "subInstructions": [] }, @@ -3785,7 +3785,7 @@ "parameters": [ "pulleyAnchorY1", "=", - "PulleyBox.PointY(Centre) - 40" + "PulleyBox.PointY(\"Centre\") - 40" ], "subInstructions": [] }, @@ -3797,7 +3797,7 @@ "parameters": [ "pulleyAnchorX2", "=", - "PulleyCircle.PointX(Centre)" + "PulleyCircle.PointX(\"Centre\")" ], "subInstructions": [] }, @@ -3809,7 +3809,7 @@ "parameters": [ "pulleyAnchorY2", "=", - "PulleyCircle.PointY(Centre) - 70" + "PulleyCircle.PointY(\"Centre\") - 70" ], "subInstructions": [] }, @@ -3821,11 +3821,11 @@ "parameters": [ "PulleyBox", "Physics2Behavior", - "PulleyBox.PointX(Anchor)", - "PulleyBox.PointY(Anchor)", + "PulleyBox.PointX(\"Anchor\")", + "PulleyBox.PointY(\"Anchor\")", "PulleyCircle", - "PulleyCircle.PointX(Anchor)", - "PulleyCircle.PointY(Anchor)", + "PulleyCircle.PointX(\"Anchor\")", + "PulleyCircle.PointY(\"Anchor\")", "Variable(pulleyAnchorX1)", "Variable(pulleyAnchorY1)", "Variable(pulleyAnchorX2)", @@ -3870,11 +3870,11 @@ "parameters": [ "GearBox2", "Physics2Behavior", - "GearBox2.PointX(Centre)", - "GearBox2.PointY(Centre)", + "GearBox2.PointX(\"Centre\")", + "GearBox2.PointY(\"Centre\")", "GearBox1", - "GearBox1.PointX(Centre)", - "GearBox1.PointY(Centre)", + "GearBox1.PointX(\"Centre\")", + "GearBox1.PointY(\"Centre\")", "-90", "", "no", @@ -3896,11 +3896,11 @@ "parameters": [ "GearBox2", "Physics2Behavior", - "GearBox2.PointX(Centre)", - "GearBox2.PointY(Centre)", + "GearBox2.PointX(\"Centre\")", + "GearBox2.PointY(\"Centre\")", "GearCircle1", - "GearCircle1.PointX(Centre)", - "GearCircle1.PointY(Centre)", + "GearCircle1.PointX(\"Centre\")", + "GearCircle1.PointY(\"Centre\")", "no", "", "", @@ -3921,8 +3921,8 @@ "parameters": [ "GearCircle2", "Physics2Behavior", - "GearCircle2.PointX(Centre)", - "GearCircle2.PointY(Centre)", + "GearCircle2.PointX(\"Centre\")", + "GearCircle2.PointY(\"Centre\")", "no", "", "", @@ -3998,11 +3998,11 @@ "parameters": [ "WheelBox", "Physics2Behavior", - "WheelBox.PointX(Anchor1)", - "WheelBox.PointY(Anchor1)", + "WheelBox.PointX(\"Anchor1\")", + "WheelBox.PointY(\"Anchor1\")", "WheelCircle1", - "WheelCircle1.PointX(Centre)", - "WheelCircle1.PointY(Centre)", + "WheelCircle1.PointX(\"Centre\")", + "WheelCircle1.PointY(\"Centre\")", "100", "5", "0.1", @@ -4022,11 +4022,11 @@ "parameters": [ "WheelBox", "Physics2Behavior", - "WheelBox.PointX(Anchor2)", - "WheelBox.PointY(Anchor2)", + "WheelBox.PointX(\"Anchor2\")", + "WheelBox.PointY(\"Anchor2\")", "WheelCircle2", - "WheelCircle2.PointX(Centre)", - "WheelCircle2.PointY(Centre)", + "WheelCircle2.PointX(\"Centre\")", + "WheelCircle2.PointY(\"Centre\")", "80", "6", "0.9", @@ -4070,11 +4070,11 @@ "parameters": [ "WeldBox", "Physics2Behavior", - "WeldBox.PointX(Anchor1)", - "WeldBox.PointY(Anchor1)", + "WeldBox.PointX(\"Anchor1\")", + "WeldBox.PointY(\"Anchor1\")", "WeldCircle1", - "WeldCircle1.PointX(Centre)", - "WeldCircle1.PointY(Centre)", + "WeldCircle1.PointX(\"Centre\")", + "WeldCircle1.PointY(\"Centre\")", "", "", "", @@ -4091,11 +4091,11 @@ "parameters": [ "WeldBox", "Physics2Behavior", - "WeldBox.PointX(Anchor2)", - "WeldBox.PointY(Anchor2)", + "WeldBox.PointX(\"Anchor2\")", + "WeldBox.PointY(\"Anchor2\")", "WeldCircle2", - "WeldCircle2.PointX(Centre)", - "WeldCircle2.PointY(Centre)", + "WeldCircle2.PointX(\"Centre\")", + "WeldCircle2.PointY(\"Centre\")", "", "", "", @@ -4159,11 +4159,11 @@ "parameters": [ "RopeBox", "Physics2Behavior", - "RopeBox.PointX(Anchor)", - "RopeBox.PointY(Anchor)", + "RopeBox.PointX(\"Anchor\")", + "RopeBox.PointY(\"Anchor\")", "RopeCircle", - "RopeCircle.PointX(Anchor)", - "RopeCircle.PointY(Anchor)", + "RopeCircle.PointX(\"Anchor\")", + "RopeCircle.PointY(\"Anchor\")", "100", "yes", "" @@ -4202,11 +4202,11 @@ "parameters": [ "FrictionBox", "Physics2Behavior", - "FrictionBox.PointX(Centre)", - "FrictionBox.PointY(Centre)", + "FrictionBox.PointX(\"Centre\")", + "FrictionBox.PointY(\"Centre\")", "FrictionCircle", - "FrictionCircle.PointX(Centre) + 16", - "FrictionCircle.PointY(Centre)", + "FrictionCircle.PointX(\"Centre\") + 16", + "FrictionCircle.PointY(\"Centre\")", "0.5", "0.01", "no", @@ -4310,8 +4310,8 @@ "parameters": [ "BreakableBox1", "Physics2Behavior", - "BreakableBox1.PointX(Anchor1)", - "BreakableBox1.PointY(Anchor1)", + "BreakableBox1.PointX(\"Anchor1\")", + "BreakableBox1.PointY(\"Anchor1\")", "yes", "", "0", @@ -4331,8 +4331,8 @@ "parameters": [ "BreakableBox2", "Physics2Behavior", - "BreakableBox2.PointX(Anchor1)", - "BreakableBox2.PointY(Anchor1)", + "BreakableBox2.PointX(\"Anchor1\")", + "BreakableBox2.PointY(\"Anchor1\")", "yes", "", "-90", @@ -4352,11 +4352,11 @@ "parameters": [ "BreakableBox1", "Physics2Behavior", - "BreakableBox1.PointX(Anchor2)", - "BreakableBox1.PointY(Anchor2)", + "BreakableBox1.PointX(\"Anchor2\")", + "BreakableBox1.PointY(\"Anchor2\")", "BreakableBox2", - "BreakableBox2.PointX(Anchor2)", - "BreakableBox2.PointY(Anchor2)", + "BreakableBox2.PointX(\"Anchor2\")", + "BreakableBox2.PointY(\"Anchor2\")", "no", "", "", @@ -4828,7 +4828,7 @@ "Draggable", "Physics2Behavior", "=", - "10*(MouseX(\"\",0) - Draggable.PointX(Centre))" + "10*(MouseX(\"\",0) - Draggable.PointX(\"Centre\"))" ], "subInstructions": [] }, @@ -4841,7 +4841,7 @@ "Draggable", "Physics2Behavior", "=", - "10*(MouseY(\"\",0) - Draggable.PointY(Centre))" + "10*(MouseY(\"\",0) - Draggable.PointY(\"Centre\"))" ], "subInstructions": [] } @@ -4941,10 +4941,10 @@ }, "parameters": [ "DistanceDraw", - "DistanceBox.PointX(Anchor)", - "DistanceBox.PointY(Anchor)", - "DistanceCircle.PointX(Anchor)", - "DistanceCircle.PointY(Anchor)", + "DistanceBox.PointX(\"Anchor\")", + "DistanceBox.PointY(\"Anchor\")", + "DistanceCircle.PointX(\"Anchor\")", + "DistanceCircle.PointY(\"Anchor\")", "2" ], "subInstructions": [] @@ -4976,10 +4976,10 @@ }, "parameters": [ "RevoluteDraw", - "RevoluteBox.PointX(Anchor)", - "RevoluteBox.PointY(Anchor)", - "RevoluteBox.PointX(Anchor) + 30*cos(atan2(RevoluteCircle.PointY(Centre) - RevoluteBox.PointY(Anchor), RevoluteCircle.PointX(Centre) - RevoluteBox.PointX(Anchor)))", - "RevoluteBox.PointY(Anchor) + 30*sin(atan2(RevoluteCircle.PointY(Centre) - RevoluteBox.PointY(Anchor), RevoluteCircle.PointX(Centre) - RevoluteBox.PointX(Anchor)))", + "RevoluteBox.PointX(\"Anchor\")", + "RevoluteBox.PointY(\"Anchor\")", + "RevoluteBox.PointX(\"Anchor\") + 30*cos(atan2(RevoluteCircle.PointY(\"Centre\") - RevoluteBox.PointY(\"Anchor\"), RevoluteCircle.PointX(\"Centre\") - RevoluteBox.PointX(\"Anchor\")))", + "RevoluteBox.PointY(\"Anchor\") + 30*sin(atan2(RevoluteCircle.PointY(\"Centre\") - RevoluteBox.PointY(\"Anchor\"), RevoluteCircle.PointX(\"Centre\") - RevoluteBox.PointX(\"Anchor\")))", "2" ], "subInstructions": [] @@ -5002,10 +5002,10 @@ }, "parameters": [ "RevoluteDraw", - "RevoluteBox.PointX(Anchor)", - "RevoluteBox.PointY(Anchor)", - "RevoluteBox.PointX(Anchor) + 20*cos(ToRad(RevoluteBox.Angle() - 15))", - "RevoluteBox.PointY(Anchor) + 20*sin(ToRad(RevoluteBox.Angle() - 15))", + "RevoluteBox.PointX(\"Anchor\")", + "RevoluteBox.PointY(\"Anchor\")", + "RevoluteBox.PointX(\"Anchor\") + 20*cos(ToRad(RevoluteBox.Angle() - 15))", + "RevoluteBox.PointY(\"Anchor\") + 20*sin(ToRad(RevoluteBox.Angle() - 15))", "2" ], "subInstructions": [] @@ -5028,10 +5028,10 @@ }, "parameters": [ "RevoluteDraw", - "RevoluteBox.PointX(Anchor)", - "RevoluteBox.PointY(Anchor)", - "RevoluteBox.PointX(Anchor) + 20*cos(ToRad(RevoluteBox.Angle() + 45))", - "RevoluteBox.PointY(Anchor) + 20*sin(ToRad(RevoluteBox.Angle() + 45))", + "RevoluteBox.PointX(\"Anchor\")", + "RevoluteBox.PointY(\"Anchor\")", + "RevoluteBox.PointX(\"Anchor\") + 20*cos(ToRad(RevoluteBox.Angle() + 45))", + "RevoluteBox.PointY(\"Anchor\") + 20*sin(ToRad(RevoluteBox.Angle() + 45))", "2" ], "subInstructions": [] @@ -5054,8 +5054,8 @@ }, "parameters": [ "RevoluteDraw", - "RevoluteBox.PointX(Anchor)", - "RevoluteBox.PointY(Anchor)", + "RevoluteBox.PointX(\"Anchor\")", + "RevoluteBox.PointY(\"Anchor\")", "2" ], "subInstructions": [] @@ -5078,8 +5078,8 @@ }, "parameters": [ "RevoluteDraw", - "RevoluteBox2.PointX(Anchor)", - "RevoluteBox2.PointY(Anchor)", + "RevoluteBox2.PointX(\"Anchor\")", + "RevoluteBox2.PointY(\"Anchor\")", "2" ], "subInstructions": [] @@ -5111,10 +5111,10 @@ }, "parameters": [ "PrismaticDraw", - "PrismaticBox.PointX(Anchor) - 40*cos(ToRad(PrismaticBox.Angle() + 45))", - "PrismaticBox.PointY(Anchor) - 40*sin(ToRad(PrismaticBox.Angle() + 45))", - "PrismaticBox.PointX(Anchor) + 80*cos(ToRad(PrismaticBox.Angle() + 45))", - "PrismaticBox.PointY(Anchor) + 80*sin(ToRad(PrismaticBox.Angle() + 45))", + "PrismaticBox.PointX(\"Anchor\") - 40*cos(ToRad(PrismaticBox.Angle() + 45))", + "PrismaticBox.PointY(\"Anchor\") - 40*sin(ToRad(PrismaticBox.Angle() + 45))", + "PrismaticBox.PointX(\"Anchor\") + 80*cos(ToRad(PrismaticBox.Angle() + 45))", + "PrismaticBox.PointY(\"Anchor\") + 80*sin(ToRad(PrismaticBox.Angle() + 45))", "2" ], "subInstructions": [] @@ -5137,10 +5137,10 @@ }, "parameters": [ "PrismaticDraw", - "PrismaticBox.PointX(Anchor)", - "PrismaticBox.PointY(Anchor)", - "PrismaticCircle.PointX(Anchor)", - "PrismaticCircle.PointY(Anchor)", + "PrismaticBox.PointX(\"Anchor\")", + "PrismaticBox.PointY(\"Anchor\")", + "PrismaticCircle.PointX(\"Anchor\")", + "PrismaticCircle.PointY(\"Anchor\")", "2" ], "subInstructions": [] @@ -5163,8 +5163,8 @@ }, "parameters": [ "PrismaticDraw", - "PrismaticBox.PointX(Anchor)", - "PrismaticBox.PointY(Anchor)", + "PrismaticBox.PointX(\"Anchor\")", + "PrismaticBox.PointY(\"Anchor\")", "2" ], "subInstructions": [] @@ -5176,8 +5176,8 @@ }, "parameters": [ "PrismaticDraw", - "PrismaticCircle.PointX(Anchor)", - "PrismaticCircle.PointY(Anchor)", + "PrismaticCircle.PointX(\"Anchor\")", + "PrismaticCircle.PointY(\"Anchor\")", "2" ], "subInstructions": [] @@ -5198,8 +5198,8 @@ }, "parameters": [ "PulleyDraw", - "PulleyBox.PointX(Anchor)", - "PulleyBox.PointY(Anchor)", + "PulleyBox.PointX(\"Anchor\")", + "PulleyBox.PointY(\"Anchor\")", "Variable(pulleyAnchorX1)", "Variable(pulleyAnchorY1)", "2" @@ -5230,8 +5230,8 @@ "PulleyDraw", "Variable(pulleyAnchorX2)", "Variable(pulleyAnchorY2)", - "PulleyCircle.PointX(Anchor)", - "PulleyCircle.PointY(Anchor)", + "PulleyCircle.PointX(\"Anchor\")", + "PulleyCircle.PointY(\"Anchor\")", "2" ], "subInstructions": [] @@ -5252,10 +5252,10 @@ }, "parameters": [ "GearDraw", - "GearBox1.PointX(Centre)", - "GearBox1.PointY(Centre)", - "GearBox2.PointX(Centre)", - "GearBox2.PointY(Centre)", + "GearBox1.PointX(\"Centre\")", + "GearBox1.PointY(\"Centre\")", + "GearBox2.PointX(\"Centre\")", + "GearBox2.PointY(\"Centre\")", "2" ], "subInstructions": [] @@ -5267,10 +5267,10 @@ }, "parameters": [ "GearDraw", - "GearBox2.PointX(Centre)", - "GearBox2.PointY(Centre)", - "GearCircle1.PointX(Centre)", - "GearCircle1.PointY(Centre)", + "GearBox2.PointX(\"Centre\")", + "GearBox2.PointY(\"Centre\")", + "GearCircle1.PointX(\"Centre\")", + "GearCircle1.PointY(\"Centre\")", "2" ], "subInstructions": [] @@ -5282,10 +5282,10 @@ }, "parameters": [ "GearDraw", - "GearCircle1.PointX(Centre)", - "GearCircle1.PointY(Centre)", - "GearCircle2.PointX(Centre)", - "GearCircle2.PointY(Centre)", + "GearCircle1.PointX(\"Centre\")", + "GearCircle1.PointY(\"Centre\")", + "GearCircle2.PointX(\"Centre\")", + "GearCircle2.PointY(\"Centre\")", "2" ], "subInstructions": [] @@ -5306,10 +5306,10 @@ }, "parameters": [ "WheelDraw", - "WheelBox.PointX(Anchor1)", - "WheelBox.PointY(Anchor1)", - "WheelCircle1.PointX(Centre)", - "WheelCircle1.PointY(Centre)", + "WheelBox.PointX(\"Anchor1\")", + "WheelBox.PointY(\"Anchor1\")", + "WheelCircle1.PointX(\"Centre\")", + "WheelCircle1.PointY(\"Centre\")", "2" ], "subInstructions": [] @@ -5321,10 +5321,10 @@ }, "parameters": [ "WheelDraw", - "WheelBox.PointX(Anchor2)", - "WheelBox.PointY(Anchor2)", - "WheelCircle2.PointX(Centre)", - "WheelCircle2.PointY(Centre)", + "WheelBox.PointX(\"Anchor2\")", + "WheelBox.PointY(\"Anchor2\")", + "WheelCircle2.PointX(\"Centre\")", + "WheelCircle2.PointY(\"Centre\")", "2" ], "subInstructions": [] @@ -5345,8 +5345,8 @@ }, "parameters": [ "WeldDraw", - "WeldBox.PointX(Anchor1)", - "WeldBox.PointY(Anchor1)", + "WeldBox.PointX(\"Anchor1\")", + "WeldBox.PointY(\"Anchor1\")", "2" ], "subInstructions": [] @@ -5358,8 +5358,8 @@ }, "parameters": [ "WeldDraw", - "WeldBox.PointX(Anchor2)", - "WeldBox.PointY(Anchor2)", + "WeldBox.PointX(\"Anchor2\")", + "WeldBox.PointY(\"Anchor2\")", "2" ], "subInstructions": [] @@ -5380,10 +5380,10 @@ }, "parameters": [ "RopeDraw", - "RopeBox.PointX(Centre)", - "RopeBox.PointY(Centre)", - "RopeCircle.PointX(Centre)", - "RopeCircle.PointY(Centre)", + "RopeBox.PointX(\"Centre\")", + "RopeBox.PointY(\"Centre\")", + "RopeCircle.PointX(\"Centre\")", + "RopeCircle.PointY(\"Centre\")", "2" ], "subInstructions": [] @@ -5404,10 +5404,10 @@ }, "parameters": [ "MotorDraw", - "MotorBox2.PointX(Centre)", - "MotorBox2.PointY(Centre)", - "MotorBox2.PointX(Centre) + 50", - "MotorBox2.PointY(Centre)", + "MotorBox2.PointX(\"Centre\")", + "MotorBox2.PointY(\"Centre\")", + "MotorBox2.PointX(\"Centre\") + 50", + "MotorBox2.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -5419,10 +5419,10 @@ }, "parameters": [ "MotorDraw", - "MotorBox2.PointX(Centre) + 50", - "MotorBox2.PointY(Centre)", - "MotorBox1.PointX(Centre)", - "MotorBox1.PointY(Centre)", + "MotorBox2.PointX(\"Centre\") + 50", + "MotorBox2.PointY(\"Centre\")", + "MotorBox1.PointX(\"Centre\")", + "MotorBox1.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -5434,10 +5434,10 @@ }, "parameters": [ "MotorDraw", - "MotorBox2.PointX(Centre)", - "MotorBox2.PointY(Centre)", - "MotorBox2.PointX(Centre) + 70", - "MotorBox2.PointY(Centre) + 30", + "MotorBox2.PointX(\"Centre\")", + "MotorBox2.PointY(\"Centre\")", + "MotorBox2.PointX(\"Centre\") + 70", + "MotorBox2.PointY(\"Centre\") + 30", "1" ], "subInstructions": [] @@ -5449,10 +5449,10 @@ }, "parameters": [ "MotorDraw", - "MotorBox2.PointX(Centre) + 70", - "MotorBox2.PointY(Centre) + 30", - "MotorCircle.PointX(Centre)", - "MotorCircle.PointY(Centre)", + "MotorBox2.PointX(\"Centre\") + 70", + "MotorBox2.PointY(\"Centre\") + 30", + "MotorCircle.PointX(\"Centre\")", + "MotorCircle.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -5464,10 +5464,10 @@ }, "parameters": [ "MotorDraw", - "MotorCircle.PointX(Centre)", - "MotorCircle.PointY(Centre)", - "MotorCircle.PointX(Centre) + 30*cos(ToRad(MotorCircle.Angle()))", - "MotorCircle.PointY(Centre) + 30*sin(ToRad(MotorCircle.Angle()))", + "MotorCircle.PointX(\"Centre\")", + "MotorCircle.PointY(\"Centre\")", + "MotorCircle.PointX(\"Centre\") + 30*cos(ToRad(MotorCircle.Angle()))", + "MotorCircle.PointY(\"Centre\") + 30*sin(ToRad(MotorCircle.Angle()))", "1" ], "subInstructions": [] @@ -5479,10 +5479,10 @@ }, "parameters": [ "MotorDraw", - "MotorCircle.PointX(Centre)", - "MotorCircle.PointY(Centre)", - "MotorCircle.PointX(Centre) + 30*cos(ToRad(MotorBox2.Angle() + 45))", - "MotorCircle.PointY(Centre) + 30*sin(ToRad(MotorBox2.Angle() + 45))", + "MotorCircle.PointX(\"Centre\")", + "MotorCircle.PointY(\"Centre\")", + "MotorCircle.PointX(\"Centre\") + 30*cos(ToRad(MotorBox2.Angle() + 45))", + "MotorCircle.PointY(\"Centre\") + 30*sin(ToRad(MotorBox2.Angle() + 45))", "1" ], "subInstructions": [] @@ -5503,10 +5503,10 @@ }, "parameters": [ "FrictionDraw", - "FrictionBox.PointX(Centre)", - "FrictionBox.PointY(Centre)", - "FrictionCircle.PointX(Centre) + 16*cos(ToRad(FrictionCircle.Angle()))", - "FrictionCircle.PointY(Centre) + 16*sin(ToRad(FrictionCircle.Angle()))", + "FrictionBox.PointX(\"Centre\")", + "FrictionBox.PointY(\"Centre\")", + "FrictionCircle.PointX(\"Centre\") + 16*cos(ToRad(FrictionCircle.Angle()))", + "FrictionCircle.PointY(\"Centre\") + 16*sin(ToRad(FrictionCircle.Angle()))", "2" ], "subInstructions": [] @@ -5518,10 +5518,10 @@ }, "parameters": [ "FrictionDraw", - "FrictionBox.PointX(Centre)", - "FrictionBox.PointY(Centre)", - "FrictionCircle.PointX(Centre) + 16*cos(ToRad(FrictionCircle.Angle()))", - "FrictionCircle.PointY(Centre) + 16*sin(ToRad(FrictionCircle.Angle()))", + "FrictionBox.PointX(\"Centre\")", + "FrictionBox.PointY(\"Centre\")", + "FrictionCircle.PointX(\"Centre\") + 16*cos(ToRad(FrictionCircle.Angle()))", + "FrictionCircle.PointY(\"Centre\") + 16*sin(ToRad(FrictionCircle.Angle()))", "2" ], "subInstructions": [] @@ -5533,10 +5533,10 @@ }, "parameters": [ "FrictionDraw", - "FrictionCircle.PointX(Centre) + 16*cos(ToRad(FrictionCircle.Angle()))", - "FrictionCircle.PointY(Centre) + 16*sin(ToRad(FrictionCircle.Angle()))", - "FrictionCircle.PointX(Centre)", - "FrictionCircle.PointY(Centre)", + "FrictionCircle.PointX(\"Centre\") + 16*cos(ToRad(FrictionCircle.Angle()))", + "FrictionCircle.PointY(\"Centre\") + 16*sin(ToRad(FrictionCircle.Angle()))", + "FrictionCircle.PointX(\"Centre\")", + "FrictionCircle.PointY(\"Centre\")", "2" ], "subInstructions": [] @@ -5568,10 +5568,10 @@ }, "parameters": [ "BreakableDraw", - "BreakableBox1.PointX(Anchor1) - 15", - "BreakableBox1.PointY(Anchor1)", - "BreakableBox1.PointX(Anchor1) - 15", - "BreakableBox1.PointY(Anchor1) - BreakableBox1.Physics2Behavior::JointReactionForce(Variable(breakableJoint))", + "BreakableBox1.PointX(\"Anchor1\") - 15", + "BreakableBox1.PointY(\"Anchor1\")", + "BreakableBox1.PointX(\"Anchor1\") - 15", + "BreakableBox1.PointY(\"Anchor1\") - BreakableBox1.Physics2Behavior::JointReactionForce(Variable(breakableJoint))", "3" ], "subInstructions": [] @@ -5594,8 +5594,8 @@ }, "parameters": [ "BreakableDraw", - "BreakableBox1.PointX(Anchor1) - 15", - "BreakableBox1.PointY(Anchor1) - 50", + "BreakableBox1.PointX(\"Anchor1\") - 15", + "BreakableBox1.PointY(\"Anchor1\") - 50", "2" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/physics-joints-settings-demo/physics-joints-settings-demo.json b/newIDE/app/src/fixtures/physics-joints-settings-demo/physics-joints-settings-demo.json index e6c7e8c77d4d..cfcdedb2bb23 100644 --- a/newIDE/app/src/fixtures/physics-joints-settings-demo/physics-joints-settings-demo.json +++ b/newIDE/app/src/fixtures/physics-joints-settings-demo/physics-joints-settings-demo.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -979,11 +979,11 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Centre)", - "Box.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", "Circle", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "", "", "", @@ -1586,10 +1586,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre)", - "Box.PointY(Centre)", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -2464,11 +2464,11 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", "Circle", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "no", "", "", @@ -3778,10 +3778,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "1" ], "subInstructions": [] @@ -3826,10 +3826,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", - "Circle.PointX(Anchor) + 40*cos(ToRad(Box.Angle() + Box.Physics2Behavior::RevoluteJointMinAngle(Variable(joint))))", - "Circle.PointY(Anchor) + 40*sin(ToRad(Box.Angle() + Box.Physics2Behavior::RevoluteJointMinAngle(Variable(joint))))", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", + "Circle.PointX(\"Anchor\") + 40*cos(ToRad(Box.Angle() + Box.Physics2Behavior::RevoluteJointMinAngle(Variable(joint))))", + "Circle.PointY(\"Anchor\") + 40*sin(ToRad(Box.Angle() + Box.Physics2Behavior::RevoluteJointMinAngle(Variable(joint))))", "1" ], "subInstructions": [] @@ -3852,10 +3852,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", - "Circle.PointX(Anchor) + 40*cos(ToRad(Box.Angle() + Box.Physics2Behavior::RevoluteJointMaxAngle(Variable(joint))))", - "Circle.PointY(Anchor) + 40*sin(ToRad(Box.Angle() + Box.Physics2Behavior::RevoluteJointMaxAngle(Variable(joint))))", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", + "Circle.PointX(\"Anchor\") + 40*cos(ToRad(Box.Angle() + Box.Physics2Behavior::RevoluteJointMaxAngle(Variable(joint))))", + "Circle.PointY(\"Anchor\") + 40*sin(ToRad(Box.Angle() + Box.Physics2Behavior::RevoluteJointMaxAngle(Variable(joint))))", "1" ], "subInstructions": [] @@ -4770,11 +4770,11 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Centre)", - "Box.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", "Circle", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "45", "", "no", @@ -6155,10 +6155,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre)", - "Box.PointY(Centre)", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -6203,10 +6203,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre) + Box.Physics2Behavior::PrismaticJointMinTranslation(Variable(joint))*cos(ToRad(Box.Physics2Behavior::PrismaticJointAxisAngle(Variable(joint))))", - "Box.PointY(Centre) + Box.Physics2Behavior::PrismaticJointMinTranslation(Variable(joint))*sin(ToRad(Box.Physics2Behavior::PrismaticJointAxisAngle(Variable(joint))))", - "Box.PointX(Centre) + Box.Physics2Behavior::PrismaticJointMaxTranslation(Variable(joint))*cos(ToRad(Box.Physics2Behavior::PrismaticJointAxisAngle(Variable(joint))))", - "Box.PointY(Centre) + Box.Physics2Behavior::PrismaticJointMaxTranslation(Variable(joint))*sin(ToRad(Box.Physics2Behavior::PrismaticJointAxisAngle(Variable(joint))))", + "Box.PointX(\"Centre\") + Box.Physics2Behavior::PrismaticJointMinTranslation(Variable(joint))*cos(ToRad(Box.Physics2Behavior::PrismaticJointAxisAngle(Variable(joint))))", + "Box.PointY(\"Centre\") + Box.Physics2Behavior::PrismaticJointMinTranslation(Variable(joint))*sin(ToRad(Box.Physics2Behavior::PrismaticJointAxisAngle(Variable(joint))))", + "Box.PointX(\"Centre\") + Box.Physics2Behavior::PrismaticJointMaxTranslation(Variable(joint))*cos(ToRad(Box.Physics2Behavior::PrismaticJointAxisAngle(Variable(joint))))", + "Box.PointY(\"Centre\") + Box.Physics2Behavior::PrismaticJointMaxTranslation(Variable(joint))*sin(ToRad(Box.Physics2Behavior::PrismaticJointAxisAngle(Variable(joint))))", "1" ], "subInstructions": [] @@ -6641,15 +6641,15 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", "Circle", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", - "Box.PointX(Centre)", - "Box.PointY(Centre) - 200", - "Circle.PointX(Centre)", - "Circle.PointY(Centre) - 300", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\") - 200", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\") - 300", "", "", "", @@ -7050,8 +7050,8 @@ }, "parameters": [ "Drawer", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", "Box.Physics2Behavior::PulleyJointFirstGroundAnchorX(Variable(joint))", "Box.Physics2Behavior::PulleyJointFirstGroundAnchorY(Variable(joint))", "1" @@ -7082,8 +7082,8 @@ "Drawer", "Box.Physics2Behavior::PulleyJointSecondGroundAnchorX(Variable(joint))", "Box.Physics2Behavior::PulleyJointSecondGroundAnchorY(Variable(joint))", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "1" ], "subInstructions": [] @@ -7496,11 +7496,11 @@ "parameters": [ "Wall", "Physics2Behavior", - "Box.PointX(Centre)", - "Wall.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Wall.PointY(\"Centre\")", "Box", - "Box.PointX(Centre)", - "Box.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", "90", "", "no", @@ -7522,8 +7522,8 @@ "parameters": [ "Circle", "Physics2Behavior", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "no", "", "", @@ -7924,10 +7924,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre)", - "Box.PointY(Centre)", - "Box.PointX(Centre)", - "Wall.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", + "Box.PointX(\"Centre\")", + "Wall.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -7939,8 +7939,8 @@ }, "parameters": [ "Drawer", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "2" ], "subInstructions": [] @@ -7952,10 +7952,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre)", - "Box.PointY(Centre)", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -9859,11 +9859,11 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Centre) + 1/3*Box.Width()", - "Box.PointY(Centre) + 0.75*Box.Height()", + "Box.PointX(\"Centre\") + 1/3*Box.Width()", + "Box.PointY(\"Centre\") + 0.75*Box.Height()", "Circle", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "70", "", "", @@ -9906,11 +9906,11 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Centre) - 1/3*Box.Width()", - "Box.PointY(Centre) + 1*Box.Height()", + "Box.PointX(\"Centre\") - 1/3*Box.Width()", + "Box.PointY(\"Centre\") + 1*Box.Height()", "Circle", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "105", "", "", @@ -11037,10 +11037,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre) + 1/3*Box.Width()*cos(ToRad(Box.Angle())) - 1*Box.Height()*sin(ToRad(Box.Angle()))", - "Box.PointY(Centre) + 1*Box.Height()*cos(ToRad(Box.Angle())) + 1/3*Box.Width()*sin(ToRad(Box.Angle()))", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Box.PointX(\"Centre\") + 1/3*Box.Width()*cos(ToRad(Box.Angle())) - 1*Box.Height()*sin(ToRad(Box.Angle()))", + "Box.PointY(\"Centre\") + 1*Box.Height()*cos(ToRad(Box.Angle())) + 1/3*Box.Width()*sin(ToRad(Box.Angle()))", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -11075,10 +11075,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre) - 1/3*Box.Width()*cos(ToRad(Box.Angle())) - 1*Box.Height()*sin(ToRad(Box.Angle()))", - "Box.PointY(Centre) + 1*Box.Height()*cos(ToRad(Box.Angle())) - 1/3*Box.Width()*sin(ToRad(Box.Angle()))", - "Circle.PointX(Centre)", - "Circle.PointY(Centre)", + "Box.PointX(\"Centre\") - 1/3*Box.Width()*cos(ToRad(Box.Angle())) - 1*Box.Height()*sin(ToRad(Box.Angle()))", + "Box.PointY(\"Centre\") + 1*Box.Height()*cos(ToRad(Box.Angle())) - 1/3*Box.Width()*sin(ToRad(Box.Angle()))", + "Circle.PointX(\"Centre\")", + "Circle.PointY(\"Centre\")", "1" ], "subInstructions": [] @@ -11513,11 +11513,11 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", "Circle", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "", "", "", @@ -11960,10 +11960,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "1" ], "subInstructions": [] @@ -11975,8 +11975,8 @@ }, "parameters": [ "Drawer", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", "2" ], "subInstructions": [] @@ -12291,11 +12291,11 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", "Circle", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "", "no", "joint" @@ -12522,10 +12522,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Anchor)", - "Box.PointY(Anchor)", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Box.PointX(\"Anchor\")", + "Box.PointY(\"Anchor\")", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "1" ], "subInstructions": [] @@ -12931,11 +12931,11 @@ "parameters": [ "Box", "Physics2Behavior", - "Box.PointX(Centre)", - "Box.PointY(Centre)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", "Circle", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "1", "0.05", "no", @@ -13320,10 +13320,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre)", - "Box.PointY(Centre)", - "Circle.PointX(Anchor)", - "Circle.PointY(Anchor)", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", + "Circle.PointX(\"Anchor\")", + "Circle.PointY(\"Anchor\")", "1" ], "subInstructions": [] @@ -14990,10 +14990,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre)", - "Box.PointY(Centre)", - "Box.PointX(Centre) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*cos(ToRad(Box.Angle())) - Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*sin(ToRad(Box.Angle()))", - "Box.PointY(Centre) + Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*cos(ToRad(Box.Angle())) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*sin(ToRad(Box.Angle()))", + "Box.PointX(\"Centre\")", + "Box.PointY(\"Centre\")", + "Box.PointX(\"Centre\") + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*cos(ToRad(Box.Angle())) - Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*sin(ToRad(Box.Angle()))", + "Box.PointY(\"Centre\") + Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*cos(ToRad(Box.Angle())) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*sin(ToRad(Box.Angle()))", "1" ], "subInstructions": [] @@ -15005,10 +15005,10 @@ }, "parameters": [ "Drawer", - "Box.PointX(Centre) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*cos(ToRad(Box.Angle())) - Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*sin(ToRad(Box.Angle()))", - "Box.PointY(Centre) + Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*cos(ToRad(Box.Angle())) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*sin(ToRad(Box.Angle()))", - "Box.PointX(Centre) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*cos(ToRad(Box.Angle())) - Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*sin(ToRad(Box.Angle())) + 30*cos(ToRad(Box.Angle() + Box.Physics2Behavior::MotorJointAngularOffset(Variable(joint))))", - "Box.PointY(Centre) + Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*cos(ToRad(Box.Angle())) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*sin(ToRad(Box.Angle())) + 30*sin(ToRad(Box.Angle() + Box.Physics2Behavior::MotorJointAngularOffset(Variable(joint))))", + "Box.PointX(\"Centre\") + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*cos(ToRad(Box.Angle())) - Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*sin(ToRad(Box.Angle()))", + "Box.PointY(\"Centre\") + Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*cos(ToRad(Box.Angle())) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*sin(ToRad(Box.Angle()))", + "Box.PointX(\"Centre\") + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*cos(ToRad(Box.Angle())) - Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*sin(ToRad(Box.Angle())) + 30*cos(ToRad(Box.Angle() + Box.Physics2Behavior::MotorJointAngularOffset(Variable(joint))))", + "Box.PointY(\"Centre\") + Box.Physics2Behavior::MotorJointOffsetY(Variable(joint))*cos(ToRad(Box.Angle())) + Box.Physics2Behavior::MotorJointOffsetX(Variable(joint))*sin(ToRad(Box.Angle())) + 30*sin(ToRad(Box.Angle() + Box.Physics2Behavior::MotorJointAngularOffset(Variable(joint))))", "1" ], "subInstructions": [] @@ -15607,9 +15607,9 @@ "parameters": [ "SceneButtonText", "=", - "SceneButton.PointX(Centre) - SceneButtonText.Width()/2", + "SceneButton.PointX(\"Centre\") - SceneButtonText.Width()/2", "=", - "SceneButton.PointY(Centre) - SceneButtonText.Height()/2" + "SceneButton.PointY(\"Centre\") - SceneButtonText.Height()/2" ], "subInstructions": [] } @@ -15813,9 +15813,9 @@ "parameters": [ "ButtonText", "=", - "Button.PointX(Centre) - ButtonText.Width()/2", + "Button.PointX(\"Centre\") - ButtonText.Width()/2", "=", - "Button.PointY(Centre) - ButtonText.Height()/2" + "Button.PointY(\"Centre\") - ButtonText.Height()/2" ], "subInstructions": [] } diff --git a/newIDE/app/src/fixtures/physics/physics.json b/newIDE/app/src/fixtures/physics/physics.json index 3c0e6317cc1c..0d6dfa655807 100644 --- a/newIDE/app/src/fixtures/physics/physics.json +++ b/newIDE/app/src/fixtures/physics/physics.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -3007,8 +3007,8 @@ "parameters": [ "Lever", "Physics2", - "Lever.PointX(Centre)", - "Lever.PointY(Centre)", + "Lever.PointX(\"Centre\")", + "Lever.PointY(\"Centre\")", "", "", "", @@ -3124,8 +3124,8 @@ "Physics2", "15", "-5", - "BlackSphere.PointX(Centre)", - "BlackSphere.PointY(Centre)" + "BlackSphere.PointX(\"Centre\")", + "BlackSphere.PointY(\"Centre\")" ], "subInstructions": [] } diff --git a/newIDE/app/src/fixtures/pin-object-to-another-multiple-parents/pin-object-to-another-multiple-parents.json b/newIDE/app/src/fixtures/pin-object-to-another-multiple-parents/pin-object-to-another-multiple-parents.json index 1b6f352fd48c..0834a7fffb58 100644 --- a/newIDE/app/src/fixtures/pin-object-to-another-multiple-parents/pin-object-to-another-multiple-parents.json +++ b/newIDE/app/src/fixtures/pin-object-to-another-multiple-parents/pin-object-to-another-multiple-parents.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -611,7 +611,7 @@ "child", "AngleToParent", "=", - "ToDeg(atan2(child.PointY(Centre) - parent.PointY(Centre), child.PointX(Centre) - parent.PointX(Centre)))" + "ToDeg(atan2(child.PointY(\"Centre\") - parent.PointY(\"Centre\"), child.PointX(\"Centre\") - parent.PointX(\"Centre\")))" ], "subInstructions": [] } @@ -901,7 +901,7 @@ "child", "distanceX", "=", - "parent.PointX(Centre) - child.PointX(Centre)" + "parent.PointX(\"Centre\") - child.PointX(\"Centre\")" ], "subInstructions": [] }, @@ -914,7 +914,7 @@ "child", "distanceY", "=", - "parent.PointY(Centre) - child.PointY(Centre)" + "parent.PointY(\"Centre\") - child.PointY(\"Centre\")" ], "subInstructions": [] }, @@ -943,9 +943,9 @@ "value": "Egal" }, "parameters": [ - "child.PointX(Centre)", + "child.PointX(\"Centre\")", ">", - "parent.PointX(Centre)" + "parent.PointX(\"Centre\")" ], "subInstructions": [] } @@ -978,9 +978,9 @@ "value": "Egal" }, "parameters": [ - "child.PointX(Centre)", + "child.PointX(\"Centre\")", "<", - "parent.PointX(Centre)" + "parent.PointX(\"Centre\")" ], "subInstructions": [] } @@ -1013,9 +1013,9 @@ "value": "Egal" }, "parameters": [ - "child.PointY(Centre)", + "child.PointY(\"Centre\")", ">", - "parent.PointY(Centre)" + "parent.PointY(\"Centre\")" ], "subInstructions": [] } @@ -1048,9 +1048,9 @@ "value": "Egal" }, "parameters": [ - "child.PointY(Centre)", + "child.PointY(\"Centre\")", "<", - "parent.PointY(Centre)" + "parent.PointY(\"Centre\")" ], "subInstructions": [] } diff --git a/newIDE/app/src/fixtures/pin-object-to-another/pin-object-to-another.json b/newIDE/app/src/fixtures/pin-object-to-another/pin-object-to-another.json index 0c45b8aba384..40844815f0f5 100644 --- a/newIDE/app/src/fixtures/pin-object-to-another/pin-object-to-another.json +++ b/newIDE/app/src/fixtures/pin-object-to-another/pin-object-to-another.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/pixel-perfect-platform-game/pixel-perfect-platform-game.json b/newIDE/app/src/fixtures/pixel-perfect-platform-game/pixel-perfect-platform-game.json index 545423e1d932..3b2eeffd2d90 100644 --- a/newIDE/app/src/fixtures/pixel-perfect-platform-game/pixel-perfect-platform-game.json +++ b/newIDE/app/src/fixtures/pixel-perfect-platform-game/pixel-perfect-platform-game.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/plane-and-clouds/plane-and-clouds.json b/newIDE/app/src/fixtures/plane-and-clouds/plane-and-clouds.json index 63e69f2d438c..3fdb9f93e026 100644 --- a/newIDE/app/src/fixtures/plane-and-clouds/plane-and-clouds.json +++ b/newIDE/app/src/fixtures/plane-and-clouds/plane-and-clouds.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -674,9 +674,9 @@ "parameters": [ "Smoke", "=", - "Plane.PointX(Smoke)", + "Plane.PointX(\"Smoke\")", "=", - "Plane.PointY(Smoke)" + "Plane.PointY(\"Smoke\")" ], "subInstructions": [] }, @@ -738,7 +738,7 @@ "parameters": [ "", "=", - "Plane.PointX(Centre)*1.5", + "Plane.PointX(\"Centre\")*1.5", "\"UpperLayer\"", "" ], @@ -752,7 +752,7 @@ "parameters": [ "", "=", - "Plane.PointY(Centre)*1.5", + "Plane.PointY(\"Centre\")*1.5", "\"UpperLayer\"", "" ], @@ -804,9 +804,9 @@ "parameters": [ "Bullet", "=", - "Plane.PointX(GunA)", + "Plane.PointX(\"GunA\")", "=", - "Plane.PointY(GunA)" + "Plane.PointY(\"GunA\")" ], "subInstructions": [] }, @@ -853,9 +853,9 @@ "parameters": [ "Bullet", "=", - "Plane.PointX(GunB)", + "Plane.PointX(\"GunB\")", "=", - "Plane.PointY(GunB)" + "Plane.PointY(\"GunB\")" ], "subInstructions": [] }, @@ -1012,8 +1012,8 @@ "parameters": [ "", "Cloud", - "Plane.PointX(Centre) + 700*cos(ToRad(Variable(random_angle)))", - "Plane.PointY(Centre) + 700*sin(ToRad(Variable(random_angle)))", + "Plane.PointX(\"Centre\") + 700*cos(ToRad(Variable(random_angle)))", + "Plane.PointY(\"Centre\") + 700*sin(ToRad(Variable(random_angle)))", "" ], "subInstructions": [] @@ -1121,9 +1121,9 @@ "parameters": [ "Cloud", "=", - "Cloud.X() + (1.5 -1)*Plane.PointX(Centre)", + "Cloud.X() + (1.5 -1)*Plane.PointX(\"Centre\")", "=", - "Cloud.Y() + (1.5 -1)*Plane.PointY(Centre)" + "Cloud.Y() + (1.5 -1)*Plane.PointY(\"Centre\")" ], "subInstructions": [] } @@ -1194,8 +1194,8 @@ "parameters": [ "", "Bullet", - "Plane.PointX(GunA)", - "Plane.PointY(GunA)", + "Plane.PointX(\"GunA\")", + "Plane.PointY(\"GunA\")", "" ], "subInstructions": [] @@ -1242,8 +1242,8 @@ "parameters": [ "", "Bullet", - "Plane.PointX(GunB)", - "Plane.PointY(GunB)", + "Plane.PointX(\"GunB\")", + "Plane.PointY(\"GunB\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/platformer-double-jump/platformer-double-jump.json b/newIDE/app/src/fixtures/platformer-double-jump/platformer-double-jump.json index daf255e06027..cf3f4c899ade 100644 --- a/newIDE/app/src/fixtures/platformer-double-jump/platformer-double-jump.json +++ b/newIDE/app/src/fixtures/platformer-double-jump/platformer-double-jump.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/platformer/platformer.json b/newIDE/app/src/fixtures/platformer/platformer.json index 1bf065c67489..2bad607a82b1 100644 --- a/newIDE/app/src/fixtures/platformer/platformer.json +++ b/newIDE/app/src/fixtures/platformer/platformer.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/play-music-on-mobile/play-music-on-mobile.json b/newIDE/app/src/fixtures/play-music-on-mobile/play-music-on-mobile.json index 4d7afc0d4893..22cdf979cb81 100644 --- a/newIDE/app/src/fixtures/play-music-on-mobile/play-music-on-mobile.json +++ b/newIDE/app/src/fixtures/play-music-on-mobile/play-music-on-mobile.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/play-stop-sprite-animation/play-stop-sprite-animation.json b/newIDE/app/src/fixtures/play-stop-sprite-animation/play-stop-sprite-animation.json index c036d54b7302..60398b50b127 100644 --- a/newIDE/app/src/fixtures/play-stop-sprite-animation/play-stop-sprite-animation.json +++ b/newIDE/app/src/fixtures/play-stop-sprite-animation/play-stop-sprite-animation.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/racing-game/racing-game.json b/newIDE/app/src/fixtures/racing-game/racing-game.json index 233d5ba939f2..93cc54d94ed8 100644 --- a/newIDE/app/src/fixtures/racing-game/racing-game.json +++ b/newIDE/app/src/fixtures/racing-game/racing-game.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -7996,8 +7996,8 @@ "Physics2", "AICar.Direction()", "AICar.Variable(Acceleration)/10", - "AICar.PointX(Centre)", - "AICar.PointY(Centre)" + "AICar.PointX(\"Centre\")", + "AICar.PointY(\"Centre\")" ], "subInstructions": [] } @@ -8300,8 +8300,8 @@ "Physics2", "PlayerCar.Angle()", "PlayerCar.Variable(Acceleration)/10", - "PlayerCar.PointX(Centre)", - "PlayerCar.PointY(Centre)" + "PlayerCar.PointX(\"Centre\")", + "PlayerCar.PointY(\"Centre\")" ], "subInstructions": [] } @@ -8324,8 +8324,8 @@ "Physics2", "PlayerCar.Angle()+180", "PlayerCar.Variable(Breaking)/10", - "PlayerCar.PointX(Centre)", - "PlayerCar.PointY(Centre)" + "PlayerCar.PointX(\"Centre\")", + "PlayerCar.PointY(\"Centre\")" ], "subInstructions": [] } diff --git a/newIDE/app/src/fixtures/ragdoll/ragdoll.json b/newIDE/app/src/fixtures/ragdoll/ragdoll.json index 0f5b55130934..4c0f48436221 100644 --- a/newIDE/app/src/fixtures/ragdoll/ragdoll.json +++ b/newIDE/app/src/fixtures/ragdoll/ragdoll.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -2154,11 +2154,11 @@ "parameters": [ "Head", "Physics2Behavior", - "Head.PointX(Attach)", - "Head.PointY(Attach)", + "Head.PointX(\"Attach\")", + "Head.PointY(\"Attach\")", "Torso", - "Torso.PointX(HeadAttach)", - "Torso.PointY(HeadAttach)", + "Torso.PointX(\"HeadAttach\")", + "Torso.PointY(\"HeadAttach\")", "yes", "", "15", @@ -2179,11 +2179,11 @@ "parameters": [ "RUpperArm", "Physics2Behavior", - "RUpperArm.PointX(TopAttach)", - "RUpperArm.PointY(TopAttach)", + "RUpperArm.PointX(\"TopAttach\")", + "RUpperArm.PointY(\"TopAttach\")", "Torso", - "Torso.PointX(ArmAttach)", - "Torso.PointY(ArmAttach)", + "Torso.PointX(\"ArmAttach\")", + "Torso.PointY(\"ArmAttach\")", "no", "", "", @@ -2204,11 +2204,11 @@ "parameters": [ "LUpperArm", "Physics2Behavior", - "LUpperArm.PointX(TopAttach)", - "LUpperArm.PointY(TopAttach)", + "LUpperArm.PointX(\"TopAttach\")", + "LUpperArm.PointY(\"TopAttach\")", "Torso", - "Torso.PointX(ArmAttach)", - "Torso.PointY(ArmAttach)", + "Torso.PointX(\"ArmAttach\")", + "Torso.PointY(\"ArmAttach\")", "no", "", "", @@ -2229,11 +2229,11 @@ "parameters": [ "LUpperArm", "Physics2Behavior", - "LUpperArm.PointX(BotAttach)", - "LUpperArm.PointY(BotAttach)", + "LUpperArm.PointX(\"BotAttach\")", + "LUpperArm.PointY(\"BotAttach\")", "LArm", - "LArm.PointX(Attach)", - "LArm.PointY(Attach)", + "LArm.PointX(\"Attach\")", + "LArm.PointY(\"Attach\")", "yes", "", "20", @@ -2254,11 +2254,11 @@ "parameters": [ "RUpperArm", "Physics2Behavior", - "RUpperArm.PointX(BotAttach)", - "RUpperArm.PointY(BotAttach)", + "RUpperArm.PointX(\"BotAttach\")", + "RUpperArm.PointY(\"BotAttach\")", "RArm", - "RArm.PointX(Attach)", - "RArm.PointY(Attach)", + "RArm.PointX(\"Attach\")", + "RArm.PointY(\"Attach\")", "yes", "", "20", @@ -2279,11 +2279,11 @@ "parameters": [ "RThigh", "Physics2Behavior", - "RThigh.PointX(TopAttach)", - "RThigh.PointY(TopAttach)", + "RThigh.PointX(\"TopAttach\")", + "RThigh.PointY(\"TopAttach\")", "Torso", - "Torso.PointX(LegAttach)", - "Torso.PointY(LegAttach)", + "Torso.PointX(\"LegAttach\")", + "Torso.PointY(\"LegAttach\")", "yes", "", "-10", @@ -2304,11 +2304,11 @@ "parameters": [ "LThigh", "Physics2Behavior", - "LThigh.PointX(TopAttach)", - "LThigh.PointY(TopAttach)", + "LThigh.PointX(\"TopAttach\")", + "LThigh.PointY(\"TopAttach\")", "Torso", - "Torso.PointX(LegAttach)", - "Torso.PointY(LegAttach)", + "Torso.PointX(\"LegAttach\")", + "Torso.PointY(\"LegAttach\")", "yes", "", "-10", @@ -2329,11 +2329,11 @@ "parameters": [ "RThigh", "Physics2Behavior", - "RThigh.PointX(BotAttach)", - "RThigh.PointY(BotAttach)", + "RThigh.PointX(\"BotAttach\")", + "RThigh.PointY(\"BotAttach\")", "RLeg", - "RLeg.PointX(Attach)", - "RLeg.PointY(Attach)", + "RLeg.PointX(\"Attach\")", + "RLeg.PointY(\"Attach\")", "yes", "", "", @@ -2354,11 +2354,11 @@ "parameters": [ "LThigh", "Physics2Behavior", - "LThigh.PointX(BotAttach)", - "LThigh.PointY(BotAttach)", + "LThigh.PointX(\"BotAttach\")", + "LThigh.PointY(\"BotAttach\")", "LLeg", - "LLeg.PointX(Attach)", - "LLeg.PointY(Attach)", + "LLeg.PointX(\"Attach\")", + "LLeg.PointY(\"Attach\")", "yes", "", "", diff --git a/newIDE/app/src/fixtures/rain/rain.json b/newIDE/app/src/fixtures/rain/rain.json index c4e8296db5b2..c246eda09719 100644 --- a/newIDE/app/src/fixtures/rain/rain.json +++ b/newIDE/app/src/fixtures/rain/rain.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/random-color-picker/random-color-picker.json b/newIDE/app/src/fixtures/random-color-picker/random-color-picker.json index 2887343bef1a..8eb2a4ad4c4a 100644 --- a/newIDE/app/src/fixtures/random-color-picker/random-color-picker.json +++ b/newIDE/app/src/fixtures/random-color-picker/random-color-picker.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/rotate-toward-mouse/rotate-toward-mouse.json b/newIDE/app/src/fixtures/rotate-toward-mouse/rotate-toward-mouse.json index 18891cefedeb..5fb0dadc6d3d 100644 --- a/newIDE/app/src/fixtures/rotate-toward-mouse/rotate-toward-mouse.json +++ b/newIDE/app/src/fixtures/rotate-toward-mouse/rotate-toward-mouse.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/rotate-toward-position/rotate-toward-position.json b/newIDE/app/src/fixtures/rotate-toward-position/rotate-toward-position.json index 9d84df67f65e..706ccf1925d0 100644 --- a/newIDE/app/src/fixtures/rotate-toward-position/rotate-toward-position.json +++ b/newIDE/app/src/fixtures/rotate-toward-position/rotate-toward-position.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/rotate-with-keypress/rotate-with-keypress.json b/newIDE/app/src/fixtures/rotate-with-keypress/rotate-with-keypress.json index d4133f91fe8e..2d017bfdc474 100644 --- a/newIDE/app/src/fixtures/rotate-with-keypress/rotate-with-keypress.json +++ b/newIDE/app/src/fixtures/rotate-with-keypress/rotate-with-keypress.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/save-load/save-load.json b/newIDE/app/src/fixtures/save-load/save-load.json index 1f8be2616cf9..907f600f0c53 100644 --- a/newIDE/app/src/fixtures/save-load/save-load.json +++ b/newIDE/app/src/fixtures/save-load/save-load.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/screen-shake/screen-shake.json b/newIDE/app/src/fixtures/screen-shake/screen-shake.json index 21eb779bb0e4..efc7aabf2f61 100644 --- a/newIDE/app/src/fixtures/screen-shake/screen-shake.json +++ b/newIDE/app/src/fixtures/screen-shake/screen-shake.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/shoot-bullet-in-parabola/shoot-bullet-in-parabola.json b/newIDE/app/src/fixtures/shoot-bullet-in-parabola/shoot-bullet-in-parabola.json index b74ac3780308..0a60b5d79396 100644 --- a/newIDE/app/src/fixtures/shoot-bullet-in-parabola/shoot-bullet-in-parabola.json +++ b/newIDE/app/src/fixtures/shoot-bullet-in-parabola/shoot-bullet-in-parabola.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/shoot-bullets/shoot-bullets.json b/newIDE/app/src/fixtures/shoot-bullets/shoot-bullets.json index f02402b4b994..34120dfa321c 100644 --- a/newIDE/app/src/fixtures/shoot-bullets/shoot-bullets.json +++ b/newIDE/app/src/fixtures/shoot-bullets/shoot-bullets.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -522,8 +522,8 @@ "parameters": [ "", "bullet", - "kenney.PointX(firespot)", - "kenney.PointY(firespot)", + "kenney.PointX(\"firespot\")", + "kenney.PointY(\"firespot\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/shooting-bullets-explanation/shooting-bullets-explanation.json b/newIDE/app/src/fixtures/shooting-bullets-explanation/shooting-bullets-explanation.json index a4b27ccd2937..2338eaa2496d 100644 --- a/newIDE/app/src/fixtures/shooting-bullets-explanation/shooting-bullets-explanation.json +++ b/newIDE/app/src/fixtures/shooting-bullets-explanation/shooting-bullets-explanation.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -444,8 +444,8 @@ "parameters": [ "", "Bullet", - "Tank.PointX(Canon)", - "Tank.PointY(Canon)", + "Tank.PointX(\"Canon\")", + "Tank.PointY(\"Canon\")", "" ], "subInstructions": [] @@ -899,8 +899,8 @@ "parameters": [ "", "Bullet", - "Tank.PointX(Canon)", - "Tank.PointY(Canon)", + "Tank.PointX(\"Canon\")", + "Tank.PointY(\"Canon\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/snap-object-to-grid/snap-object-to-grid.json b/newIDE/app/src/fixtures/snap-object-to-grid/snap-object-to-grid.json index 87d2e30e5f67..5229969e7dd1 100644 --- a/newIDE/app/src/fixtures/snap-object-to-grid/snap-object-to-grid.json +++ b/newIDE/app/src/fixtures/snap-object-to-grid/snap-object-to-grid.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/space-invaders/space-invaders.json b/newIDE/app/src/fixtures/space-invaders/space-invaders.json new file mode 100644 index 000000000000..cc3911bf0608 --- /dev/null +++ b/newIDE/app/src/fixtures/space-invaders/space-invaders.json @@ -0,0 +1,7183 @@ +{ + "firstLayout": "", + "gdVersion": { + "build": 98, + "major": 4, + "minor": 0, + "revision": 0 + }, + "properties": { + "adMobAppId": "", + "folderProject": false, + "linuxExecutableFilename": "", + "macExecutableFilename": "", + "orientation": "landscape", + "packageName": "com.zat.invaders", + "projectFile": "G:\\Games\\Invaders\\invaders.json", + "scaleMode": "linear", + "sizeOnStartupMode": "adaptWidth", + "useExternalSourceFiles": false, + "version": "1.0.0", + "winExecutableFilename": "", + "winExecutableIconFile": "", + "name": "Invaders", + "author": "Zat", + "windowWidth": 960, + "windowHeight": 540, + "latestCompilationDirectory": "", + "maxFPS": 60, + "minFPS": 10, + "verticalSync": false, + "platformSpecificAssets": {}, + "loadingScreen": { + "showGDevelopSplash": true + }, + "extensions": [ + { + "name": "BuiltinObject" + }, + { + "name": "BuiltinAudio" + }, + { + "name": "BuiltinVariables" + }, + { + "name": "BuiltinTime" + }, + { + "name": "BuiltinMouse" + }, + { + "name": "BuiltinKeyboard" + }, + { + "name": "BuiltinJoystick" + }, + { + "name": "BuiltinCamera" + }, + { + "name": "BuiltinWindow" + }, + { + "name": "BuiltinFile" + }, + { + "name": "BuiltinNetwork" + }, + { + "name": "BuiltinScene" + }, + { + "name": "BuiltinAdvanced" + }, + { + "name": "Sprite" + }, + { + "name": "BuiltinCommonInstructions" + }, + { + "name": "BuiltinCommonConversions" + }, + { + "name": "BuiltinStringInstructions" + }, + { + "name": "BuiltinMathematicalTools" + }, + { + "name": "BuiltinExternalLayouts" + } + ], + "platforms": [ + { + "name": "GDevelop JS platform" + } + ], + "currentPlatform": "GDevelop JS platform" + }, + "resources": { + "resources": [ + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/Background1.jpeg", + "kind": "image", + "metadata": "", + "name": "Background1.jpeg", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/playerShip1_red.png", + "kind": "image", + "metadata": "", + "name": "playerShip1_red.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/enemyGreen2.png", + "kind": "image", + "metadata": "", + "name": "enemyGreen2.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/enemyBlack5.png", + "kind": "image", + "metadata": "", + "name": "enemyBlack5.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/enemyBlue1.png", + "kind": "image", + "metadata": "", + "name": "enemyBlue1.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/spaceStation_028.png", + "kind": "image", + "metadata": "", + "name": "spaceStation_028.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/laserRed06.png", + "kind": "image", + "metadata": "", + "name": "laserRed06.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/laserGreen04.png", + "kind": "image", + "metadata": "", + "name": "laserGreen04.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/Base.png", + "kind": "image", + "metadata": "", + "name": "Base.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/GDevelop.png", + "kind": "image", + "metadata": "", + "name": "GDevelop.png", + "smoothed": true, + "userAdded": false + }, + { + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/Audio/laser1.ogg", + "kind": "audio", + "metadata": "", + "name": "laser1.ogg", + "userAdded": true + }, + { + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/Audio/laser8.ogg", + "kind": "audio", + "metadata": "", + "name": "laser8.ogg", + "userAdded": true + }, + { + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/Audio/twoTone1.ogg", + "kind": "audio", + "metadata": "", + "name": "twoTone1.ogg", + "userAdded": true + }, + { + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/Audio/lowRandom.ogg", + "kind": "audio", + "metadata": "", + "name": "lowRandom.ogg", + "userAdded": true + }, + { + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/Kenney Future Narrow.ttf", + "kind": "font", + "metadata": "", + "name": "Kenney Future Narrow.ttf", + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/Left.png", + "kind": "image", + "metadata": "", + "name": "GFX\\Left.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/Right.png", + "kind": "image", + "metadata": "", + "name": "GFX\\Right.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "https://df5lqcdudryde.cloudfront.net/examples/space-invaders/GFX/Fire.png", + "kind": "image", + "metadata": "", + "name": "GFX\\Fire.png", + "smoothed": true, + "userAdded": true + } + ], + "resourceFolders": [] + }, + "objects": [], + "objectsGroups": [], + "variables": [ + { + "name": "Score", + "value": "" + } + ], + "layouts": [ + { + "b": 209, + "disableInputWhenNotFocused": true, + "mangledName": "Phase1", + "name": "Phase1", + "oglFOV": 90, + "oglZFar": 500, + "oglZNear": 1, + "r": 209, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 209, + "uiSettings": { + "grid": false, + "gridB": 255, + "gridG": 180, + "gridHeight": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridR": 158, + "gridWidth": 32, + "snap": true, + "windowMask": false, + "zoomFactor": 1 + }, + "objectsGroups": [ + { + "name": "Enemy", + "objects": [ + { + "name": "Invader1" + }, + { + "name": "Invader2" + }, + { + "name": "Invader3" + } + ] + } + ], + "variables": [ + { + "name": "Direction", + "value": "" + }, + { + "name": "Score", + "value": "" + }, + { + "name": "InvaderCOUNT", + "value": "" + }, + { + "name": "Delay", + "value": "" + }, + { + "name": "Row", + "value": "" + }, + { + "name": "Invader1", + "value": "" + }, + { + "name": "Invader2", + "value": "" + }, + { + "name": "Invader3", + "value": "" + }, + { + "name": "UFOTime", + "value": "" + }, + { + "name": "BombNUM", + "value": "" + }, + { + "name": "RandVAR", + "value": "" + }, + { + "name": "BombMAX", + "value": "" + }, + { + "name": "BombFREQ", + "value": "" + } + ], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Ship", + "width": 0, + "x": 497, + "y": 459, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 557, + "layer": "", + "locked": true, + "name": "Background", + "width": 1077, + "x": -15, + "y": -14, + "zOrder": -10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 128, + "layer": "Controls", + "locked": false, + "name": "Left", + "width": 128, + "x": 11, + "y": 404, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 128, + "layer": "Controls", + "locked": false, + "name": "Right", + "width": 128, + "x": 135, + "y": 404, + "zOrder": 3, + "numberProperties": [ + { + "name": "animation", + "value": 0 + } + ], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 128, + "layer": "Controls", + "locked": false, + "name": "Fire", + "width": 128, + "x": 915, + "y": 404, + "zOrder": 4, + "numberProperties": [ + { + "name": "animation", + "value": 0 + } + ], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Count", + "width": 0, + "x": 746, + "y": 597, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 20, + "layer": "", + "locked": false, + "name": "ScoreNUM", + "width": 89, + "x": 110, + "y": 19, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "ScoreTEXT", + "width": 0, + "x": 25, + "y": 19, + "zOrder": 8, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "BombTextNUM", + "width": 0, + "x": 667, + "y": 599, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 386, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 398, + "y": 378, + "zOrder": 11, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 363, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 413, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 348, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 413, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 348, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 363, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 368, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 373, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 378, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 383, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 388, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 388, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 383, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 378, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 378, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 383, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 373, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 388, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 393, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 373, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 368, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 398, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 363, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 348, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 413, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 368, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 393, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 398, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 358, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 393, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 403, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 413, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 353, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 408, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 348, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 398, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 363, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 386, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 624, + "y": 378, + "zOrder": 11, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 589, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 639, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 574, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 639, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 574, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 589, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 594, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 599, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 604, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 609, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 614, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 614, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 609, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 604, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 604, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 609, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 599, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 614, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 619, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 599, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 594, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 624, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 589, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 574, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 639, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 594, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 619, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 624, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 584, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 619, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 629, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 639, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 579, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 634, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 574, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 624, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 589, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 386, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 173, + "y": 378, + "zOrder": 11, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 138, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 188, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 123, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 188, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 123, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 138, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 143, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 148, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 153, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 158, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 163, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 163, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 158, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 153, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 153, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 158, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 148, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 163, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 168, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 148, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 143, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 173, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 138, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 123, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 188, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 143, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 168, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 173, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 133, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 168, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 178, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 188, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 128, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 183, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 123, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 173, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 138, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 386, + "zOrder": 10, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 847, + "y": 378, + "zOrder": 11, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 812, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 862, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 797, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 862, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 797, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 812, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 817, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 822, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 827, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 832, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 837, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 837, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 832, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 827, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 827, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 832, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 822, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 394, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 402, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 837, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 842, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 822, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 817, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 847, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 812, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 797, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 862, + "y": 386, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 817, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 842, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 847, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 807, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 842, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 852, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 862, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 802, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 857, + "y": 370, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 797, + "y": 378, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 847, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Base", + "width": 0, + "x": 812, + "y": 362, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "name": "Invader1", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "Invader", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "enemyGreen2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Invader2", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "enemyBlack5.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Invader3", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "enemyBlue1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Ship", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "Ship", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "playerShip1_red.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 21, + "y": 16 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [ + [ + { + "x": 24, + "y": 24 + }, + { + "x": 56, + "y": 24 + }, + { + "x": 56, + "y": 56 + }, + { + "x": 24, + "y": 56 + } + ] + ] + } + ] + } + ] + } + ] + }, + { + "name": "Background", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Background1.jpeg", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Bullet", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "extraBorder": 0, + "name": "DestroyOutside", + "type": "DestroyOutsideBehavior::DestroyOutside" + } + ], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "laserRed06.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 4, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Left", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "GFX\\Left.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Right", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "GFX\\Right.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Fire", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "GFX\\Fire.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": false, + "italic": false, + "name": "ScoreTEXT", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "SCORE:", + "font": "Kenney Future Narrow.ttf", + "characterSize": 20, + "color": { + "b": 255, + "g": 255, + "r": 255 + } + }, + { + "bold": false, + "italic": false, + "name": "ScoreNUM", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "00000", + "font": "Kenney Future Narrow.ttf", + "characterSize": 20, + "color": { + "b": 255, + "g": 255, + "r": 255 + } + }, + { + "name": "UFO", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "extraBorder": 0, + "name": "DestroyOutside", + "type": "DestroyOutsideBehavior::DestroyOutside" + } + ], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "spaceStation_028.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Bomb", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "laserGreen04.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": false, + "italic": false, + "name": "Count", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "24", + "font": "", + "characterSize": 20, + "color": { + "b": 255, + "g": 255, + "r": 255 + } + }, + { + "bold": false, + "italic": false, + "name": "BombTextNUM", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "Text", + "font": "", + "characterSize": 20, + "color": { + "b": 255, + "g": 255, + "r": 255 + } + }, + { + "name": "Base", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Base.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + } + ], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Initialise Scene", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"InvaderTimer\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"UFOTimer\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Direction", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Row", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader1", + "=", + "1\n" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader2", + "=", + "1\n" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader3", + "=", + "1\n" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "UFOTime", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "InvaderCOUNT", + "=", + "24" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombMAX", + "=", + "4" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombFREQ", + "=", + "2" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "If game is not running on Mobile do not display the touch controls", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "SystemInfo::IsMobile" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "HideLayer" + }, + "parameters": [ + "", + "\"Controls\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Create the wave of invaders", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "infiniteLoopWarning": true, + "type": "BuiltinCommonInstructions::While", + "whileConditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Invader1", + "<", + "9" + ], + "subInstructions": [] + } + ], + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Invader1", + "Variable(Invader1)*60\n", + "0", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader1", + "+", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Invader2", + "Variable(Invader2)*60\n", + "40", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader2", + "+", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Invader3", + "Variable(Invader3)*60\n", + "80", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Invader3", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Invaders", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Move Invaders each 'Delay' sec", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Timer" + }, + "parameters": [ + "", + "Variable(Delay)", + "\"InvaderTimer\"" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Invader1", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Invader1", + "+", + "40*Variable(Direction)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Invader1", + "=", + "20+(20*Variable(Row))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "RandVAR", + "=", + "RandomInRange(0, 30)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "BombNUM", + "<", + "Variable(BombMAX)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "RandVAR", + "<", + "Variable(BombFREQ)" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bomb", + "Invader1.X()", + "Invader1.Y()", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Invader2", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Invader2", + "+", + "40*Variable(Direction)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Invader2", + "=", + "60+(20*Variable(Row))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "RandVAR", + "=", + "RandomInRange(0, 30)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "BombNUM", + "<", + "Variable(BombMAX)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "RandVAR", + "<", + "Variable(BombFREQ)" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bomb", + "Invader1.X()", + "Invader1.Y()", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Invader3", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Invader3", + "+", + "40*Variable(Direction)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Invader3", + "=", + "100+(20*Variable(Row))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "RandVAR", + "=", + "RandomInRange(0, 30)" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::And" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "BombNUM", + "<", + "Variable(BombMAX)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "RandVAR", + "<", + "Variable(BombFREQ)" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bomb", + "Invader1.X()", + "Invader1.Y()", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"InvaderTimer\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "lowRandom.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Did an Invader reach the edge of screen?", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Enemy", + "<", + "60" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Direction", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Row", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Delay", + ">", + "0.1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "-", + "0.1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Enemy", + ">", + "980" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Direction", + "=", + "-1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Row", + "+", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Did an Invader hit the Base", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Enemy", + "Base", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Base", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Speed of Invaders increases as their numbers diminish", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "InvaderCOUNT", + "<", + "18" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.4" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombMAX", + "=", + "6" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "InvaderCOUNT", + "<", + "12" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.3" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombMAX", + "=", + "7" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "InvaderCOUNT", + "<", + "7" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.2" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombMAX", + "=", + "8" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "InvaderCOUNT", + "<", + "3" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Delay", + "=", + "0.1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Player Input Move", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Player on Mobile", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "LayerVisible" + }, + "parameters": [ + "", + "\"Controls\"" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SourisBouton" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "Left", + "", + "yes", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Ship", + ">", + "50" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Ship", + "-", + "120 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "Right", + "", + "yes", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Ship", + "<", + "1000" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Ship", + "+", + "120 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "SourisSurObjet" + }, + "parameters": [ + "Fire", + "", + "yes", + "" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "NbObjet" + }, + "parameters": [ + "Bullet", + "<", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bullet", + "Ship.X()", + "Ship.Y()-20", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser8.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Player using keyboard", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "LayerVisible" + }, + "parameters": [ + "", + "\"Controls\"" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Ship", + ">", + "50" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Ship", + "-", + "120 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Right" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PosX" + }, + "parameters": [ + "Ship", + "<", + "1000" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "Ship", + "+", + "120 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "Space" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "KeyPressed" + }, + "parameters": [ + "", + "LControl" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "NbObjet" + }, + "parameters": [ + "Bullet", + "<", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "Bullet", + "Ship.X()", + "Ship.Y()-20", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser8.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ] + } + ], + "parameters": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Bullets", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Bullet", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Bullet", + "-", + "300 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Bullet", + "Enemy", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bullet", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Enemy", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "InvaderCOUNT", + "-", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Score", + "+", + "10 / Variable(Delay)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser1.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Bullet", + "Bomb", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bullet", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bomb", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "-", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser1.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Bullet", + "Base", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bullet", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Base", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser1.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Bombs", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "Bomb", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "Bomb", + "+", + "180 * TimeDelta()" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "Bomb", + ">", + "600" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bomb", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "-", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Bomb", + "Base", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bomb", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Base", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "BombNUM", + "-", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "laser1.ogg", + "no", + "30", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "UFO", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Timer" + }, + "parameters": [ + "", + "15", + "\"UFOTimer\"" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Create" + }, + "parameters": [ + "", + "UFO", + "0", + "60", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "\"UFOTimer\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::ForEach", + "object": "UFO", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreX" + }, + "parameters": [ + "UFO", + "+", + "90 * TimeDelta()" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "twoTone1.ogg", + "no", + "5", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "UFO", + "Bullet", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "Bullet", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "UFO", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Score", + "+", + "200" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "UFOTime", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "All Enemies dead? Load Phase1 again, or Phase2, 3 etc if you have more :)", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "NbObjet" + }, + "parameters": [ + "Enemy", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Phase1\"", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Update GUI", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Score", + "=", + "trunc(GlobalVariable(Score))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "ScoreNUM", + "=", + "LargeNumberToString(GlobalVariable(Score))" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Invaded!", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Invaders have collided with player ship :( Go back to Title, or a Game Over screen, Leaderboard if you have one.", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Ship", + "Enemy", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "Ship", + "Bomb", + "", + "" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Title\"", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": true, + "folded": false, + "name": "Debugging", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "Count", + "=", + "VariableString(InvaderCOUNT)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "TextObject::String" + }, + "parameters": [ + "BombTextNUM", + "=", + "VariableString(BombNUM)" + ], + "subInstructions": [] + } + ], + "events": [] + } + ], + "parameters": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [], + "events": [] + } + ], + "layers": [ + { + "name": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + }, + { + "name": "Controls", + "visibility": true, + "cameras": [], + "effects": [] + } + ], + "behaviorsSharedData": [] + }, + { + "b": 209, + "disableInputWhenNotFocused": true, + "mangledName": "Title", + "name": "Title", + "oglFOV": 90, + "oglZFar": 500, + "oglZNear": 1, + "r": 209, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 209, + "uiSettings": { + "grid": false, + "gridB": 255, + "gridG": 180, + "gridHeight": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridR": 158, + "gridWidth": 32, + "snap": true, + "windowMask": true, + "zoomFactor": 0.784 + }, + "objectsGroups": [], + "variables": [], + "instances": [ + { + "angle": 0, + "customSize": true, + "height": 206, + "layer": "", + "locked": false, + "name": "Title", + "width": 831, + "x": 178, + "y": 49, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Instruction2", + "width": 0, + "x": 139, + "y": 351, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 557, + "layer": "", + "locked": false, + "name": "Background", + "width": 1077, + "x": -15, + "y": -14, + "zOrder": -3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 87, + "layer": "", + "locked": false, + "name": "NewObject3", + "width": 308, + "x": 518, + "y": 462, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "Instruction1", + "width": 0, + "x": 133, + "y": 242, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "name": "Background", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "Background1.jpeg", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "bold": true, + "italic": false, + "name": "Title", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "INVADERS", + "font": "Kenney Future Narrow.ttf", + "characterSize": 140, + "color": { + "b": 0, + "g": 0, + "r": 178 + } + }, + { + "bold": false, + "italic": false, + "name": "Instruction1", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "Desktop - Left, Right to move base, Ctrl or Space to Fire. \n\nMobile - Use touch controls", + "font": "Kenney Future Narrow.ttf", + "characterSize": 24, + "color": { + "b": 133, + "g": 251, + "r": 250 + } + }, + { + "bold": false, + "italic": false, + "name": "Instruction2", + "smoothed": true, + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "Touch or press any key to start.", + "font": "Kenney Future Narrow.ttf", + "characterSize": 40, + "color": { + "b": 76, + "g": 218, + "r": 145 + } + }, + { + "name": "NewObject3", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 1, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "GDevelop.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 277, + "y": 112 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetFullScreen" + }, + "parameters": [ + "", + "yes", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ResetTimer" + }, + "parameters": [ + "", + "TitleDELAY" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Score", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Wait before allowing to start a new game", + "comment2": "" + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Timer" + }, + "parameters": [ + "", + "2", + "TitleDELAY" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "inverted": false, + "value": "SourisBouton" + }, + "parameters": [ + "", + "Left" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "AnyKeyPressed" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Phase1\"", + "yes" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ], + "layers": [ + { + "name": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "behaviorsSharedData": [] + } + ], + "externalEvents": [], + "eventsFunctionsExtensions": [], + "externalLayouts": [], + "externalSourceFiles": [] +} \ No newline at end of file diff --git a/newIDE/app/src/fixtures/space-shooter-with-functions/space-shooter-with-functions.json b/newIDE/app/src/fixtures/space-shooter-with-functions/space-shooter-with-functions.json index 545806ea9060..6e0741c001f7 100644 --- a/newIDE/app/src/fixtures/space-shooter-with-functions/space-shooter-with-functions.json +++ b/newIDE/app/src/fixtures/space-shooter-with-functions/space-shooter-with-functions.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -2556,7 +2556,7 @@ "", "EnemyBullet", "GreenEnemy.X()", - "GreenEnemy.PointY(Centre)", + "GreenEnemy.PointY(\"Centre\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/space-shooter/space-shooter.json b/newIDE/app/src/fixtures/space-shooter/space-shooter.json index 92b4b89be57c..e77d2cfb4729 100644 --- a/newIDE/app/src/fixtures/space-shooter/space-shooter.json +++ b/newIDE/app/src/fixtures/space-shooter/space-shooter.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -2557,7 +2557,7 @@ "", "EnemyBullet", "GreenEnemy.X()", - "GreenEnemy.PointY(Centre)", + "GreenEnemy.PointY(\"Centre\")", "" ], "subInstructions": [] diff --git a/newIDE/app/src/fixtures/splash-screen/splash-screen.json b/newIDE/app/src/fixtures/splash-screen/splash-screen.json index 63765b4a672e..841ea3997b2f 100644 --- a/newIDE/app/src/fixtures/splash-screen/splash-screen.json +++ b/newIDE/app/src/fixtures/splash-screen/splash-screen.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/sprite-fade-in-out/sprite-fade-in-out.json b/newIDE/app/src/fixtures/sprite-fade-in-out/sprite-fade-in-out.json index 424c9382283b..63a47f513f51 100644 --- a/newIDE/app/src/fixtures/sprite-fade-in-out/sprite-fade-in-out.json +++ b/newIDE/app/src/fixtures/sprite-fade-in-out/sprite-fade-in-out.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/take-screenshot/take-screenshot.json b/newIDE/app/src/fixtures/take-screenshot/take-screenshot.json index 25b8f700a7f7..1b59c342b4e4 100644 --- a/newIDE/app/src/fixtures/take-screenshot/take-screenshot.json +++ b/newIDE/app/src/fixtures/take-screenshot/take-screenshot.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/text-entry-object/text-entry-object.json b/newIDE/app/src/fixtures/text-entry-object/text-entry-object.json index bf8cd9aee62f..d2d24f429854 100644 --- a/newIDE/app/src/fixtures/text-entry-object/text-entry-object.json +++ b/newIDE/app/src/fixtures/text-entry-object/text-entry-object.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/text-fade-in-out/text-fade-in-out.json b/newIDE/app/src/fixtures/text-fade-in-out/text-fade-in-out.json index 6f462574acfe..958faa655c12 100644 --- a/newIDE/app/src/fixtures/text-fade-in-out/text-fade-in-out.json +++ b/newIDE/app/src/fixtures/text-fade-in-out/text-fade-in-out.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/text-to-speech/text-to-speech.json b/newIDE/app/src/fixtures/text-to-speech/text-to-speech.json index b8e966942d69..56ead2125420 100644 --- a/newIDE/app/src/fixtures/text-to-speech/text-to-speech.json +++ b/newIDE/app/src/fixtures/text-to-speech/text-to-speech.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/toggle-music-play-sound/toggle-music-play-sound.json b/newIDE/app/src/fixtures/toggle-music-play-sound/toggle-music-play-sound.json index 810e0d085d5c..935a9f196ea1 100644 --- a/newIDE/app/src/fixtures/toggle-music-play-sound/toggle-music-play-sound.json +++ b/newIDE/app/src/fixtures/toggle-music-play-sound/toggle-music-play-sound.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -803,9 +803,9 @@ "parameters": [ "slider_button", "=", - "volume_slider.PointX(button)", + "volume_slider.PointX(\"button\")", "=", - "volume_slider.PointY(button)" + "volume_slider.PointY(\"button\")" ], "subInstructions": [] } @@ -936,7 +936,7 @@ "parameters": [ "slider_button", ">=", - "volume_slider.PointX(button)" + "volume_slider.PointX(\"button\")" ], "subInstructions": [] } @@ -982,7 +982,7 @@ "parameters": [ "slider_button", "<", - "volume_slider.PointX(button)" + "volume_slider.PointX(\"button\")" ], "subInstructions": [] } diff --git a/newIDE/app/src/fixtures/type-on-text-effect/type-on-text-effect.json b/newIDE/app/src/fixtures/type-on-text-effect/type-on-text-effect.json index ef5e45286e31..985c34a32632 100644 --- a/newIDE/app/src/fixtures/type-on-text-effect/type-on-text-effect.json +++ b/newIDE/app/src/fixtures/type-on-text-effect/type-on-text-effect.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/z-depth/z-depth.json b/newIDE/app/src/fixtures/z-depth/z-depth.json index c1a26efda735..459d36befaa8 100644 --- a/newIDE/app/src/fixtures/z-depth/z-depth.json +++ b/newIDE/app/src/fixtures/z-depth/z-depth.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 diff --git a/newIDE/app/src/fixtures/zombie-laser/zombie-laser.json b/newIDE/app/src/fixtures/zombie-laser/zombie-laser.json index 53b7b8488e96..0623c0fcbc80 100644 --- a/newIDE/app/src/fixtures/zombie-laser/zombie-laser.json +++ b/newIDE/app/src/fixtures/zombie-laser/zombie-laser.json @@ -1,7 +1,7 @@ { "firstLayout": "", "gdVersion": { - "build": 97, + "build": 98, "major": 4, "minor": 0, "revision": 0 @@ -2664,8 +2664,8 @@ }, "parameters": [ "LaserObstacle", - "Hero.PointX(Barrel)", - "Hero.PointY(Barrel)", + "Hero.PointX(\"Barrel\")", + "Hero.PointY(\"Barrel\")", "Hero.Direction()", "800", "ContactX", @@ -2796,7 +2796,7 @@ "parameters": [ "ContactX", "=", - "Hero.PointX(Barrel) + 800*cos(ToRad(Hero.Angle()))" + "Hero.PointX(\"Barrel\") + 800*cos(ToRad(Hero.Angle()))" ], "subInstructions": [] }, @@ -2808,7 +2808,7 @@ "parameters": [ "ContactY", "=", - "Hero.PointY(Barrel) + 800*sin(ToRad(Hero.Angle()))" + "Hero.PointY(\"Barrel\") + 800*sin(ToRad(Hero.Angle()))" ], "subInstructions": [] } @@ -2843,8 +2843,8 @@ }, "parameters": [ "LaserDrawer", - "Hero.PointX(Barrel)", - "Hero.PointY(Barrel)", + "Hero.PointX(\"Barrel\")", + "Hero.PointY(\"Barrel\")", "Variable(ContactX)", "Variable(ContactY)", "3"