diff --git a/examples/racing-game/README.md b/examples/racing-game/README.md deleted file mode 100644 index c01bde287..000000000 --- a/examples/racing-game/README.md +++ /dev/null @@ -1 +0,0 @@ -A top-down racing game made using the Physics engine. \ No newline at end of file diff --git a/examples/racing-game/assets/Camera.png b/examples/racing-game/assets/Camera.png deleted file mode 100644 index a08d499c5..000000000 Binary files a/examples/racing-game/assets/Camera.png and /dev/null differ diff --git a/examples/racing-game/assets/DirectionIndactor.png b/examples/racing-game/assets/DirectionIndactor.png deleted file mode 100644 index d87aa60f6..000000000 Binary files a/examples/racing-game/assets/DirectionIndactor.png and /dev/null differ diff --git a/examples/racing-game/assets/LargeGrass.png b/examples/racing-game/assets/LargeGrass.png deleted file mode 100644 index 534988134..000000000 Binary files a/examples/racing-game/assets/LargeGrass.png and /dev/null differ diff --git a/examples/racing-game/assets/blue_racer.png b/examples/racing-game/assets/blue_racer.png deleted file mode 100644 index 9a1df18a4..000000000 Binary files a/examples/racing-game/assets/blue_racer.png and /dev/null differ diff --git a/examples/racing-game/assets/finishline.png b/examples/racing-game/assets/finishline.png deleted file mode 100644 index 74801904a..000000000 Binary files a/examples/racing-game/assets/finishline.png and /dev/null differ diff --git a/examples/racing-game/assets/green_racer.png b/examples/racing-game/assets/green_racer.png deleted file mode 100644 index f651fad93..000000000 Binary files a/examples/racing-game/assets/green_racer.png and /dev/null differ diff --git a/examples/racing-game/assets/pink_racer.png b/examples/racing-game/assets/pink_racer.png deleted file mode 100644 index 88a87d618..000000000 Binary files a/examples/racing-game/assets/pink_racer.png and /dev/null differ diff --git a/examples/racing-game/assets/plant_1.png b/examples/racing-game/assets/plant_1.png deleted file mode 100644 index 34563ce00..000000000 Binary files a/examples/racing-game/assets/plant_1.png and /dev/null differ diff --git a/examples/racing-game/assets/plant_2.png b/examples/racing-game/assets/plant_2.png deleted file mode 100644 index 65cdc7db3..000000000 Binary files a/examples/racing-game/assets/plant_2.png and /dev/null differ diff --git a/examples/racing-game/assets/plants.png b/examples/racing-game/assets/plants.png deleted file mode 100644 index 0cb77f0be..000000000 Binary files a/examples/racing-game/assets/plants.png and /dev/null differ diff --git a/examples/racing-game/assets/red_racer.png b/examples/racing-game/assets/red_racer.png deleted file mode 100644 index f7cf74a35..000000000 Binary files a/examples/racing-game/assets/red_racer.png and /dev/null differ diff --git a/examples/racing-game/assets/road_bent.png b/examples/racing-game/assets/road_bent.png deleted file mode 100644 index edbcb7500..000000000 Binary files a/examples/racing-game/assets/road_bent.png and /dev/null differ diff --git a/examples/racing-game/assets/road_straight.png b/examples/racing-game/assets/road_straight.png deleted file mode 100644 index 16c3e1824..000000000 Binary files a/examples/racing-game/assets/road_straight.png and /dev/null differ diff --git a/examples/racing-game/assets/tire_stack.png b/examples/racing-game/assets/tire_stack.png deleted file mode 100644 index 6f9707ba4..000000000 Binary files a/examples/racing-game/assets/tire_stack.png and /dev/null differ diff --git a/examples/racing-game/assets/tire_stacks.png b/examples/racing-game/assets/tire_stacks.png deleted file mode 100644 index fe5c1ea49..000000000 Binary files a/examples/racing-game/assets/tire_stacks.png and /dev/null differ diff --git a/examples/racing-game/assets/vroom.wav b/examples/racing-game/assets/vroom.wav deleted file mode 100644 index a658aae8e..000000000 Binary files a/examples/racing-game/assets/vroom.wav and /dev/null differ diff --git a/examples/racing-game/license.txt b/examples/racing-game/license.txt deleted file mode 100755 index f8dbb5a5c..000000000 --- a/examples/racing-game/license.txt +++ /dev/null @@ -1,8 +0,0 @@ -It was originally a GDevelop4 example. - -Images and Sounds included for testing purposes only, no commercial use allowed! -The actual source, project file is free to use for any purposes. - -Find more templates and examples at https://gametemplates.itch.io/ - -Have fun! diff --git a/examples/racing-game/racing-game.json b/examples/racing-game/racing-game.json deleted file mode 100644 index 302e31921..000000000 --- a/examples/racing-game/racing-game.json +++ /dev/null @@ -1,8748 +0,0 @@ -{ - "firstLayout": "", - "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, - "revision": 0 - }, - "properties": { - "adaptGameResolutionAtRuntime": false, - "folderProject": false, - "orientation": "default", - "packageName": "com.example.gamename", - "pixelsRounding": false, - "projectUuid": "5d3c3a45-b651-4c6b-9baf-f85499c0d456", - "scaleMode": "linear", - "sizeOnStartupMode": "", - "useExternalSourceFiles": false, - "version": "1.0.0", - "name": "Project", - "author": "", - "windowWidth": 800, - "windowHeight": 600, - "latestCompilationDirectory": "", - "maxFPS": 60, - "minFPS": 10, - "verticalSync": false, - "platformSpecificAssets": {}, - "loadingScreen": { - "backgroundColor": 0, - "backgroundFadeInDuration": 0.2, - "backgroundImageResourceName": "", - "gdevelopLogoStyle": "light", - "logoAndProgressFadeInDuration": 0.2, - "logoAndProgressLogoFadeInDelay": 0.2, - "minDuration": 1.5, - "progressBarColor": 16777215, - "progressBarHeight": 20, - "progressBarMaxWidth": 200, - "progressBarMinWidth": 40, - "progressBarWidthPercent": 30, - "showGDevelopSplash": true, - "showProgressBar": true - }, - "authorIds": [ - "t0AOR3JaOlak1TykejmNhjR5UQb2" - ], - "extensionProperties": [], - "platforms": [ - { - "name": "GDevelop JS platform" - } - ], - "currentPlatform": "GDevelop JS platform" - }, - "resources": { - "resources": [ - { - "alwaysLoaded": false, - "file": "assets/blue_racer.png", - "kind": "image", - "metadata": "", - "name": "blue_racer.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/road_straight.png", - "kind": "image", - "metadata": "", - "name": "road_straight.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/road_bent.png", - "kind": "image", - "metadata": "", - "name": "road_bent.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/finishline.png", - "kind": "image", - "metadata": "", - "name": "finishline.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/plant_1.png", - "kind": "image", - "metadata": "", - "name": "plant_1.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/plant_2.png", - "kind": "image", - "metadata": "", - "name": "plant_2.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/plants.png", - "kind": "image", - "metadata": "", - "name": "plants.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/tire_stack.png", - "kind": "image", - "metadata": "", - "name": "tire_stack.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/tire_stacks.png", - "kind": "image", - "metadata": "", - "name": "tire_stacks.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/Camera.png", - "kind": "image", - "metadata": "", - "name": "Camera.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/LargeGrass.png", - "kind": "image", - "metadata": "", - "name": "LargeGrass.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/DirectionIndactor.png", - "kind": "image", - "metadata": "", - "name": "DirectionIndactor.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/red_racer.png", - "kind": "image", - "metadata": "", - "name": "red_racer.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/green_racer.png", - "kind": "image", - "metadata": "", - "name": "green_racer.png", - "smoothed": true, - "userAdded": true - }, - { - "alwaysLoaded": false, - "file": "assets/pink_racer.png", - "kind": "image", - "metadata": "", - "name": "pink_racer.png", - "smoothed": true, - "userAdded": true - }, - { - "file": "assets/vroom.wav", - "kind": "audio", - "metadata": "", - "name": "vroom.wav", - "preloadAsMusic": false, - "preloadAsSound": false, - "userAdded": false - } - ], - "resourceFolders": [] - }, - "objects": [], - "objectsGroups": [], - "variables": [], - "layouts": [ - { - "b": 255, - "disableInputWhenNotFocused": true, - "mangledName": "GameEngine", - "name": "GameEngine", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, - "r": 255, - "standardSortMethod": true, - "stopSoundsOnStartup": true, - "title": "", - "v": 255, - "uiSettings": { - "grid": false, - "gridType": "rectangular", - "gridWidth": 300, - "gridHeight": 300, - "gridOffsetX": 0, - "gridOffsetY": 0, - "gridColor": 10401023, - "gridAlpha": 0.8, - "snap": true, - "zoomFactor": 0.2317339999999997, - "windowMask": false - }, - "objectsGroups": [ - { - "name": "Obstacle", - "objects": [ - { - "name": "Plant" - }, - { - "name": "Tire" - } - ] - }, - { - "name": "Invisible", - "objects": [ - { - "name": "AIDirectionIndicator" - }, - { - "name": "Camera" - } - ] - }, - { - "name": "Roads", - "objects": [ - { - "name": "Road" - }, - { - "name": "BentRoad" - } - ] - } - ], - "variables": [], - "instances": [ - { - "angle": -87.7543, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "PlayerCar", - "persistentUuid": "a9021805-da21-4866-aab4-236ac4b88881", - "width": 0, - "x": 333, - "y": 802, - "zOrder": 10, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "54ac3c03-0dd3-41f4-97b0-53acca0a8f15", - "width": 0, - "x": 300, - "y": 900, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "BentRoad", - "persistentUuid": "7ee42c2d-a282-4ae1-8851-cda0fb506752", - "width": 0, - "x": 300, - "y": 1200, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "396168a9-8bf4-4b75-ba34-41e187ae0843", - "width": 0, - "x": -900, - "y": -600, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "dbd20710-1b41-4a5e-be49-ae84a9b6371c", - "width": 0, - "x": 300, - "y": 300, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "bb471aa3-fa34-4a74-a1dd-b3a785150587", - "width": 0, - "x": -1200, - "y": 300, - "zOrder": 2, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "f6ec57bf-84a4-4e91-83a9-ae420f09034e", - "width": 0, - "x": -300, - "y": -300, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "b24577f3-3816-4517-87f3-e71307216a61", - "width": 0, - "x": -900, - "y": 900, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -180, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "BentRoad", - "persistentUuid": "798f908d-be6d-4044-ad2a-80a5e7737a93", - "width": 0, - "x": -900, - "y": 1200, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 180, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "BentRoad", - "persistentUuid": "fdd38b82-aef2-4f6f-9998-865a6c7a271d", - "width": 0, - "x": -1200, - "y": 600, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "BentRoad", - "persistentUuid": "33fe7b55-22cc-4921-84a0-b259f61f00c2", - "width": 0, - "x": 300, - "y": -300, - "zOrder": 2, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "90ef4d4b-ac00-4369-95f4-382c4fa0fc43", - "width": 0, - "x": -300, - "y": 1200, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "edc3b013-6b7f-42f4-a9bf-f4ca0455bea2", - "width": 0, - "x": 300, - "y": 0, - "zOrder": 2, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "73f15912-d39e-481d-bf32-74f40f7b33a0", - "width": 0, - "x": -1200, - "y": -300, - "zOrder": 2, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "516366dc-20af-4c6e-a413-5813a97665c3", - "width": 0, - "x": -1200, - "y": 0, - "zOrder": 2, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 180, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "BentRoad", - "persistentUuid": "5734a1b9-7697-4d76-85dc-199bca801446", - "width": 0, - "x": -600, - "y": -300, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "BentRoad", - "persistentUuid": "6f183541-c35c-46c3-8c1b-c7bd6f79f5c5", - "width": 0, - "x": -600, - "y": -600, - "zOrder": 2, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "BentRoad", - "persistentUuid": "e5f7f8ed-a058-40a7-bbc2-d3709ffc0eae", - "width": 0, - "x": -900, - "y": 600, - "zOrder": 2, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "0e59e4b6-656f-48e6-a009-60cbd7bf46ff", - "width": 0, - "x": 300, - "y": 600, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "86d1b269-c5fd-46f3-bea5-7c03876ee8c2", - "width": 0, - "x": 0, - "y": -300, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "9f76938a-d548-4e16-b822-a5d0c884d23b", - "width": 0, - "x": -600, - "y": 1200, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Road", - "persistentUuid": "20f92efc-93c1-49c9-a02d-80f50d0a4956", - "width": 0, - "x": 0, - "y": 1200, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "ee69ad5d-e7d2-47db-9bff-7ee1acc36693", - "width": 0, - "x": -769, - "y": -209, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 87.5015, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "f7a41e7c-7647-4044-b387-3918896654f2", - "width": 0, - "x": -180, - "y": 809, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 1 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "e674b6e0-631d-471c-a500-a654626bad6d", - "width": 0, - "x": -236, - "y": 150, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "8351fab8-8d20-49a5-aefd-0c731e786dd1", - "width": 0, - "x": 746, - "y": 237, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 1 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "55ae3881-f81e-4e09-bdc6-6f5ca98d16e1", - "width": 0, - "x": -160, - "y": -771, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -47.4591, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "abb9e427-0134-4175-beb1-1f429ab7faa7", - "width": 0, - "x": 695, - "y": -396, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 1 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "ff5095e9-1ce1-4c55-b182-3fe18fb693ad", - "width": 0, - "x": -165, - "y": 679, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "e8d7a98b-1744-4d91-8cc0-dc16f6162b8e", - "width": 0, - "x": -85, - "y": 856, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 57.2914, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "841fd1b3-2aa0-4bc2-8b4d-c5431c68d10d", - "width": 0, - "x": -469, - "y": 792, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "451c6901-bb2d-4e1c-b781-dd6db3669a8c", - "width": 0, - "x": -55, - "y": 397, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 45.0001, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "e00d5f2e-f5a2-4588-b938-3f80c1fbbef3", - "width": 0, - "x": -704, - "y": 404, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "6b6ac07d-940c-423d-aa7f-ffa206f362d8", - "width": 0, - "x": -1626, - "y": 257, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -45.4064, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "d4440994-a274-414b-8265-ce6bcd7a1ca7", - "width": 0, - "x": -657, - "y": 11, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 1 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 136.469, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "a7eaa91e-6576-4e62-a7b9-a603de1d5207", - "width": 0, - "x": -516, - "y": -773, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 16.5739, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "5ba8dc0a-a659-4921-9c4f-b625c64975d3", - "width": 0, - "x": 153, - "y": 764, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -65.3765, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "1570ef6c-ac3b-4f25-883c-5abb3df2d0fa", - "width": 0, - "x": 869, - "y": 407, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "d1a10c8e-31e7-4f02-9cf1-606fca802667", - "width": 0, - "x": -138, - "y": 139, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 1 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "3004e689-2695-4af4-a525-e0d088e4362d", - "width": 0, - "x": 738, - "y": 576, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 1 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "57d30d82-ab0b-449c-9c55-fef963ff4126", - "width": 0, - "x": 23, - "y": 499, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "1fde5b82-4e43-4004-a2f6-9fa5e34b7bcf", - "width": 0, - "x": -875, - "y": 245, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "bc014ab1-9946-4689-8ff2-4c45063d6bf0", - "width": 0, - "x": -876, - "y": 102, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -167.024, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "50683c38-d18e-4dc7-8b29-c090f3f39523", - "width": 0, - "x": 879, - "y": 984, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -137.489, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "4db9d428-2111-44ab-98fe-231b3985639d", - "width": 0, - "x": 638, - "y": 1444, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Camera", - "persistentUuid": "b8f88772-4a56-48a2-9f97-336120b699ee", - "width": 0, - "x": 408, - "y": 956, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "3b5cd426-d61c-4fdb-8dc4-97c758785ffe", - "width": 0, - "x": 766, - "y": 811, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "a80619e6-3820-443e-b8a2-ab30d878d64b", - "width": 0, - "x": 136, - "y": 621, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "b68c57ae-603b-497a-aac2-671ff5f50dee", - "width": 0, - "x": 7, - "y": 296, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 102.308, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "bbc18134-4353-4f2b-816b-51dd7dd0fcb3", - "width": 0, - "x": 442, - "y": -550, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -65.6006, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "f9c47510-546c-4047-9292-5e649dec5a57", - "width": 0, - "x": -1121, - "y": 1006, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -46, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "c0af2290-ca58-4e39-89cf-2b046887eee0", - "width": 0, - "x": -1234, - "y": 940, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -65.6006, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "63ae8ac2-a02a-422f-af6f-a4e1faf1c745", - "width": 0, - "x": -823, - "y": 1550, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -46, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "996f6f7d-ab1f-451f-9bd3-5e1ecfcd3f5b", - "width": 0, - "x": -968, - "y": 1488, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 103.707, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "f26e9da1-b2bd-4a27-a34a-dfa5359a439c", - "width": 0, - "x": 294, - "y": -587, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "afd87a65-de33-4391-93a8-837e6d899b15", - "width": 0, - "x": -876, - "y": 391, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "f0c60528-befa-41e7-a862-7724f953d953", - "width": 0, - "x": -873, - "y": -61, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 1 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "3f4173e0-119e-4af2-bc0f-1afabb9d35d0", - "width": 0, - "x": -583, - "y": 714, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "BentRoad", - "persistentUuid": "708b39ea-e2c9-42b6-8561-211338869a10", - "width": 0, - "x": -1200, - "y": -600, - "zOrder": 2, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -105.35, - "customSize": true, - "height": 120.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "765a7d38-11e4-4d14-8483-379207e4b475", - "width": 75, - "x": 483.5, - "y": 513.75, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -138.013, - "customSize": true, - "height": 88.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "8ef75979-8db6-4d0b-b806-d2c866cce461", - "width": 75, - "x": 326.5, - "y": 71.75, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 177.679, - "customSize": true, - "height": 32, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "0f916f66-e418-4dbc-b27e-3ab2716bc5d5", - "width": 459, - "x": 3.5, - "y": -281, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -152.802, - "customSize": true, - "height": 42.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "c0359b74-a2c8-4f8d-9002-f17d6d9fd911", - "width": 429, - "x": -215.5, - "y": -29.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -130.179, - "customSize": true, - "height": 231, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "a45932fd-ac6c-4c3b-bc26-5280d23b3e11", - "width": 285, - "x": -474, - "y": 18, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -179.318, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "00cf9f85-81e4-40fc-864b-fe56dfe0f202", - "width": 134, - "x": -483, - "y": -431.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 65.0562, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "7426c6da-929c-4820-9c69-fad168bf413c", - "width": 134, - "x": -1258, - "y": -248.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -0.345151, - "customSize": true, - "height": 230.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "08c33dde-058c-4ac8-9694-685c78a7d9c9", - "width": 394, - "x": -1606, - "y": 617.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 41.8551, - "customSize": true, - "height": 232.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "8757e923-a953-448d-8c93-dfb0de5ca6a1", - "width": 134, - "x": -1122, - "y": 481.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 91.0323, - "customSize": true, - "height": 372.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "a7344e3b-b7cf-4fdb-b391-f21126abe4cc", - "width": 134, - "x": -863, - "y": 642.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -139.128, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "a94f8c28-52b9-4f1e-9aad-cc04fb56664c", - "width": 134, - "x": 308, - "y": -149.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 47.834, - "customSize": true, - "height": 367.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "4b7f3c04-8dca-41e0-bfd1-9afb626000cd", - "width": 134, - "x": -839, - "y": 986.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 1.82797, - "customSize": true, - "height": 312.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "fe157f39-2804-49af-9237-0e890db92fa8", - "width": 134, - "x": -793, - "y": 1272.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -0.774221, - "customSize": true, - "height": 411.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "ec5d593c-d8cd-411e-a618-cc87137659b8", - "width": 134, - "x": -606, - "y": 1179.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 8.82039, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "e8d14043-bff8-4da8-896c-ea32800d457f", - "width": 466, - "x": -259, - "y": 1192.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -65.3293, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "ac051c54-33ec-4a94-a036-29932dd8a322", - "width": 366, - "x": 30, - "y": 1470.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -65.3293, - "customSize": true, - "height": 349.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "28ff435c-fdde-45e5-9dee-b5ed65bd7ecb", - "width": 134, - "x": 295, - "y": 1121.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -116.003, - "customSize": true, - "height": 139, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "02b17317-a716-4266-8ded-e1b83c5c1d90", - "width": 454, - "x": 499, - "y": 1069, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 167.905, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "953f451f-6bb8-4f0a-8093-12b0d19101f5", - "width": 443.571, - "x": -841.786, - "y": -477.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 89.0372, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "ab78214a-f557-45fb-ad28-95933d965ff9", - "width": 314.636, - "x": -1093.32, - "y": 284.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "AICar", - "persistentUuid": "5849015b-823e-4ca9-9ff9-1831bc7f767b", - "width": 0, - "x": 461, - "y": 515, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 166.552, - "customSize": true, - "height": 301.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "914b97a7-b7d7-40af-b183-08b12a173eb9", - "width": 75, - "x": 568.5, - "y": -279.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -105.422, - "customSize": true, - "height": 42.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "6cc6e200-1820-4411-b25a-0136c51b66a5", - "width": 450, - "x": 393, - "y": 361.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 129.936, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "017f249e-2069-4519-a852-f25289ecf2a1", - "width": 370.051, - "x": -966.026, - "y": -731.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "20a1f254-d71c-4662-be66-d6e65a12dbb3", - "width": 0, - "x": -1680, - "y": -942, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -9.75243, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "4391ec58-cc94-4e89-8a26-21488bdf11eb", - "width": 134, - "x": -77, - "y": 1334.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 88.8369, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "2935b1c9-0266-4c82-a988-c177709de045", - "width": 134, - "x": -187, - "y": 1063.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -6.0542, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "55f89686-c4ba-4c54-bb45-e339d793aba8", - "width": 608, - "x": -496, - "y": 1483.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -93.2706, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "2d1e1888-745d-4641-8e80-918f66daad27", - "width": 440, - "x": 289, - "y": 1052.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -130.179, - "customSize": true, - "height": 127, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "c4a37f72-f0c3-4d2e-a3a0-8a44eb0330cb", - "width": 316, - "x": -450, - "y": -230, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 89.0372, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "7dbf062a-acc6-4244-9fe9-732a74a260a3", - "width": 134, - "x": -1266, - "y": -36.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 52.2061, - "customSize": true, - "height": 230.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "2ab6dec4-d52e-4fe3-b2a9-693f2e29a7e6", - "width": 394, - "x": -1623, - "y": -42.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "AICar", - "persistentUuid": "ad079b85-eee4-4ff4-8980-380a14966981", - "width": 0, - "x": 471, - "y": 757, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 1 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -90.0001, - "customSize": true, - "height": 32, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "5f9578c2-c772-4d01-9b55-7e5cbd04cd05", - "width": 75, - "x": 340.5, - "y": 656, - "zOrder": 12, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -90, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "AICar", - "persistentUuid": "8a973d85-e65c-4423-ac85-0194d0d69324", - "width": 0, - "x": 333, - "y": 621, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 92.3737, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "528619fa-4f80-47b1-88ef-2c232f460e60", - "width": 471.87, - "x": -1439, - "y": -548, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -90.0001, - "customSize": true, - "height": 32, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "7b5089f6-fa11-422c-8dd6-5417fc5a5d80", - "width": 75, - "x": 487.5, - "y": 802, - "zOrder": 11, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -169.563, - "customSize": true, - "height": 42.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "6b5d7d2d-c43d-4872-a428-39f2b91d06b3", - "width": 450, - "x": 236, - "y": 19.75, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -88.741, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "0d757eda-261c-4966-8698-2dbdb7a205e5", - "width": 440, - "x": 105, - "y": 907.25, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": -167.024, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "57713c0b-6c56-4977-8577-37d56765c1ad", - "width": 0, - "x": 789, - "y": 1231, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2673100 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 136.469, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Tire", - "persistentUuid": "dde9b680-8f65-4f3c-8242-8c9aa06dfbc9", - "width": 0, - "x": -294, - "y": -677, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "Plant", - "persistentUuid": "77704f7d-9577-4798-99a0-b08bf7cf6ecf", - "width": 0, - "x": -1698, - "y": -364, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 2 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": false, - "height": 0, - "layer": "", - "locked": false, - "name": "FinishLine", - "persistentUuid": "ede3c52b-4f4e-4b93-ac58-c21768cfb923", - "width": 0, - "x": 300, - "y": 446, - "zOrder": 3, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": true, - "height": 6291.35, - "layer": "", - "locked": false, - "name": "Grass", - "persistentUuid": "6208a123-01d2-4f28-8567-16b1664bd71d", - "width": 10974.1, - "x": -5727.52, - "y": -2734.33, - "zOrder": 1, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 92.3737, - "customSize": true, - "height": 73.5, - "layer": "", - "locked": false, - "name": "AIDirectionIndicator", - "persistentUuid": "44b272cc-4456-4e0f-81ce-60843d9f1dcb", - "width": 471.87, - "x": -1174, - "y": -543, - "zOrder": 11, - "numberProperties": [ - { - "name": "animation", - "value": 0 - } - ], - "stringProperties": [], - "initialVariables": [] - } - ], - "objects": [ - { - "name": "PlayerCar", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [ - { - "name": "Physics2", - "type": "Physics2::Physics2Behavior", - "bullet": false, - "fixedRotation": false, - "canSleep": true, - "shape": "Box", - "shapeDimensionA": 0, - "shapeDimensionB": 0, - "shapeOffsetX": 0, - "shapeOffsetY": 0, - "polygonOrigin": "Center", - "vertices": [], - "density": 8, - "friction": 1.4, - "restitution": 0.1, - "linearDamping": 1.8, - "angularDamping": 1, - "gravityScale": 1, - "layers": 1, - "masks": 1, - "bodyType": "Dynamic" - } - ], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "blue_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "blue_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "blue_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "blue_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "blue_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "blue_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "blue_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "blue_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "name": "Road", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_straight.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_straight.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_straight.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_straight.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_straight.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_straight.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_straight.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_straight.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "name": "BentRoad", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_bent.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_bent.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_bent.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_bent.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_bent.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_bent.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_bent.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "road_bent.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 150 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 300 - }, - { - "x": 0, - "y": 300 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "name": "Plant", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [ - { - "name": "Physics2", - "type": "Physics2::Physics2Behavior", - "bullet": false, - "fixedRotation": false, - "canSleep": true, - "shape": "Circle", - "shapeDimensionA": 0, - "shapeDimensionB": 0, - "shapeOffsetX": 0, - "shapeOffsetY": 0, - "polygonOrigin": "Center", - "vertices": [], - "density": 1, - "friction": 0.3, - "restitution": 0.1, - "linearDamping": 0.1, - "angularDamping": 0.1, - "gravityScale": 1, - "layers": 1, - "masks": 1, - "bodyType": "Static" - } - ], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_1.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 63, - "y": 60 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 126, - "y": 0 - }, - { - "x": 126, - "y": 120 - }, - { - "x": 0, - "y": 120 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_1.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 63, - "y": 60 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 126, - "y": 0 - }, - { - "x": 126, - "y": 120 - }, - { - "x": 0, - "y": 120 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_1.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 63, - "y": 60 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 126, - "y": 0 - }, - { - "x": 126, - "y": 120 - }, - { - "x": 0, - "y": 120 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_1.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 63, - "y": 60 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 126, - "y": 0 - }, - { - "x": 126, - "y": 120 - }, - { - "x": 0, - "y": 120 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_1.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 63, - "y": 60 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 126, - "y": 0 - }, - { - "x": 126, - "y": 120 - }, - { - "x": 0, - "y": 120 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_1.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 63, - "y": 60 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 126, - "y": 0 - }, - { - "x": 126, - "y": 120 - }, - { - "x": 0, - "y": 120 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_1.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 63, - "y": 60 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 126, - "y": 0 - }, - { - "x": 126, - "y": 120 - }, - { - "x": 0, - "y": 120 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_1.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 63, - "y": 60 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 126, - "y": 0 - }, - { - "x": 126, - "y": 120 - }, - { - "x": 0, - "y": 120 - } - ] - ] - } - ] - } - ] - }, - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_2.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 68.5, - "y": 62 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 137, - "y": 0 - }, - { - "x": 137, - "y": 124 - }, - { - "x": 0, - "y": 124 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_2.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 68.5, - "y": 62 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 137, - "y": 0 - }, - { - "x": 137, - "y": 124 - }, - { - "x": 0, - "y": 124 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_2.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 68.5, - "y": 62 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 137, - "y": 0 - }, - { - "x": 137, - "y": 124 - }, - { - "x": 0, - "y": 124 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_2.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 68.5, - "y": 62 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 137, - "y": 0 - }, - { - "x": 137, - "y": 124 - }, - { - "x": 0, - "y": 124 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_2.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 68.5, - "y": 62 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 137, - "y": 0 - }, - { - "x": 137, - "y": 124 - }, - { - "x": 0, - "y": 124 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_2.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 68.5, - "y": 62 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 137, - "y": 0 - }, - { - "x": 137, - "y": 124 - }, - { - "x": 0, - "y": 124 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_2.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 68.5, - "y": 62 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 137, - "y": 0 - }, - { - "x": 137, - "y": 124 - }, - { - "x": 0, - "y": 124 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plant_2.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 68.5, - "y": 62 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 137, - "y": 0 - }, - { - "x": 137, - "y": 124 - }, - { - "x": 0, - "y": 124 - } - ] - ] - } - ] - } - ] - }, - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plants.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 147, - "y": 144 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 294, - "y": 0 - }, - { - "x": 294, - "y": 288 - }, - { - "x": 0, - "y": 288 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plants.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 147, - "y": 144 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 294, - "y": 0 - }, - { - "x": 294, - "y": 288 - }, - { - "x": 0, - "y": 288 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plants.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 147, - "y": 144 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 294, - "y": 0 - }, - { - "x": 294, - "y": 288 - }, - { - "x": 0, - "y": 288 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plants.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 147, - "y": 144 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 294, - "y": 0 - }, - { - "x": 294, - "y": 288 - }, - { - "x": 0, - "y": 288 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plants.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 147, - "y": 144 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 294, - "y": 0 - }, - { - "x": 294, - "y": 288 - }, - { - "x": 0, - "y": 288 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plants.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 147, - "y": 144 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 294, - "y": 0 - }, - { - "x": 294, - "y": 288 - }, - { - "x": 0, - "y": 288 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plants.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 147, - "y": 144 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 294, - "y": 0 - }, - { - "x": 294, - "y": 288 - }, - { - "x": 0, - "y": 288 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "plants.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 147, - "y": 144 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 294, - "y": 0 - }, - { - "x": 294, - "y": 288 - }, - { - "x": 0, - "y": 288 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "name": "Tire", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [ - { - "name": "Physics2", - "type": "Physics2::Physics2Behavior", - "bullet": false, - "fixedRotation": false, - "canSleep": true, - "shape": "Box", - "shapeDimensionA": 0, - "shapeDimensionB": 0, - "shapeOffsetX": 0, - "shapeOffsetY": 0, - "polygonOrigin": "Center", - "vertices": [], - "density": 0.6, - "friction": 0.3, - "restitution": 0.1, - "linearDamping": 0.1, - "angularDamping": 0.1, - "gravityScale": 1, - "layers": 1, - "masks": 1, - "bodyType": "Dynamic" - } - ], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stack.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 26, - "y": 66.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 52, - "y": 0 - }, - { - "x": 52, - "y": 133 - }, - { - "x": 0, - "y": 133 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stack.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 26, - "y": 66.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 52, - "y": 0 - }, - { - "x": 52, - "y": 133 - }, - { - "x": 0, - "y": 133 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stack.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 26, - "y": 66.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 52, - "y": 0 - }, - { - "x": 52, - "y": 133 - }, - { - "x": 0, - "y": 133 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stack.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 26, - "y": 66.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 52, - "y": 0 - }, - { - "x": 52, - "y": 133 - }, - { - "x": 0, - "y": 133 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stack.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 26, - "y": 66.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 52, - "y": 0 - }, - { - "x": 52, - "y": 133 - }, - { - "x": 0, - "y": 133 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stack.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 26, - "y": 66.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 52, - "y": 0 - }, - { - "x": 52, - "y": 133 - }, - { - "x": 0, - "y": 133 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stack.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 26, - "y": 66.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 52, - "y": 0 - }, - { - "x": 52, - "y": 133 - }, - { - "x": 0, - "y": 133 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stack.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 26, - "y": 66.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 52, - "y": 0 - }, - { - "x": 52, - "y": 133 - }, - { - "x": 0, - "y": 133 - } - ] - ] - } - ] - } - ] - }, - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stacks.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 104.5, - "y": 107.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 209, - "y": 0 - }, - { - "x": 209, - "y": 215 - }, - { - "x": 0, - "y": 215 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stacks.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 104.5, - "y": 107.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 209, - "y": 0 - }, - { - "x": 209, - "y": 215 - }, - { - "x": 0, - "y": 215 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stacks.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 104.5, - "y": 107.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 209, - "y": 0 - }, - { - "x": 209, - "y": 215 - }, - { - "x": 0, - "y": 215 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stacks.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 104.5, - "y": 107.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 209, - "y": 0 - }, - { - "x": 209, - "y": 215 - }, - { - "x": 0, - "y": 215 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stacks.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 104.5, - "y": 107.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 209, - "y": 0 - }, - { - "x": 209, - "y": 215 - }, - { - "x": 0, - "y": 215 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stacks.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 104.5, - "y": 107.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 209, - "y": 0 - }, - { - "x": 209, - "y": 215 - }, - { - "x": 0, - "y": 215 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stacks.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 104.5, - "y": 107.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 209, - "y": 0 - }, - { - "x": 209, - "y": 215 - }, - { - "x": 0, - "y": 215 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "tire_stacks.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 104.5, - "y": 107.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 209, - "y": 0 - }, - { - "x": 209, - "y": 215 - }, - { - "x": 0, - "y": 215 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "name": "Camera", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "Camera.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 5, - "y": 5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 10, - "y": 0 - }, - { - "x": 10, - "y": 10 - }, - { - "x": 0, - "y": 10 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "Camera.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 5, - "y": 5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 10, - "y": 0 - }, - { - "x": 10, - "y": 10 - }, - { - "x": 0, - "y": 10 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "Camera.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 5, - "y": 5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 10, - "y": 0 - }, - { - "x": 10, - "y": 10 - }, - { - "x": 0, - "y": 10 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "Camera.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 5, - "y": 5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 10, - "y": 0 - }, - { - "x": 10, - "y": 10 - }, - { - "x": 0, - "y": 10 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "Camera.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 5, - "y": 5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 10, - "y": 0 - }, - { - "x": 10, - "y": 10 - }, - { - "x": 0, - "y": 10 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "Camera.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 5, - "y": 5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 10, - "y": 0 - }, - { - "x": 10, - "y": 10 - }, - { - "x": 0, - "y": 10 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "Camera.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 5, - "y": 5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 10, - "y": 0 - }, - { - "x": 10, - "y": 10 - }, - { - "x": 0, - "y": 10 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "Camera.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 5, - "y": 5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 10, - "y": 0 - }, - { - "x": 10, - "y": 10 - }, - { - "x": 0, - "y": 10 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "name": "AIDirectionIndicator", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "DirectionIndactor.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 16, - "y": 16 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 32, - "y": 0 - }, - { - "x": 32, - "y": 32 - }, - { - "x": 0, - "y": 32 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "DirectionIndactor.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 16, - "y": 16 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 32, - "y": 0 - }, - { - "x": 32, - "y": 32 - }, - { - "x": 0, - "y": 32 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "DirectionIndactor.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 16, - "y": 16 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 32, - "y": 0 - }, - { - "x": 32, - "y": 32 - }, - { - "x": 0, - "y": 32 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "DirectionIndactor.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 16, - "y": 16 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 32, - "y": 0 - }, - { - "x": 32, - "y": 32 - }, - { - "x": 0, - "y": 32 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "DirectionIndactor.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 16, - "y": 16 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 32, - "y": 0 - }, - { - "x": 32, - "y": 32 - }, - { - "x": 0, - "y": 32 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "DirectionIndactor.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 16, - "y": 16 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 32, - "y": 0 - }, - { - "x": 32, - "y": 32 - }, - { - "x": 0, - "y": 32 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "DirectionIndactor.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 16, - "y": 16 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 32, - "y": 0 - }, - { - "x": 32, - "y": 32 - }, - { - "x": 0, - "y": 32 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "DirectionIndactor.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 16, - "y": 16 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 32, - "y": 0 - }, - { - "x": 32, - "y": 32 - }, - { - "x": 0, - "y": 32 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "name": "AICar", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [ - { - "name": "Physics2", - "type": "Physics2::Physics2Behavior", - "bullet": false, - "fixedRotation": false, - "canSleep": true, - "shape": "Box", - "shapeDimensionA": 0, - "shapeDimensionB": 0, - "shapeOffsetX": 0, - "shapeOffsetY": 0, - "polygonOrigin": "Center", - "vertices": [], - "density": 8, - "friction": 1.4, - "restitution": 0.1, - "linearDamping": 1.8, - "angularDamping": 1, - "gravityScale": 1, - "layers": 1, - "masks": 1, - "bodyType": "Dynamic" - } - ], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "red_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "red_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "red_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "red_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "red_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "red_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "red_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "red_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - } - ] - }, - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "green_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "green_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "green_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "green_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "green_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "green_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "green_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "green_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - } - ] - }, - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "pink_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "pink_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "pink_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "pink_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "pink_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "pink_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "pink_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "pink_racer.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 52, - "y": 32.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 104, - "y": 0 - }, - { - "x": 104, - "y": 65 - }, - { - "x": 0, - "y": 65 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "name": "FinishLine", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": true, - "variables": [], - "effects": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "finishline.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 25.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 51 - }, - { - "x": 0, - "y": 51 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "finishline.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 25.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 51 - }, - { - "x": 0, - "y": 51 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "finishline.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 25.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 51 - }, - { - "x": 0, - "y": 51 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "finishline.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 25.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 51 - }, - { - "x": 0, - "y": 51 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "finishline.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 25.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 51 - }, - { - "x": 0, - "y": 51 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "finishline.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 25.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 51 - }, - { - "x": 0, - "y": 51 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "finishline.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 25.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 51 - }, - { - "x": 0, - "y": 51 - } - ] - ] - } - ] - }, - { - "looping": false, - "timeBetweenFrames": 1, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "finishline.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 150, - "y": 25.5 - }, - "customCollisionMask": [ - [ - { - "x": 0, - "y": 0 - }, - { - "x": 300, - "y": 0 - }, - { - "x": 300, - "y": 51 - }, - { - "x": 0, - "y": 51 - } - ] - ] - } - ] - } - ] - } - ] - }, - { - "height": 32, - "name": "Grass", - "tags": "", - "texture": "LargeGrass.png", - "type": "TiledSpriteObject::TiledSprite", - "width": 32, - "variables": [], - "effects": [], - "behaviors": [] - } - ], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "This example require the latest version of GDevelop5 to able to change the pitch of sound during runtime", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Use arrows to move the car\n\nManagement of the cars are made in separate external events.", - "comment2": "Utilisez les flches directionnelles pour dplacer le vhicule\n\nLa gestion des vhicules est faite dans des feuilles d'vnements externes." - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Link", - "include": { - "includeConfig": 0 - }, - "target": "PlayerCarManagement" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Link", - "include": { - "includeConfig": 0 - }, - "target": "AICarManagement" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Link", - "include": { - "includeConfig": 0 - }, - "target": "SoundManagement" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Camera management", - "comment2": "Gestion de la camra" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreAutour" - }, - "parameters": [ - "Camera", - "PlayerCar", - "130", - "PlayerCar.Direction()", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "RotateCamera" - }, - "parameters": [ - "", - "=", - "PlayerCar.Angle()+90", - "", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "CentreCamera" - }, - "parameters": [ - "", - "Camera", - "", - "", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "Invisible" - ], - "subInstructions": [] - } - ], - "events": [] - } - ], - "layers": [ - { - "ambientLightColorB": 200, - "ambientLightColorG": 200, - "ambientLightColorR": 200, - "followBaseLayerCamera": false, - "isLightingLayer": false, - "name": "", - "visibility": true, - "cameras": [ - { - "defaultSize": true, - "defaultViewport": true, - "height": 0, - "viewportBottom": 1, - "viewportLeft": 0, - "viewportRight": 1, - "viewportTop": 0, - "width": 0 - } - ], - "effects": [] - } - ], - "behaviorsSharedData": [ - { - "name": "Physics2", - "type": "Physics2::Physics2Behavior", - "gravityX": 0, - "gravityY": 0, - "scaleX": 100, - "scaleY": 100 - } - ] - } - ], - "externalEvents": [ - { - "associatedLayout": "GameEngine", - "lastChangeTimeStamp": 1528839183, - "name": "AICarManagement", - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "AI car acceleration and breaking", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Acceleration", - "+", - "40*TimeDelta()" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "AICar", - "Acceleration", - ">", - "10" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Acceleration", - "=", - "10" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "AICar", - "Acceleration", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Acceleration", - "=", - "0" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Breaking", - "-", - "15*TimeDelta()" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "AICar", - "Breaking", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Breaking", - "=", - "0" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "AICar", - "Breaking", - ">", - "5" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Breaking", - "=", - "5" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::ForEach", - "object": "AICar", - "conditions": [], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Manage direction", - "comment2": "Gestion de la direction" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "AICar", - "AIDirectionIndicator", - "", - "", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Direction", - "=", - "AIDirectionIndicator.Direction()" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Change acceleration/breaking in exceptional situations", - "comment2": "Situations \"exceptionnelles\"" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "Physics2::Collision" - }, - "parameters": [ - "AICar", - "Physics2", - "AICar", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Acceleration", - "-", - "100*TimeDelta()" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "Physics2::Collision" - }, - "parameters": [ - "AICar", - "Physics2", - "Obstacle", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Acceleration", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "Breaking", - "=", - "5" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Application of the chosen direction and acceleration", - "comment2": "Application de la direction/acceleration" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::ForEach", - "object": "AICar", - "conditions": [], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "Egal" - }, - "parameters": [ - "AngleDifference(AICar.Direction(),AICar.Variable(Direction))", - "<", - "-2" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Physics2::ApplyTorque" - }, - "parameters": [ - "AICar", - "Physics2", - "(3+1*abs(AngleDifference(AICar.Direction(),AICar.Variable(Direction)))/7)" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "Egal" - }, - "parameters": [ - "AngleDifference(AICar.Direction(),AICar.Variable(Direction))", - ">", - "2" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Physics2::ApplyTorque" - }, - "parameters": [ - "AICar", - "Physics2", - "-(3+1*abs(AngleDifference(AICar.Direction(),AICar.Variable(Direction)))/7)" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "Physics2::ApplyPolarImpulse" - }, - "parameters": [ - "AICar", - "Physics2", - "AICar.Direction()", - "AICar.Variable(Acceleration)/10", - "AICar.PointX(\"Centre\")", - "AICar.PointY(\"Centre\")" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - } - ] - }, - { - "associatedLayout": "GameEngine", - "lastChangeTimeStamp": 1528839183, - "name": "PlayerCarManagement", - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Player car acceleration and breaking", - "comment2": "Acceleration/freinage du joueur" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "KeyPressed" - }, - "parameters": [ - "", - "Up" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "PlayerCar", - "Acceleration", - "+", - "40*TimeDelta()" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "PlayerCar", - "Acceleration", - "-", - "10*TimeDelta()" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "PlayerCar", - "Acceleration", - ">", - "10" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "PlayerCar", - "Acceleration", - "=", - "10" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "PlayerCar", - "Acceleration", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "PlayerCar", - "Acceleration", - "=", - "0" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "KeyPressed" - }, - "parameters": [ - "", - "Down" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "PlayerCar", - "Breaking", - "+", - "50*TimeDelta()" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "PlayerCar", - "Breaking", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "PlayerCar", - "Breaking", - "=", - "0" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarObjet" - }, - "parameters": [ - "PlayerCar", - "Breaking", - ">", - "5" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "PlayerCar", - "Breaking", - "=", - "5" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "PlayerCar", - "Breaking", - "-", - "15*TimeDelta()" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "Physics2::ApplyPolarImpulse" - }, - "parameters": [ - "PlayerCar", - "Physics2", - "PlayerCar.Angle()", - "PlayerCar.Variable(Acceleration)/10", - "PlayerCar.PointX(\"Centre\")", - "PlayerCar.PointY(\"Centre\")" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "Physics2::ApplyPolarImpulse" - }, - "parameters": [ - "PlayerCar", - "Physics2", - "PlayerCar.Angle()+180", - "PlayerCar.Variable(Breaking)/10", - "PlayerCar.PointX(\"Centre\")", - "PlayerCar.PointY(\"Centre\")" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "Direction", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "KeyPressed" - }, - "parameters": [ - "", - "Left" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Physics2::ApplyTorque" - }, - "parameters": [ - "PlayerCar", - "Physics2", - "-7.5" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "KeyPressed" - }, - "parameters": [ - "", - "Right" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Physics2::ApplyTorque" - }, - "parameters": [ - "PlayerCar", - "Physics2", - "7.5" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "associatedLayout": "GameEngine", - "lastChangeTimeStamp": 0, - "name": "SoundManagement", - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "playing the engine sound for the player car and change the pitch using the acceleration of the car", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": true, - "value": "SoundPlaying" - }, - "parameters": [ - "", - "1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlaySoundCanal" - }, - "parameters": [ - "", - "vroom.wav", - "1", - "yes", - "100", - "1" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModPitchSoundChannel" - }, - "parameters": [ - "", - "1", - "=", - "0.1 + (PlayerCar.Variable(Acceleration) / 10)" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "play the sound also for the opponents but change the volume based on their distance from the player", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "channel 1 is for the player so we start at channel 2 and start playing the engine sound for each instance of the AICar, we increase the value of channel to make sure each instance is plaid on a different channel and each instance of the AICare going to have it own channel", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "channel", - "=", - "2" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::ForEach", - "object": "AICar", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarObjet" - }, - "parameters": [ - "AICar", - "channel", - "=", - "Variable(channel)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlaySoundCanal" - }, - "parameters": [ - "", - "vroom.wav", - "AICar.Variable(channel)", - "yes", - "0", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "channel", - "+", - "1" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "now we are going through each instance of the AICar and change the volume of the sound on it channel based on their distance from the player\nwe also change the pitch of the sound based on the acceleration of the opponent car", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::ForEach", - "object": "AICar", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVolumeSoundCanal" - }, - "parameters": [ - "", - "AICar.Variable(channel)", - "=", - "500 - AICar.Distance(PlayerCar)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModPitchSoundChannel" - }, - "parameters": [ - "", - "AICar.Variable(channel)", - "=", - "0.1 + (AICar.Variable(Acceleration) / 10)" - ], - "subInstructions": [] - } - ], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "because the distance value can be really high, we are compensate with a higher volume value to make sure we can hear the opponents from a fair distance, but we don't want the value to be so high when we are close to the opponents so we add a safety check here to make sure the volume is never higher than 40 which is the 40% of the normal volume, we also do this to make sure the sound of the player car is in focus as it plaid at volume 100", - "comment2": "" - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "SoundCanalVolume" - }, - "parameters": [ - "", - "AICar.Variable(channel)", - ">", - "60" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVolumeSoundCanal" - }, - "parameters": [ - "", - "AICar.Variable(channel)", - "=", - "60" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - } - ] - } - ], - "eventsFunctionsExtensions": [], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file