diff --git a/examples/3d-lane-runner/3d-lane-runner.json b/examples/3d-lane-runner/3d-lane-runner.json index d2aa19389..c04218ddb 100644 --- a/examples/3d-lane-runner/3d-lane-runner.json +++ b/examples/3d-lane-runner/3d-lane-runner.json @@ -25739,7 +25739,7 @@ } ], "string": "Game over", - "font": "Chango-Regular.ttf", + "font": "Roboto-Bold.ttf", "textAlignment": "center", "characterSize": 60, "color": { @@ -25762,7 +25762,7 @@ "smoothed": true, "underlined": false, "text": "Game over", - "font": "Chango-Regular.ttf", + "font": "Roboto-Bold.ttf", "textAlignment": "center", "verticalTextAlignment": "top", "characterSize": 60, @@ -25851,7 +25851,7 @@ "effects": [], "behaviors": [], "string": "Best:", - "font": "Chango-Regular.ttf", + "font": "Roboto-Bold.ttf", "textAlignment": "", "characterSize": 40, "color": { @@ -25874,7 +25874,7 @@ "smoothed": true, "underlined": false, "text": "Best:", - "font": "Chango-Regular.ttf", + "font": "Roboto-Bold.ttf", "textAlignment": "", "verticalTextAlignment": "top", "characterSize": 40, diff --git a/examples/betabox-basics-learning-experience/betabox-basics-learning-experience.json b/examples/betabox-basics-learning-experience/betabox-basics-learning-experience.json index cd47c599e..49023ced6 100755 --- a/examples/betabox-basics-learning-experience/betabox-basics-learning-experience.json +++ b/examples/betabox-basics-learning-experience/betabox-basics-learning-experience.json @@ -1,13 +1,15 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { "adaptGameResolutionAtRuntime": false, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, "folderProject": false, "orientation": "landscape", "packageName": "com.example.beatbox", @@ -15,9 +17,11 @@ "projectUuid": "1392c2db-73c9-4b38-a807-d8fda97a955a", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", - "useExternalSourceFiles": false, + "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "version": "1.0.0", "name": "betabox Basic Learning ", + "description": "", "author": "", "windowWidth": 800, "windowHeight": 600, @@ -42,7 +46,14 @@ "showGDevelopSplash": true, "showProgressBar": true }, + "watermark": { + "placement": "bottom-left", + "showWatermark": true + }, "authorIds": [], + "authorUsernames": [], + "categories": [], + "playableDevices": [], "extensionProperties": [], "platforms": [ { @@ -54,7 +65,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "platformergraphics/Player/p2_stand.png", "kind": "image", "metadata": "", @@ -63,7 +73,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p2_jump.png", "kind": "image", "metadata": "", @@ -72,7 +81,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p2_walk/PNG/p2_walk04.png", "kind": "image", "metadata": "", @@ -81,7 +89,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p2_walk/PNG/p2_walk05.png", "kind": "image", "metadata": "", @@ -90,7 +97,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p2_walk/PNG/p2_walk06.png", "kind": "image", "metadata": "", @@ -99,7 +105,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p2_walk/PNG/p2_walk07.png", "kind": "image", "metadata": "", @@ -108,7 +113,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p2_walk/PNG/p2_walk08.png", "kind": "image", "metadata": "", @@ -117,7 +121,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p3_stand.png", "kind": "image", "metadata": "", @@ -126,7 +129,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p3_hurt.png", "kind": "image", "metadata": "", @@ -135,7 +137,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p3_walk/PNG/p3_walk03.png", "kind": "image", "metadata": "", @@ -144,7 +145,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p3_walk/PNG/p3_walk04.png", "kind": "image", "metadata": "", @@ -153,7 +153,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p3_walk/PNG/p3_walk05.png", "kind": "image", "metadata": "", @@ -162,7 +161,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p3_walk/PNG/p3_walk06.png", "kind": "image", "metadata": "", @@ -171,7 +169,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p3_walk/PNG/p3_walk07.png", "kind": "image", "metadata": "", @@ -180,7 +177,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/stoneCenter.png", "kind": "image", "metadata": "", @@ -189,7 +185,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/snowMid.png", "kind": "image", "metadata": "", @@ -198,7 +193,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/grassMid.png", "kind": "image", "metadata": "", @@ -207,7 +201,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/boxAlt.png", "kind": "image", "metadata": "", @@ -216,7 +209,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/HUD/hud_keyYellow_disabled.png", "kind": "image", "metadata": "", @@ -225,7 +217,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/HUD/hud_keyYellow.png", "kind": "image", "metadata": "", @@ -234,7 +225,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/keyYellow.png", "kind": "image", "metadata": "", @@ -249,10 +239,10 @@ "name": "platformergraphics\\coin.wav", "preloadAsMusic": false, "preloadAsSound": false, + "preloadInCache": false, "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/lock_yellow.png", "kind": "image", "metadata": "", @@ -261,7 +251,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/flagGreenHanging.png", "kind": "image", "metadata": "", @@ -270,7 +259,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/flagGreen2.png", "kind": "image", "metadata": "", @@ -279,7 +267,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/sign.png", "kind": "image", "metadata": "", @@ -288,7 +275,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/spikes.png", "kind": "image", "metadata": "", @@ -303,10 +289,10 @@ "name": "platformergraphics\\Sounds\\PowerDown12.mp3", "preloadAsMusic": false, "preloadAsSound": false, + "preloadInCache": false, "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/liquidLava.png", "kind": "image", "metadata": "", @@ -315,7 +301,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/springboardUp.png", "kind": "image", "metadata": "", @@ -324,7 +309,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/springboardDown.png", "kind": "image", "metadata": "", @@ -333,7 +317,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p1_stand.png", "kind": "image", "metadata": "", @@ -342,7 +325,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p1_jump.png", "kind": "image", "metadata": "", @@ -351,7 +333,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p1_walk/PNG/p1_walk03.png", "kind": "image", "metadata": "", @@ -360,7 +341,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p1_walk/PNG/p1_walk04.png", "kind": "image", "metadata": "", @@ -369,7 +349,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p1_walk/PNG/p1_walk05.png", "kind": "image", "metadata": "", @@ -378,7 +357,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p1_walk/PNG/p1_walk06.png", "kind": "image", "metadata": "", @@ -387,7 +365,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/p1_walk/PNG/p1_walk07.png", "kind": "image", "metadata": "", @@ -396,7 +373,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Player/Hurt-2.png", "kind": "image", "metadata": "", @@ -405,7 +381,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/brickWall.png", "kind": "image", "metadata": "", @@ -414,7 +389,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/grass.png", "kind": "image", "metadata": "", @@ -423,7 +397,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/ladder_mid.png", "kind": "image", "metadata": "", @@ -432,7 +405,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Enemies/slimeDead.png", "kind": "image", "metadata": "", @@ -441,7 +413,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/bridgeLogs.png", "kind": "image", "metadata": "", @@ -450,7 +421,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/castleCenter.png", "kind": "image", "metadata": "", @@ -459,7 +429,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/coinGold.png", "kind": "image", "metadata": "", @@ -468,7 +437,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/cloud1.png", "kind": "image", "metadata": "", @@ -477,7 +445,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/cloud2.png", "kind": "image", "metadata": "", @@ -486,7 +453,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/cloud3.png", "kind": "image", "metadata": "", @@ -495,7 +461,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/PlayerArea.png", "kind": "image", "metadata": "", @@ -504,7 +469,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/health_bar.png", "kind": "image", "metadata": "", @@ -513,7 +477,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/health_bar_frame.png", "kind": "image", "metadata": "", @@ -522,7 +485,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Tiles/bridge.png", "kind": "image", "metadata": "", @@ -531,7 +493,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/bush.png", "kind": "image", "metadata": "", @@ -540,7 +501,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/cactus.png", "kind": "image", "metadata": "", @@ -549,7 +509,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Items/plant.png", "kind": "image", "metadata": "", @@ -558,7 +517,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Left.png", "kind": "image", "metadata": "", @@ -567,7 +525,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Right.png", "kind": "image", "metadata": "", @@ -576,7 +533,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Enemies/flyDead.png", "kind": "image", "metadata": "", @@ -585,7 +541,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Enemies/flyFly1.png", "kind": "image", "metadata": "", @@ -594,7 +549,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Enemies/flyFly2.png", "kind": "image", "metadata": "", @@ -603,7 +557,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/BetaBox-Flat-Front-1.png", "kind": "image", "metadata": "", @@ -612,7 +565,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/shadedDark06.png", "kind": "image", "metadata": "", @@ -621,7 +573,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/shadedDark09.png", "kind": "image", "metadata": "", @@ -630,7 +581,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/shadedDark45.png", "kind": "image", "metadata": "", @@ -639,7 +589,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/shadedDark05.png", "kind": "image", "metadata": "", @@ -648,7 +597,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/BetaBox - Flat.png", "kind": "image", "metadata": "", @@ -657,7 +605,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "platformergraphics/Enemies/slimeWalk1.png", "kind": "image", "metadata": "", @@ -666,7 +613,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Enemies/slimeWalk2.png", "kind": "image", "metadata": "", @@ -675,18 +621,26 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "platformergraphics/Enemies/slimeDead-1.png", "kind": "image", "metadata": "", "name": "platformergraphics\\Enemies\\slimeDead-1.png", "smoothed": true, "userAdded": true + }, + { + "file": "Bimbo_JVE.ttf", + "kind": "font", + "metadata": "", + "name": "Bimbo_JVE.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, "objectsGroups": [], "variables": [], "layouts": [ @@ -695,9 +649,6 @@ "disableInputWhenNotFocused": true, "mangledName": "Game", "name": "Game", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 208, "standardSortMethod": false, "stopSoundsOnStartup": true, @@ -708,13 +659,17 @@ "gridType": "rectangular", "gridWidth": 70, "gridHeight": 70, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, + "gridOffsetZ": 0, "gridColor": 10401023, "gridAlpha": 0.8, "snap": true, "zoomFactor": 0.802, - "windowMask": true + "windowMask": true, + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [ { @@ -769,7 +724,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "TiledGrassPlatform", "persistentUuid": "4d354e41-5369-4d1d-b9d6-d84c9d6686e9", "width": 1703, @@ -785,7 +739,6 @@ "customSize": true, "height": 212, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "2361c44b-f5f4-41f8-968f-96ba534d2ded", "width": 75, @@ -801,7 +754,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "PlayerHitBox", "persistentUuid": "fe30b516-9b55-4958-81e1-478e5c24d90b", "width": 0, @@ -817,7 +769,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "43f3faab-0929-4b66-b688-54ad007759d6", "width": 0, @@ -838,7 +789,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "17800fc3-e078-4c85-a68a-5c0b7c031e7c", "width": 0, @@ -854,7 +804,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "17ff9e72-e824-450a-b470-ca38bab60d5a", "width": 0, @@ -875,7 +824,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "b3e103ad-5a03-4004-badf-6d7cad6bed3e", "width": 0, @@ -891,7 +839,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "ac59d0ef-6732-4023-9d09-940bd41cc5bc", "width": 0, @@ -912,7 +859,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "6a7660ab-b859-43d9-9d80-9890e0a04ead", "width": 0, @@ -928,7 +874,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "Score", "persistentUuid": "e391431d-425d-41e9-835e-b50f47c453b9", "width": 0, @@ -944,7 +889,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "CoinIcon", "persistentUuid": "1fbd2d4d-7e04-45c7-94e8-d4004531a046", "width": 0, @@ -960,7 +904,6 @@ "customSize": true, "height": 78.2958, "layer": "GUI", - "locked": false, "name": "LeftButton", "persistentUuid": "c0ea4d41-b9fb-4eaa-b4b8-16f43a94287f", "width": 97.5489, @@ -976,7 +919,6 @@ "customSize": true, "height": 76.5471, "layer": "GUI", - "locked": false, "name": "RightButton", "persistentUuid": "0f2199f4-e8ba-4dd0-a886-7478cd492c26", "width": 94.1152, @@ -992,7 +934,6 @@ "customSize": true, "height": 202.235, "layer": "GUI", - "locked": false, "name": "ArrowButtonsBg", "persistentUuid": "5006a7e6-766e-474b-a9f4-447a08bd904a", "width": 202.235, @@ -1008,7 +949,6 @@ "customSize": true, "height": 107.992, "layer": "GUI", - "locked": false, "name": "JumpButton", "persistentUuid": "22aab52a-2df3-4a11-9bfc-8a586b026023", "width": 107.992, @@ -1024,7 +964,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "HealthBarFrame", "persistentUuid": "e072493e-1f6a-4ba3-9faa-0ab258360119", "width": 0, @@ -1040,7 +979,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "HealthBar", "persistentUuid": "c5e5cc7f-d218-40e6-b2c6-08772cd3a510", "width": 0, @@ -1056,7 +994,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "PlayerGreen", "persistentUuid": "be0d3fbd-dd45-4829-8704-2bdf5ad264a3", "width": 0, @@ -1072,7 +1009,6 @@ "customSize": true, "height": 69, "layer": "", - "locked": false, "name": "Snow", "persistentUuid": "1e54d761-5804-4a17-81d8-29fe7ed90375", "width": 2576, @@ -1088,7 +1024,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "KeyIcon", "persistentUuid": "2a8e7851-d855-4c8f-8ea2-41a058511fc0", "width": 0, @@ -1104,7 +1039,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Win", "persistentUuid": "2e0c04fc-e578-4b23-af6c-fd8297f66043", "width": 0, @@ -1120,7 +1054,6 @@ "customSize": true, "height": 700, "layer": "", - "locked": false, "name": "Betabox", "persistentUuid": "b4e564b0-f647-41d6-be35-d18351cc33b0", "width": 600, @@ -1136,7 +1069,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "978cf398-3e15-4a79-b9f3-10fb73982542", "width": 0, @@ -1152,7 +1084,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "d989fa9e-a11d-4c00-9fac-b1883480f8e8", "width": 0, @@ -1168,7 +1099,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "bcc4b930-45c6-4b3b-a7ce-d5b1c6f0bc53", "width": 0, @@ -1184,7 +1114,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Spikes", "persistentUuid": "f41ad91a-6f6c-4bc7-8341-29b44fbf3442", "width": 0, @@ -1200,7 +1129,6 @@ "customSize": true, "height": 316, "layer": "", - "locked": false, "name": "Sign", "persistentUuid": "7d8e932c-b92e-4fca-84b6-d0b79a26dd44", "width": 314, @@ -1216,7 +1144,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Key", "persistentUuid": "93b1e794-aaec-49bc-a0f3-26a8425f2d7d", "width": 0, @@ -1232,7 +1159,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "79838f10-cd1d-4eff-9cf6-0b87058c8095", "width": 2545, @@ -1248,7 +1174,6 @@ "customSize": true, "height": 57, "layer": "", - "locked": false, "name": "Lava", "persistentUuid": "4308badc-85ff-434c-99f8-65df668b505d", "width": 187, @@ -1264,7 +1189,6 @@ "customSize": true, "height": 315, "layer": "", - "locked": false, "name": "KeyBlock", "persistentUuid": "f72e64a8-d390-4dab-9813-dfb1f5e3557f", "width": 307, @@ -1280,7 +1204,6 @@ "customSize": true, "height": 129, "layer": "", - "locked": false, "name": "Loops", "persistentUuid": "f4abeeb7-5cb0-43c0-8126-a71cea58f5f5", "width": 291, @@ -1296,7 +1219,6 @@ "customSize": true, "height": 297, "layer": "", - "locked": false, "name": "Sign", "persistentUuid": "7a1d5867-367c-45ee-9407-2999e5a5da76", "width": 289, @@ -1312,7 +1234,6 @@ "customSize": true, "height": 143, "layer": "", - "locked": false, "name": "Variables", "persistentUuid": "30739f46-ff51-4a1b-aa6b-6cf592c2e7f6", "width": 259, @@ -1328,7 +1249,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Spring", "persistentUuid": "1884959b-e447-40f9-bf0c-e57535d7a764", "width": 0, @@ -1344,7 +1264,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Spikes", "persistentUuid": "9bf3b636-7af6-4421-9b6d-eb017e8eebee", "width": 0, @@ -1360,7 +1279,6 @@ "customSize": true, "height": 297, "layer": "", - "locked": false, "name": "Sign", "persistentUuid": "148e4c28-fc20-48d5-901e-abb2ed89a84d", "width": 289, @@ -1376,7 +1294,6 @@ "customSize": true, "height": 143, "layer": "", - "locked": false, "name": "IF", "persistentUuid": "e7453726-64aa-45cc-83ac-c8fcb84ff289", "width": 280, @@ -1392,7 +1309,6 @@ "customSize": true, "height": 297, "layer": "", - "locked": false, "name": "Sign", "persistentUuid": "ae160b31-afcc-422c-80eb-afb713c167e6", "width": 289, @@ -1408,7 +1324,6 @@ "customSize": true, "height": 89, "layer": "", - "locked": false, "name": "MakeAGame", "persistentUuid": "27349356-8ade-422a-8722-cb5440e417be", "width": 236, @@ -1424,7 +1339,6 @@ "customSize": true, "height": 700, "layer": "", - "locked": false, "name": "BetaboxFront", "persistentUuid": "0a79859f-de06-49a4-8515-b4e00cd806d3", "width": 600, @@ -1440,7 +1354,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "MovingPlatform", "persistentUuid": "7c611af1-15e0-4349-a82f-c247c8f40aa9", "width": 117, @@ -1456,7 +1369,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "2f34a2d6-e0a6-443d-9593-0cc31fcdf927", "width": 0, @@ -1472,7 +1384,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "Snow", "persistentUuid": "a686da98-6294-4ea3-ae76-1ad65790daa3", "width": 1142, @@ -1488,7 +1399,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "6b2c6810-8787-45ff-ad8b-19564d8b4018", "width": 0, @@ -1504,7 +1414,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "a2dd4fee-c205-44c3-a623-37eb7f74239b", "width": 0, @@ -1520,7 +1429,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "74d07646-17f5-4792-9bd8-475bc2628ae2", "width": 0, @@ -1536,7 +1444,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "f9bdcb32-47a3-40d1-9976-52bf27a9db9e", "width": 0, @@ -1552,7 +1459,6 @@ "customSize": true, "height": 478, "layer": "", - "locked": false, "name": "Ladder", "persistentUuid": "a07ebf32-9cc8-4f3e-b124-05b2c4020715", "width": 70, @@ -1568,7 +1474,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "65f19ba0-153c-42ec-a7fe-12eb12a60c53", "width": 0, @@ -1584,7 +1489,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "35af957e-aebb-4ca8-a9da-3795a31d2801", "width": 0, @@ -1600,7 +1504,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "11296658-5287-440d-86e7-32df7d270ec7", "width": 0, @@ -1621,7 +1524,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Box", "persistentUuid": "7ae4e4c7-ca96-49f8-89c7-dcafec191f7f", "width": 0, @@ -1637,7 +1539,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "ChangeCharacter", "persistentUuid": "bc23d489-3caf-41f4-841c-7d5de9b42ed6", "width": 0, @@ -1653,7 +1554,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "79edfe5d-3a32-4908-8292-812883bcc63e", "width": 0, @@ -1669,7 +1569,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "fabcc83d-447b-48a1-bf7a-f4926e90b02a", "width": 0, @@ -1685,7 +1584,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "5977e202-6f1b-40dd-8e53-0985ccd4c1c6", "width": 0, @@ -1706,7 +1604,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "3da62c51-44e5-47b1-8a42-ed178d4b2642", "width": 0, @@ -1722,7 +1619,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "6bd879f3-e977-40c3-8f85-623142d6b9ab", "width": 0, @@ -1738,7 +1634,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "a65ab1f9-affb-46ad-9176-43cd0f170d12", "width": 0, @@ -1754,7 +1649,6 @@ "customSize": true, "height": 740, "layer": "", - "locked": false, "name": "Ladder", "persistentUuid": "4c036f0b-95db-4743-95ca-04e4ebdabe26", "width": 70, @@ -1770,7 +1664,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "Snow", "persistentUuid": "19ad9a73-10d8-4328-9af7-cd248896827a", "width": 2468, @@ -1786,7 +1679,6 @@ "customSize": true, "height": 101, "layer": "", - "locked": false, "name": "Lava", "persistentUuid": "606ee38c-7971-4581-b765-e8df3475d04f", "width": 506, @@ -1802,7 +1694,6 @@ "customSize": true, "height": 87, "layer": "", - "locked": false, "name": "Lava", "persistentUuid": "0fb132bf-65d0-43e5-bd9a-10d2c14e95ff", "width": 424, @@ -1818,7 +1709,6 @@ "customSize": true, "height": 84, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "6102b266-c1f9-4519-8a4b-0fac83269cc4", "width": 74, @@ -1834,7 +1724,6 @@ "customSize": true, "height": 82, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "492f5c82-67b8-4ac6-8e7f-1af8a4381dec", "width": 70, @@ -1850,7 +1739,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "602c2fff-8201-4ca5-884c-5eed84e692ba", "width": 0, @@ -1866,7 +1754,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "4db430be-ce43-495f-bce7-b020cd6929de", "width": 0, @@ -1882,7 +1769,6 @@ "customSize": true, "height": 297, "layer": "", - "locked": false, "name": "Sign", "persistentUuid": "12f06ee9-fde8-4eea-b502-eb4400505096", "width": 289, @@ -1898,7 +1784,6 @@ "customSize": true, "height": 113, "layer": "", - "locked": false, "name": "Experiment", "persistentUuid": "5b686c74-ea12-49c2-8032-7d721b422034", "width": 229, @@ -1914,7 +1799,6 @@ "customSize": true, "height": 14, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "e9b1ca2b-bc5b-49a3-af22-6bc2c8070996", "width": 390, @@ -1928,8 +1812,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerPink", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2256,8 +2141,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerGreen", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2590,8 +2476,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerBlue", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2924,12 +2811,12 @@ ] }, { + "assetStoreId": "", "bottomMargin": 0, "height": 128, "leftMargin": 0, "name": "Box", "rightMargin": 0, - "tags": "", "texture": "platformergraphics\\Tiles\\boxAlt.png", "tiled": false, "topMargin": 0, @@ -2948,8 +2835,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Platform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3063,8 +2951,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Jumpthru", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3130,9 +3019,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "Snow", - "tags": "", "texture": "platformergraphics\\Tiles\\snowMid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -3149,9 +3038,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "Stone", - "tags": "", "texture": "platformergraphics\\Tiles\\stoneCenter.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -3168,9 +3057,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledGrassPlatform", - "tags": "", "texture": "platformergraphics\\Tiles\\grassMid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -3187,9 +3076,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledCastlePlatform", - "tags": "", "texture": "platformergraphics\\Tiles\\castleCenter.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -3206,8 +3095,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerHitBox", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3282,9 +3172,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "Ladder", - "tags": "", "texture": "platformergraphics\\Tiles\\ladder_mid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -3301,8 +3191,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoLeft", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3360,8 +3251,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoRight", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3419,8 +3311,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "MovingPlatform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3486,8 +3379,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "SlimeWalk", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [ @@ -3652,8 +3546,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Fly", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3812,8 +3707,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Cloud", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3967,8 +3863,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BackgroundObjects", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4122,8 +4019,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Coin", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4181,8 +4079,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "CoinIcon", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4240,8 +4139,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "KeyIcon", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4309,8 +4209,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Win", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4378,12 +4279,12 @@ ] }, { + "assetStoreId": "", "bottomMargin": 0, "height": 128, "leftMargin": 0, "name": "Sign", "rightMargin": 0, - "tags": "", "texture": "platformergraphics\\Tiles\\sign.png", "tiled": false, "topMargin": 0, @@ -4394,8 +4295,9 @@ "behaviors": [] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Spikes", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4453,9 +4355,9 @@ ] }, { + "assetStoreId": "", "height": 32, "name": "Lava", - "tags": "", "texture": "platformergraphics\\Tiles\\liquidLava.png", "type": "TiledSpriteObject::TiledSprite", "width": 32, @@ -4464,8 +4366,9 @@ "behaviors": [] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Key", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4504,12 +4407,12 @@ ] }, { + "assetStoreId": "", "bottomMargin": 0, "height": 64, "leftMargin": 0, "name": "KeyBlock", "rightMargin": 0, - "tags": "", "texture": "platformergraphics\\Tiles\\lock_yellow.png", "tiled": false, "topMargin": 0, @@ -4528,8 +4431,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Spring", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4622,8 +4526,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Betabox", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4662,8 +4567,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BetaboxFront", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4702,8 +4608,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "ArrowButtonsBg", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4761,8 +4668,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "JumpButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4830,8 +4738,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "RightButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4889,8 +4798,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "LeftButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4948,8 +4858,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "HealthBar", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4988,8 +4899,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "HealthBarFrame", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -5029,12 +4941,14 @@ }, { "additive": true, + "assetStoreId": "", "destroyWhenNoParticles": false, "emitterAngleA": 0, "emitterAngleB": 270, "emitterForceMax": 100, "emitterForceMin": 45, "flow": 100, + "jumpForwardInTimeOnCreation": 0, "maxParticleNb": 300, "name": "WinConfetti", "particleAlpha1": 255, @@ -5047,6 +4961,8 @@ "particleAngleRandomness2": 0, "particleBlue1": 57, "particleBlue2": 0, + "particleColor1": "160;255;57", + "particleColor2": "255;255;0", "particleGravityX": 0, "particleGravityY": 0, "particleGreen1": 255, @@ -5062,7 +4978,6 @@ "rendererParam1": 12, "rendererParam2": 3, "rendererType": "Line", - "tags": "", "tank": -1, "textureParticleName": "", "type": "ParticleSystem::ParticleEmitter", @@ -5072,11 +4987,11 @@ "behaviors": [] }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Score", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5084,19 +4999,42 @@ "behaviors": [], "string": "x 0", "font": "Bimbo_JVE.ttf", + "textAlignment": "", "characterSize": 40, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "x 0", + "font": "Bimbo_JVE.ttf", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 40, + "lineHeight": 0, + "color": "0;0;0" } }, { + "assetStoreId": "", "bold": true, "italic": false, "name": "Loops", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5104,19 +5042,42 @@ "behaviors": [], "string": "Hello! Lets Start Making our game with a loop. This is a slime. This slime loops between the two arrows.", "font": "", + "textAlignment": "", "characterSize": 20, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Hello! Lets Start Making our game with a loop. This is a slime. This slime loops between the two arrows.", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" } }, { + "assetStoreId": "", "bold": true, "italic": false, "name": "Variables", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5124,19 +5085,42 @@ "behaviors": [], "string": "Now lets use a variable. If you look in the top right you can see a key. This is a variable. It will turn on if we pick up the key!", "font": "", + "textAlignment": "", "characterSize": 20, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Now lets use a variable. If you look in the top right you can see a key. This is a variable. It will turn on if we pick up the key!", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" } }, { + "assetStoreId": "", "bold": true, "italic": false, "name": "IF", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5144,19 +5128,42 @@ "behaviors": [], "string": "The door to the right uses an if statement. IF you have the key it will open. Take a look at the code in the GAME (EVENTS) tab to see how it works!\n", "font": "", + "textAlignment": "", "characterSize": 20, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "The door to the right uses an if statement. IF you have the key it will open. Take a look at the code in the GAME (EVENTS) tab to see how it works!\n", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" } }, { + "assetStoreId": "", "bold": true, "italic": false, "name": "MakeAGame", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5164,19 +5171,42 @@ "behaviors": [], "string": "Awesome! Now see if you can use what you learned to make your own game!", "font": "", + "textAlignment": "", "characterSize": 20, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": true, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Awesome! Now see if you can use what you learned to make your own game!", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "ChangeCharacter", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5184,19 +5214,42 @@ "behaviors": [], "string": "To change your character delete the one in the game and drag in your own", "font": "", + "textAlignment": "", "characterSize": 20, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "To change your character delete the one in the game and drag in your own", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Experiment", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5204,18 +5257,179 @@ "behaviors": [], "string": "Heres some examples to experiment with!", "font": "", + "textAlignment": "", "characterSize": 20, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Heres some examples to experiment with!", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "0;0;0" } } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "PlayerPink" + }, + { + "objectName": "PlayerGreen" + }, + { + "objectName": "PlayerBlue" + }, + { + "objectName": "Box" + }, + { + "objectName": "Platform" + }, + { + "objectName": "Jumpthru" + }, + { + "objectName": "Snow" + }, + { + "objectName": "Stone" + }, + { + "objectName": "TiledGrassPlatform" + }, + { + "objectName": "TiledCastlePlatform" + }, + { + "objectName": "PlayerHitBox" + }, + { + "objectName": "Ladder" + }, + { + "objectName": "GoLeft" + }, + { + "objectName": "GoRight" + }, + { + "objectName": "MovingPlatform" + }, + { + "objectName": "SlimeWalk" + }, + { + "objectName": "Fly" + }, + { + "objectName": "Cloud" + }, + { + "objectName": "BackgroundObjects" + }, + { + "objectName": "Coin" + }, + { + "objectName": "CoinIcon" + }, + { + "objectName": "KeyIcon" + }, + { + "objectName": "Win" + }, + { + "objectName": "Sign" + }, + { + "objectName": "Spikes" + }, + { + "objectName": "Lava" + }, + { + "objectName": "Key" + }, + { + "objectName": "KeyBlock" + }, + { + "objectName": "Spring" + }, + { + "objectName": "Betabox" + }, + { + "objectName": "BetaboxFront" + }, + { + "objectName": "ArrowButtonsBg" + }, + { + "objectName": "JumpButton" + }, + { + "objectName": "RightButton" + }, + { + "objectName": "LeftButton" + }, + { + "objectName": "HealthBar" + }, + { + "objectName": "HealthBarFrame" + }, + { + "objectName": "WinConfetti" + }, + { + "objectName": "Score" + }, + { + "objectName": "Loops" + }, + { + "objectName": "Variables" + }, + { + "objectName": "IF" + }, + { + "objectName": "MakeAGame" + }, + { + "objectName": "ChangeCharacter" + }, + { + "objectName": "Experiment" + } + ] + }, "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5225,59 +5439,47 @@ "textG": 0, "textR": 0 }, - "comment": "For more examples and templates visit gametemplates.itch.io", - "comment2": "" + "comment": "For more examples and templates visit gametemplates.itch.io" }, { "colorB": 228, "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, "folded": true, "name": "Original platformer template", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "PlayerHitBox" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -5286,12 +5488,10 @@ "PlayerHitBox.X()-12", "=", "PlayerHitBox.Y()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -5300,12 +5500,10 @@ "PlayerHitBox.X()-12", "=", "PlayerHitBox.Y()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -5314,15 +5512,11 @@ "PlayerHitBox.X()-12", "=", "PlayerHitBox.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5336,99 +5530,82 @@ "comment2": "On change l'animation en fonction de ce que fait le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "RShift" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "PlayerGreen", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "PlayerBlue", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "PlayerPink", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "PlayerGreen", "=", "2" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "PlayerBlue", "=", "2" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "PlayerPink", "=", "2" - ], - "subInstructions": [] + ] } ] } @@ -5436,7 +5613,6 @@ "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5445,148 +5621,118 @@ "", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsJumping" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerGreen", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerBlue", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerPink", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerGreen", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerBlue", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerPink", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -5597,220 +5743,177 @@ "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerGreen", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerBlue", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerPink", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsMoving" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerGreen", "=", "2" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerBlue", "=", "2" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerPink", "=", "2" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "PlayerGreen", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "PlayerBlue", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "PlayerPink", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Right" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "PlayerGreen", "no" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "PlayerBlue", "no" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "PlayerPink", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5824,14 +5927,11 @@ "comment2": "On s'assure que la caméra suit le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "CameraX" }, "parameters": [ @@ -5840,20 +5940,15 @@ "PlayerHitBox.X()+200\n", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CameraY" }, "parameters": [ @@ -5862,14 +5957,12 @@ "PlayerHitBox.Y()+100", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "CameraY" }, "parameters": [ @@ -5878,20 +5971,15 @@ "PlayerHitBox.Y()+100\n\n\n\n", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CameraY" }, "parameters": [ @@ -5900,14 +5988,12 @@ "PlayerHitBox.Y()-170", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "CameraY" }, "parameters": [ @@ -5916,15 +6002,11 @@ "PlayerHitBox.Y()-170\n\n", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5938,77 +6020,61 @@ "comment2": "Gestion de la plateforme bougeante:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoLeft" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoRight" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -6016,44 +6082,35 @@ "-150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -6061,15 +6118,11 @@ "150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6083,8 +6136,6 @@ "comment2": "Enemis :" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -6092,8 +6143,6 @@ "target": "EnemiesManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6107,8 +6156,6 @@ "comment2": "Objets:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -6116,8 +6163,6 @@ "target": "ObjectsManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6131,8 +6176,6 @@ "comment2": "Elements de l'interface:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -6140,8 +6183,6 @@ "target": "GUIManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6151,12 +6192,9 @@ "textG": 0, "textR": 0 }, - "comment": "Virtual controls", - "comment2": "" + "comment": "Virtual controls" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -6164,63 +6202,49 @@ "inverted": true, "value": "SystemInfo::IsMobile" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "VirtualControls" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TouchSimulateMouse" }, "parameters": [ "", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -6228,33 +6252,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -6262,33 +6279,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -6296,24 +6306,20 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -6323,15 +6329,12 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, "folded": true, "name": "Health bar", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6341,41 +6344,33 @@ "textG": 0, "textR": 0 }, - "comment": "At the beginning, set player health to 100 and position the health bar to be at the frame", - "comment2": "" + "comment": "At the beginning, set player health to 100 and position the health bar to be at the frame" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "playerHealth", "=", "100" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -6384,15 +6379,11 @@ "HealthBarFrame.X()", "=", "HealthBarFrame.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6402,17 +6393,13 @@ "textG": 0, "textR": 0 }, - "comment": "If player is in collision with the Enemy and the player is on floor and the enemy is alive (animation = 0), reduce health by 10", - "comment2": "" + "comment": "If player is in collision with the Enemy and the player is on floor and the enemy is alive (animation = 0), reduce health by 10" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -6420,93 +6407,77 @@ "Enemy", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "playerHealth", "-", "15" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerBlue", "=", "3" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerGreen", "=", "3" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerPink", "=", "3" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -6515,14 +6486,11 @@ "", "50", "" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6532,32 +6500,24 @@ "textG": 0, "textR": 0 }, - "comment": "Simulate jump key press (you may want to change position or opacity of player here, I decided to make it jump as the point of this example is to see the health bar changing)", - "comment2": "" + "comment": "Simulate jump key press (you may want to change position or opacity of player here, I decided to make it jump as the point of this example is to see the health bar changing)" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6567,46 +6527,36 @@ "textG": 0, "textR": 0 }, - "comment": "In case Health is <= 0 then restart the game", - "comment2": "" + "comment": "In case Health is <= 0 then restart the game" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "playerHealth", "<=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6616,29 +6566,23 @@ "textG": 0, "textR": 0 }, - "comment": "Change the scale of the health bar on the X axis to display the current state of the health value\nThe default scale value is 1 and so we devide the health value by 100 to get the right scale for the health bar\n100 / 100 = 1 (original scale)\n90 / 100 = 0.9 (90% of it original scale)\n", - "comment2": "" + "comment": "Change the scale of the health bar on the X axis to display the current state of the health value\nThe default scale value is 1 and so we devide the health value by 100 to get the right scale for the health bar\n100 / 100 = 1 (original scale)\n90 / 100 = 0.9 (90% of it original scale)\n" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ChangeScaleWidth" }, "parameters": [ "HealthBar", "=", "Variable(playerHealth) / 100" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -6650,15 +6594,11 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Betabox", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6668,17 +6608,13 @@ "textG": 0, "textR": 0 }, - "comment": "Springs Let You Jump Again!", - "comment2": "" + "comment": "Springs Let You Jump Again!" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -6687,73 +6623,59 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Spring", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Spring", "=", "1" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6763,17 +6685,13 @@ "textG": 0, "textR": 0 }, - "comment": "Lava Hurt", - "comment2": "" + "comment": "Lava Hurt" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -6782,160 +6700,128 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "playerHealth", "-", "25\n" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerPink", "=", "3" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerBlue", "=", "3" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerGreen", "=", "3" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "playerHealth", "<=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ChangeScaleWidth" }, "parameters": [ "HealthBar", "=", "Variable(playerHealth) / 100" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6945,17 +6831,13 @@ "textG": 0, "textR": 0 }, - "comment": "Spikes Hurt\n", - "comment2": "" + "comment": "Spikes Hurt\n" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -6964,160 +6846,128 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "playerHealth", "-", "15" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerPink", "=", "3" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerBlue", "=", "3" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerGreen", "=", "3" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "playerHealth", "<=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ChangeScaleWidth" }, "parameters": [ "HealthBar", "=", "Variable(playerHealth) / 100" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7127,46 +6977,36 @@ "textG": 0, "textR": 0 }, - "comment": "Falling Detection\n", - "comment2": "" + "comment": "Falling Detection\n" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosY" }, "parameters": [ "PlayerHitBox", ">", "520" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7176,24 +7016,19 @@ "textG": 0, "textR": 0 }, - "comment": "Detect When The Player Has The Key and Open Keyblocks\n", - "comment2": "" + "comment": "Detect When The Player Has The Key and Open Keyblocks\n" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::And" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -7202,20 +7037,17 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "HasKey", "!=", "1" - ], - "subInstructions": [] + ] } ] } @@ -7223,31 +7055,26 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "HasKey", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "KeyIcon", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -7256,50 +7083,40 @@ "no", "50", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Key", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::And" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "HasKey", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -7308,8 +7125,7 @@ "", "", "" - ], - "subInstructions": [] + ] } ] } @@ -7317,21 +7133,16 @@ "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "KeyBlock", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7341,24 +7152,19 @@ "textG": 0, "textR": 0 }, - "comment": "Win!", - "comment2": "" + "comment": "Win!" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::And" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -7367,20 +7173,17 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "Win", "!=", "1" - ], - "subInstructions": [] + ] } ] } @@ -7388,19 +7191,16 @@ "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Win", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -7409,24 +7209,20 @@ "Win.X()", "Win.Y()", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Win", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "RotateTowardAngle" }, "parameters": [ @@ -7434,11 +7230,9 @@ "270", "0", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -7449,9 +7243,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -7471,9 +7272,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "GUI", + "renderingType": "", "visibility": true, "cameras": [ { @@ -7509,44 +7317,34 @@ "externalEvents": [ { "associatedLayout": "Game", - "lastChangeTimeStamp": 1383154438, "name": "EnemiesManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Fly", "PlatformerObject", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7556,31 +7354,25 @@ "textG": 0, "textR": 0 }, - "comment": "Enemy movement:", - "comment2": "" + "comment": "Enemy movement:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7588,34 +7380,27 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7623,40 +7408,31 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7664,14 +7440,12 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -7679,42 +7453,33 @@ "-300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7722,14 +7487,12 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -7737,37 +7500,29 @@ "300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7781,70 +7536,57 @@ "comment2": "Gestion des collisions avec le joueur:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::Gravity" }, "parameters": [ @@ -7852,34 +7594,28 @@ "PlatformerObject", "=", "1500" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -7888,63 +7624,50 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::ForEach", "object": "Enemy", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "50" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosY" }, "parameters": [ "PlayerHitBox", ">=", "Enemy.Y()-PlayerHitBox.Height()+Enemy.Height()/2" - ], - "subInstructions": [] + ] } ], - "actions": [], - "events": [] + "actions": [] } ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7958,32 +7681,26 @@ "comment2": "Disparition des ennemis:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { @@ -7993,69 +7710,57 @@ "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "false" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Enemy", "-", "50*TimeDelta()" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Enemy", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -8063,55 +7768,45 @@ }, { "associatedLayout": "Game", - "lastChangeTimeStamp": 1383151997, "name": "ObjectsManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Coin", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "254" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -8120,58 +7815,47 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "100" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "<", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "-", "255*TimeDelta()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -8179,77 +7863,61 @@ "0", "-30", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Coin", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { "associatedLayout": "Game", - "lastChangeTimeStamp": 1383151997, "name": "GUIManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Score", "=", "\"x \"+ToString(Variable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } ], "eventsFunctionsExtensions": [], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +} diff --git a/examples/character-selection/character-selection.json b/examples/character-selection/character-selection.json index ad681185f..8e22a88e3 100755 --- a/examples/character-selection/character-selection.json +++ b/examples/character-selection/character-selection.json @@ -1,13 +1,15 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { "adaptGameResolutionAtRuntime": false, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, "folderProject": false, "orientation": "landscape", "packageName": "com.example.characterselection", @@ -15,10 +17,12 @@ "projectUuid": "5c28bd1d-15d9-4ede-af2c-a889f7d328d2", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", + "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "useDeprecatedZeroAsDefaultZOrder": true, - "useExternalSourceFiles": false, "version": "1.1.0", "name": "Character Selection", + "description": "", "author": "", "windowWidth": 800, "windowHeight": 600, @@ -43,10 +47,17 @@ "showGDevelopSplash": true, "showProgressBar": true }, + "watermark": { + "placement": "bottom-left", + "showWatermark": true + }, "authorIds": [ "GfzRsieyUFVnsRR8OZThsPR29oq2", "t0AOR3JaOlak1TykejmNhjR5UQb2" ], + "authorUsernames": [], + "categories": [], + "playableDevices": [], "extensionProperties": [], "platforms": [ { @@ -58,7 +69,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "p1_stand.png", "kind": "image", "metadata": "", @@ -67,7 +77,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_jump.png", "kind": "image", "metadata": "", @@ -76,7 +85,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk01.png", "kind": "image", "metadata": "", @@ -85,7 +93,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk02.png", "kind": "image", "metadata": "", @@ -94,7 +101,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk03.png", "kind": "image", "metadata": "", @@ -103,7 +109,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk04.png", "kind": "image", "metadata": "", @@ -112,7 +117,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk05.png", "kind": "image", "metadata": "", @@ -121,7 +125,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk06.png", "kind": "image", "metadata": "", @@ -130,7 +133,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk07.png", "kind": "image", "metadata": "", @@ -139,7 +141,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk08.png", "kind": "image", "metadata": "", @@ -148,7 +149,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk09.png", "kind": "image", "metadata": "", @@ -157,7 +157,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk10.png", "kind": "image", "metadata": "", @@ -166,7 +165,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk11.png", "kind": "image", "metadata": "", @@ -175,7 +173,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "brickWall.png", "kind": "image", "metadata": "", @@ -184,7 +181,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bridge.png", "kind": "image", "metadata": "", @@ -193,7 +189,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "grassHalfMid.png", "kind": "image", "metadata": "", @@ -202,7 +197,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "castleCenter.png", "kind": "image", "metadata": "", @@ -211,7 +205,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "bridgeLogs.png", "kind": "image", "metadata": "", @@ -220,7 +213,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Left.png", "kind": "image", "metadata": "", @@ -229,7 +221,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "Right.png", "kind": "image", "metadata": "", @@ -238,7 +229,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "ladder_mid.png", "kind": "image", "metadata": "", @@ -247,7 +237,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Grass.png", "kind": "image", "metadata": "", @@ -256,7 +245,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "PlayerArea.png", "kind": "image", "metadata": "", @@ -265,7 +253,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk1.png", "kind": "image", "metadata": "", @@ -274,7 +261,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk2.png", "kind": "image", "metadata": "", @@ -283,7 +269,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeDead.png", "kind": "image", "metadata": "", @@ -292,7 +277,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly1.png", "kind": "image", "metadata": "", @@ -301,7 +285,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly2.png", "kind": "image", "metadata": "", @@ -310,7 +293,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyDead.png", "kind": "image", "metadata": "", @@ -319,7 +301,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud1.png", "kind": "image", "metadata": "", @@ -328,7 +309,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud2.png", "kind": "image", "metadata": "", @@ -337,7 +317,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud3.png", "kind": "image", "metadata": "", @@ -346,7 +325,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bush.png", "kind": "image", "metadata": "", @@ -355,7 +333,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cactus.png", "kind": "image", "metadata": "", @@ -364,7 +341,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "plant.png", "kind": "image", "metadata": "", @@ -373,7 +349,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "coinGold.png", "kind": "image", "metadata": "", @@ -382,7 +357,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "shadedDark06.png", "kind": "image", "metadata": "", @@ -391,7 +365,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark05.png", "kind": "image", "metadata": "", @@ -400,7 +373,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark45.png", "kind": "image", "metadata": "", @@ -409,7 +381,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark09.png", "kind": "image", "metadata": "", @@ -418,7 +389,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p2_stand.png", "kind": "image", "metadata": "", @@ -427,7 +397,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p2_jump.png", "kind": "image", "metadata": "", @@ -436,7 +405,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p2_walk03.png", "kind": "image", "metadata": "", @@ -445,7 +413,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p2_walk04.png", "kind": "image", "metadata": "", @@ -454,7 +421,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p2_walk05.png", "kind": "image", "metadata": "", @@ -463,7 +429,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p2_walk06.png", "kind": "image", "metadata": "", @@ -472,7 +437,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p2_walk07.png", "kind": "image", "metadata": "", @@ -481,7 +445,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p3_stand.png", "kind": "image", "metadata": "", @@ -490,7 +453,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p3_jump.png", "kind": "image", "metadata": "", @@ -499,7 +461,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p3_walk03.png", "kind": "image", "metadata": "", @@ -508,7 +469,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p3_walk04.png", "kind": "image", "metadata": "", @@ -517,7 +477,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p3_walk05.png", "kind": "image", "metadata": "", @@ -526,7 +485,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p3_walk06.png", "kind": "image", "metadata": "", @@ -535,18 +493,26 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "p3_walk07.png", "kind": "image", "metadata": "", "name": "p3_walk07.png", "smoothed": true, "userAdded": true + }, + { + "file": "Bimbo_JVE.ttf", + "kind": "font", + "metadata": "", + "name": "Bimbo_JVE.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, "objectsGroups": [], "variables": [ { @@ -561,9 +527,6 @@ "disableInputWhenNotFocused": true, "mangledName": "CharacterSelection", "name": "CharacterSelection", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 208, "standardSortMethod": true, "stopSoundsOnStartup": true, @@ -571,17 +534,20 @@ "v": 244, "uiSettings": { "grid": false, - "gridB": 255, - "gridG": 180, + "gridType": "rectangular", + "gridWidth": 32, "gridHeight": 32, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, - "gridR": 158, - "gridType": "rectangular", - "gridWidth": 32, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, "snap": true, + "zoomFactor": 1.04, "windowMask": false, - "zoomFactor": 1.04 + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [], "variables": [], @@ -591,7 +557,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Player1", "persistentUuid": "11143047-6a34-4ccf-83c3-26fd773d1510", "width": 0, @@ -607,7 +572,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Player2", "persistentUuid": "4baefead-bf70-44cb-bbbc-91554bbe6df6", "width": 0, @@ -623,7 +587,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Player3", "persistentUuid": "ff8552a7-fa8b-41b8-9021-cad4e2fe4ac7", "width": 0, @@ -639,7 +602,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Message", "persistentUuid": "101dd087-a619-4144-81e5-13f19339ab90", "width": 0, @@ -653,8 +615,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player1", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -761,8 +724,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player2", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -869,8 +833,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player3", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -977,11 +942,11 @@ ] }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Message", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -989,18 +954,56 @@ "behaviors": [], "string": "Select a character", "font": "", + "textAlignment": "", "characterSize": 40, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Select a character", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 40, + "lineHeight": 0, + "color": "0;0;0" } } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Player1" + }, + { + "objectName": "Player2" + }, + { + "objectName": "Player3" + }, + { + "objectName": "Message" + } + ] + }, "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -1010,12 +1013,9 @@ "textG": 0, "textR": 0 }, - "comment": "For more game templates visit gametemplates.itch.io", - "comment2": "" + "comment": "For more game templates visit gametemplates.itch.io" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -1025,12 +1025,9 @@ "textG": 0, "textR": 0 }, - "comment": "If a character is clicked, store the charater name in a global variable and move on to the game scene\nwe are going to use the global variable to create the selected player object at the beginning of the game scene\nMake sure you preview/run this scene first", - "comment2": "" + "comment": "If a character is clicked, store the charater name in a global variable and move on to the game scene\nwe are going to use the global variable to create the selected player object at the beginning of the game scene\nMake sure you preview/run this scene first" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -1040,36 +1037,28 @@ "textG": 0, "textR": 0 }, - "comment": "The player defaults to Player1 if non is selected", - "comment2": "" + "comment": "The player defaults to Player1 if non is selected" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisBouton" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -1077,46 +1066,37 @@ "", "yes", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobalTxt" }, "parameters": [ "selectedCharacter", "=", "\"Player1\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -1124,46 +1104,37 @@ "", "yes", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobalTxt" }, "parameters": [ "selectedCharacter", "=", "\"Player2\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -1171,37 +1142,31 @@ "", "yes", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobalTxt" }, "parameters": [ "selectedCharacter", "=", "\"Player3\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -1211,9 +1176,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -1237,9 +1209,6 @@ "disableInputWhenNotFocused": true, "mangledName": "Game", "name": "Game", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 208, "standardSortMethod": false, "stopSoundsOnStartup": true, @@ -1288,7 +1257,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "0057a9aa-af72-4115-ba8b-a7f887f5904a", "width": 0, @@ -1309,7 +1277,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "d9cf9497-9d35-43a4-8c65-363ebbe02af0", "width": 0, @@ -1325,7 +1292,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "61cc45b8-8ed3-4084-b35f-8e31ff2a8fe1", "width": 0, @@ -1341,7 +1307,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "62d4b7b5-dd50-426f-a057-a6f17d501700", "width": 0, @@ -1357,7 +1322,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "cc7c05fd-75ba-4428-abb4-a8a587ce51ad", "width": 0, @@ -1373,7 +1337,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "TiledGrassPlatform", "persistentUuid": "9640ab14-9fae-422f-806f-4a366370eea1", "width": 2744, @@ -1389,7 +1352,6 @@ "customSize": true, "height": 487.462, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "8f6b56f0-fb4d-4520-9153-66081ecfdc31", "width": 502.923, @@ -1405,7 +1367,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "347e149f-808c-447f-8e9b-7094dc8e7a9d", "width": 0, @@ -1426,7 +1387,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "93c00a32-5f9c-41e1-a246-cf5001fda2c9", "width": 0, @@ -1442,7 +1402,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "88db1915-7540-4d25-9caa-4dbc117221dc", "width": 0, @@ -1458,7 +1417,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "9da9fa24-a622-4957-9eed-9e8e73768f02", "width": 0, @@ -1474,7 +1432,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "PlayerHitBox", "persistentUuid": "9c44fa4a-1062-4342-a426-2db1239caff2", "width": 0, @@ -1490,7 +1447,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "7a954fc0-f067-4d1c-b71a-202727d075e5", "width": 0, @@ -1511,7 +1467,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "c1a5feef-66f7-49fc-8fe2-4b33f2c5ae50", "width": 0, @@ -1527,7 +1482,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "1116086e-f439-40af-aca3-446ad11128ab", "width": 0, @@ -1543,7 +1497,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "f49fb6a0-6776-4090-bf55-fb7c2a19e6a9", "width": 0, @@ -1564,7 +1517,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "a3fc7005-234a-470e-82d3-79c6618f85fd", "width": 0, @@ -1580,7 +1532,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "Score", "persistentUuid": "f87aeed5-8e03-4f3c-a65d-53e044c5bb3e", "width": 0, @@ -1596,7 +1547,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "CoinIcon", "persistentUuid": "d18a8354-14ba-486c-af55-ae4a75337981", "width": 0, @@ -1612,7 +1562,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "ab124826-67b0-41fd-b84c-66ea64775463", "width": 0, @@ -1628,7 +1577,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "f6666295-c040-4863-9316-33a9e4d2c003", "width": 0, @@ -1644,7 +1592,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "1f8d45b7-7605-43bf-b695-07c7e1b4a5bc", "width": 0, @@ -1660,7 +1607,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "43cf4ef7-d5d6-4d86-9d8d-645baa0ee76e", "width": 0, @@ -1676,7 +1622,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "4bea9dd2-d54b-4a61-8a86-963cfcb72d98", "width": 0, @@ -1692,7 +1637,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "5df5d3f0-a789-49f3-959e-7bcd56a08daa", "width": 0, @@ -1708,7 +1652,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "d7f1066c-a25f-4868-9cdf-1bea3ebf9a04", "width": 0, @@ -1724,7 +1667,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "d4ef03c7-49ed-4099-ae78-6963d8710a1a", "width": 0, @@ -1740,7 +1682,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "25fe5e68-5081-4705-a454-de438300f565", "width": 0, @@ -1756,7 +1697,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "1ef8852e-18b6-4676-92d6-3069a96ff687", "width": 0, @@ -1772,7 +1712,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "2adeb76e-c930-4d11-973d-d77109297e77", "width": 0, @@ -1788,7 +1727,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "53e05887-717e-4317-8fd0-1fd2ad7c8861", "width": 0, @@ -1804,7 +1742,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "db619c65-3bd8-4068-a9f0-77bf75edb568", "width": 0, @@ -1818,8 +1755,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player1", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2117,8 +2055,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player2", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2321,8 +2260,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player3", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2525,8 +2465,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Platform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2640,8 +2581,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Jumpthru", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2707,9 +2649,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledGrassPlatform", - "tags": "", "texture": "grassHalfMid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2726,9 +2668,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledCastlePlatform", - "tags": "", "texture": "castleCenter.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2745,8 +2687,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoLeft", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2804,8 +2747,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoRight", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2863,8 +2807,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerHitBox", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2938,8 +2883,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "SlimeWalk", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [ @@ -3103,8 +3049,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Cloud", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3258,11 +3205,11 @@ ] }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Score", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -3270,16 +3217,40 @@ "behaviors": [], "string": "x 0", "font": "Bimbo_JVE.ttf", + "textAlignment": "", "characterSize": 40, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "x 0", + "font": "Bimbo_JVE.ttf", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 40, + "lineHeight": 0, + "color": "0;0;0" } }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Coin", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3337,8 +3308,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "CoinIcon", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3396,10 +3368,58 @@ ] } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Player1" + }, + { + "objectName": "Player2" + }, + { + "objectName": "Player3" + }, + { + "objectName": "Platform" + }, + { + "objectName": "Jumpthru" + }, + { + "objectName": "TiledGrassPlatform" + }, + { + "objectName": "TiledCastlePlatform" + }, + { + "objectName": "GoLeft" + }, + { + "objectName": "GoRight" + }, + { + "objectName": "PlayerHitBox" + }, + { + "objectName": "SlimeWalk" + }, + { + "objectName": "Cloud" + }, + { + "objectName": "Score" + }, + { + "objectName": "Coin" + }, + { + "objectName": "CoinIcon" + } + ] + }, "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3409,12 +3429,9 @@ "textG": 0, "textR": 0 }, - "comment": "For more game templates visit gametemplates.itch.io", - "comment2": "" + "comment": "For more game templates visit gametemplates.itch.io" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 21, @@ -3424,29 +3441,23 @@ "textG": 0, "textR": 0 }, - "comment": "All player object is member of a group called PlayerTypes\nAt the beginning of the scene, create the selected player object from the PlayerTypes group using the value of the global variable\nMake sure you preview/run the CharacterSelection scene first in order to make this work\nThe player type defaullts to Player1", - "comment2": "" + "comment": "All player object is member of a group called PlayerTypes\nAt the beginning of the scene, create the selected player object from the PlayerTypes group using the value of the global variable\nMake sure you preview/run the CharacterSelection scene first in order to make this work\nThe player type defaullts to Player1" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "CreateByName" }, "parameters": [ @@ -3456,102 +3467,79 @@ "PlayerHitBox.X()", "PlayerHitBox.Y()", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "colorB": 228, "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Original platformer template events, nothing has changed here", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "PlayerHitBox" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoLeft" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoRight" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -3560,15 +3548,11 @@ "PlayerHitBox.X()-12", "=", "PlayerHitBox.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3582,51 +3566,42 @@ "comment2": "On change l'animation en fonction de ce que fait le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "RShift" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "PlayerTypes", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "PlayerTypes", "=", "2" - ], - "subInstructions": [] + ] } ] } @@ -3634,7 +3609,6 @@ "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3643,100 +3617,78 @@ "", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsJumping" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerTypes", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerTypes", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -3747,128 +3699,101 @@ "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerTypes", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsMoving" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "PlayerTypes", "=", "2" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "PlayerTypes", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Right" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "PlayerTypes", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3882,14 +3807,11 @@ "comment2": "On s'assure que la caméra suit le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "CameraX" }, "parameters": [ @@ -3898,15 +3820,11 @@ "PlayerTypes.X()", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3920,8 +3838,6 @@ "comment2": "Enemis :" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -3929,8 +3845,6 @@ "target": "EnemiesManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3944,51 +3858,42 @@ "comment2": "Objets:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Coin", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "254" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3997,58 +3902,47 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "100" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "<", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "-", "255*TimeDelta()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4056,48 +3950,37 @@ "0", "-30", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Coin", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4111,25 +3994,20 @@ "comment2": "Elements de l'interface:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Score", "=", "\"x \"+ToString(Variable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -4140,9 +4018,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -4162,9 +4047,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "GUI", + "renderingType": "", "visibility": true, "cameras": [ { @@ -4200,12 +4092,9 @@ "externalEvents": [ { "associatedLayout": "Game", - "lastChangeTimeStamp": 1383154438, "name": "EnemiesManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4215,66 +4104,50 @@ "textG": 0, "textR": 0 }, - "comment": "Enemy movement:", - "comment2": "" + "comment": "Enemy movement:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "SlimeWalk", "" - ], - "subInstructions": [] + ] } ], - "actions": [], - "events": [] + "actions": [] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "SlimeWalk", "" - ], - "subInstructions": [] + ] } ], - "actions": [], - "events": [] + "actions": [] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -4282,44 +4155,35 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "SlimeWalk", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "SlimeWalk", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -4327,39 +4191,31 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "SlimeWalk", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "SlimeWalk", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4373,70 +4229,57 @@ "comment2": "Gestion des collisions avec le joueur:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "SlimeWalk", "" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "SlimeWalk", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "SlimeWalk", "PlatformerObject", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::Gravity" }, "parameters": [ @@ -4444,34 +4287,28 @@ "PlatformerObject", "=", "1500" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -4480,31 +4317,25 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "50" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4518,82 +4349,67 @@ "comment2": "Disparition des ennemis:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "SlimeWalk", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "SlimeWalk", "PlatformerObject", "false" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "SlimeWalk", "-", "50*TimeDelta()" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "SlimeWalk", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "SlimeWalk", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -4601,6 +4417,5 @@ } ], "eventsFunctionsExtensions": [], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +} diff --git a/examples/dialogue-tree-with-yarn/dialogue-tree-with-yarn.json b/examples/dialogue-tree-with-yarn/dialogue-tree-with-yarn.json index 3446ae4f1..3b188ff77 100755 --- a/examples/dialogue-tree-with-yarn/dialogue-tree-with-yarn.json +++ b/examples/dialogue-tree-with-yarn/dialogue-tree-with-yarn.json @@ -1,13 +1,15 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { "adaptGameResolutionAtRuntime": false, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, "folderProject": false, "orientation": "landscape", "packageName": "com.example.dialogtree", @@ -15,10 +17,12 @@ "projectUuid": "a37fdc97-2575-4877-8164-826b7f530a88", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", + "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "useDeprecatedZeroAsDefaultZOrder": true, - "useExternalSourceFiles": false, "version": "1.0.0", "name": "Dialog Tree ", + "description": "", "author": "Todor Imreorov aka blurymind", "windowWidth": 800, "windowHeight": 600, @@ -43,7 +47,14 @@ "showGDevelopSplash": true, "showProgressBar": true }, + "watermark": { + "placement": "bottom-left", + "showWatermark": true + }, "authorIds": [], + "authorUsernames": [], + "categories": [], + "playableDevices": [], "extensionProperties": [], "platforms": [ { @@ -55,7 +66,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "Left.png", "kind": "image", "metadata": "", @@ -64,7 +74,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "Right.png", "kind": "image", "metadata": "", @@ -73,7 +82,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "PlayerArea.png", "kind": "image", "metadata": "", @@ -82,7 +90,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark06.png", "kind": "image", "metadata": "", @@ -91,7 +98,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark05.png", "kind": "image", "metadata": "", @@ -100,7 +106,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark45.png", "kind": "image", "metadata": "", @@ -109,7 +114,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark09.png", "kind": "image", "metadata": "", @@ -118,7 +122,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/acorn-1.png", "kind": "image", "metadata": "", @@ -127,7 +130,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/acorn-2.png", "kind": "image", "metadata": "", @@ -136,7 +138,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/acorn-3.png", "kind": "image", "metadata": "", @@ -145,7 +146,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-1.png", "kind": "image", "metadata": "", @@ -154,7 +154,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-2.png", "kind": "image", "metadata": "", @@ -163,7 +162,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-3.png", "kind": "image", "metadata": "", @@ -172,7 +170,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-4.png", "kind": "image", "metadata": "", @@ -181,7 +178,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-5.png", "kind": "image", "metadata": "", @@ -190,7 +186,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-6.png", "kind": "image", "metadata": "", @@ -199,7 +194,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-7.png", "kind": "image", "metadata": "", @@ -208,7 +202,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-8.png", "kind": "image", "metadata": "", @@ -217,7 +210,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/bg-mountains.png", "kind": "image", "metadata": "", @@ -226,7 +218,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/bg-trees.png", "kind": "image", "metadata": "", @@ -235,7 +226,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/branch-01.png", "kind": "image", "metadata": "", @@ -244,7 +234,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/branch-02.png", "kind": "image", "metadata": "", @@ -253,7 +242,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/branch-03.png", "kind": "image", "metadata": "", @@ -262,7 +250,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/branch-04.png", "kind": "image", "metadata": "", @@ -271,7 +258,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/branch-05.png", "kind": "image", "metadata": "", @@ -280,7 +266,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/enemy-death-1.png", "kind": "image", "metadata": "", @@ -289,7 +274,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/enemy-death-2.png", "kind": "image", "metadata": "", @@ -298,7 +282,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/enemy-death-3.png", "kind": "image", "metadata": "", @@ -307,7 +290,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/enemy-death-4.png", "kind": "image", "metadata": "", @@ -316,7 +298,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/gator-1.png", "kind": "image", "metadata": "", @@ -325,7 +306,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/gator-2.png", "kind": "image", "metadata": "", @@ -334,7 +314,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/gator-3.png", "kind": "image", "metadata": "", @@ -343,7 +322,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/gator-4.png", "kind": "image", "metadata": "", @@ -352,7 +330,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/grasshopper-fall-1.png", "kind": "image", "metadata": "", @@ -361,7 +338,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/grasshopper-fall-2.png", "kind": "image", "metadata": "", @@ -370,7 +346,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/grasshopper-jump-1.png", "kind": "image", "metadata": "", @@ -379,7 +354,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/grasshopper-jump-2.png", "kind": "image", "metadata": "", @@ -388,7 +362,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/leaves.png", "kind": "image", "metadata": "", @@ -397,7 +370,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-crouch-1.png", "kind": "image", "metadata": "", @@ -406,7 +378,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-crouch-2.png", "kind": "image", "metadata": "", @@ -415,7 +386,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-hurt-1.png", "kind": "image", "metadata": "", @@ -424,7 +394,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-hurt-2.png", "kind": "image", "metadata": "", @@ -433,7 +402,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-idle-1.png", "kind": "image", "metadata": "", @@ -442,7 +410,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-idle-2.png", "kind": "image", "metadata": "", @@ -451,7 +418,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-idle-3.png", "kind": "image", "metadata": "", @@ -460,7 +426,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-idle-4.png", "kind": "image", "metadata": "", @@ -469,7 +434,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-idle-5.png", "kind": "image", "metadata": "", @@ -478,7 +442,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-idle-6.png", "kind": "image", "metadata": "", @@ -487,7 +450,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-idle-7.png", "kind": "image", "metadata": "", @@ -496,7 +458,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-idle-8.png", "kind": "image", "metadata": "", @@ -505,7 +466,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-jump-1.png", "kind": "image", "metadata": "", @@ -514,7 +474,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-jump-2.png", "kind": "image", "metadata": "", @@ -523,7 +482,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-jump-3.png", "kind": "image", "metadata": "", @@ -532,7 +490,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-jump-4.png", "kind": "image", "metadata": "", @@ -541,7 +498,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-run-1.png", "kind": "image", "metadata": "", @@ -550,7 +506,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-run-2.png", "kind": "image", "metadata": "", @@ -559,7 +514,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-run-3.png", "kind": "image", "metadata": "", @@ -568,7 +522,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-run-4.png", "kind": "image", "metadata": "", @@ -577,7 +530,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-run-5.png", "kind": "image", "metadata": "", @@ -586,7 +538,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/player-run-6.png", "kind": "image", "metadata": "", @@ -595,7 +546,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/tileset_06.png", "kind": "image", "metadata": "", @@ -604,7 +554,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/tileset_21.png", "kind": "image", "metadata": "", @@ -613,7 +562,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/tileset_28.png", "kind": "image", "metadata": "", @@ -628,6 +576,7 @@ "name": "other\\sounds\\jump.ogg", "preloadAsMusic": false, "preloadAsSound": false, + "preloadInCache": false, "userAdded": true }, { @@ -637,6 +586,7 @@ "name": "other\\sounds\\item.ogg", "preloadAsMusic": false, "preloadAsSound": false, + "preloadInCache": false, "userAdded": false }, { @@ -646,10 +596,10 @@ "name": "other\\sounds\\the_valley.ogg", "preloadAsMusic": false, "preloadAsSound": false, + "preloadInCache": false, "userAdded": true }, { - "alwaysLoaded": false, "file": "other/otherbg-clouds-1-1.png", "kind": "image", "metadata": "", @@ -658,7 +608,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "other/ant-2.png", "kind": "image", "metadata": "", @@ -667,7 +616,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/ant-3.png", "kind": "image", "metadata": "", @@ -676,7 +624,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "textBG.png", "kind": "image", "metadata": "", @@ -685,7 +632,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "textBG-1.png", "kind": "image", "metadata": "", @@ -694,7 +640,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "ant-1-0.png", "kind": "image", "metadata": "", @@ -703,7 +648,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "ant-2.png", "kind": "image", "metadata": "", @@ -712,7 +656,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "ant-1.png", "kind": "image", "metadata": "", @@ -721,7 +664,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "sign-1-0.png", "kind": "image", "metadata": "", @@ -730,7 +672,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "sign-1.png", "kind": "image", "metadata": "", @@ -739,7 +680,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "NewObject2-1-0.png", "kind": "image", "metadata": "", @@ -748,7 +688,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "NewObject2-1.png", "kind": "image", "metadata": "", @@ -757,7 +696,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "other/grasshopper-idle-4.png", "kind": "image", "metadata": "", @@ -772,11 +710,20 @@ "metadata": "", "name": "dialogueData/npcs.json", "userAdded": true + }, + { + "file": "Bimbo_JVE.ttf", + "kind": "font", + "metadata": "", + "name": "Bimbo_JVE.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, "objectsGroups": [], "variables": [ { @@ -806,9 +753,6 @@ "disableInputWhenNotFocused": true, "mangledName": "New_32scene", "name": "New scene", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 208, "standardSortMethod": false, "stopSoundsOnStartup": true, @@ -819,13 +763,17 @@ "gridType": "rectangular", "gridWidth": 70, "gridHeight": 70, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, + "gridOffsetZ": 0, "gridColor": 10401023, "gridAlpha": 0.8, "snap": true, "zoomFactor": 0.6986, - "windowMask": true + "windowMask": true, + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [ { @@ -920,7 +868,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Player", "persistentUuid": "068bfe87-6ad9-44e4-861f-a60e4859ff94", "width": 0, @@ -936,7 +883,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "837e7b4e-011f-428e-984c-10de02a0ac9e", "width": 0, @@ -952,7 +898,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "9488112b-0546-443a-aa92-2568cd541c3a", "width": 0, @@ -968,7 +913,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "01b21d74-9ec9-449d-afa0-d3b8043ee884", "width": 0, @@ -984,7 +928,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "7df22b07-063f-4809-8b3a-21a8aa462e1e", "width": 0, @@ -1000,7 +943,6 @@ "customSize": true, "height": 32, "layer": "", - "locked": false, "name": "TiledGrassPlatform", "persistentUuid": "65bb3499-1bcd-4efc-893f-48dbaa88b299", "width": 1972, @@ -1016,7 +958,6 @@ "customSize": true, "height": 46, "layer": "", - "locked": false, "name": "PlayerHitBox", "persistentUuid": "f85d2862-9a59-4d96-b586-f8bd814555fa", "width": 45, @@ -1032,7 +973,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "bbf87267-5293-43c2-ab02-3f9c68541a88", "width": 0, @@ -1048,7 +988,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "0f3d64ab-13b2-4893-969d-d19193094aa2", "width": 0, @@ -1070,7 +1009,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "223d3ab3-b000-403f-bc30-acba37076829", "width": 0, @@ -1086,7 +1024,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "07f8497a-e50b-458e-a336-d1a60d5d2618", "width": 94, @@ -1102,7 +1039,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "7d6c6d8d-aa4f-4edb-ac13-d82c01ad2ca6", "width": 0, @@ -1118,7 +1054,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "2c84876b-a5b3-4d44-aeb5-e1185e76fbf8", "width": 0, @@ -1134,7 +1069,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "0a4b79fd-04e7-4e94-81ab-c361de2527ba", "width": 0, @@ -1155,7 +1089,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "34cce7be-274e-4c89-988e-a4fb689bf856", "width": 0, @@ -1176,7 +1109,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "Score", "persistentUuid": "403af088-bc8b-4f2c-9775-02c7ecac8e65", "width": 0, @@ -1192,7 +1124,6 @@ "customSize": true, "height": 39, "layer": "GUI", - "locked": false, "name": "CoinIcon", "persistentUuid": "c3ae8029-f4dd-4713-bd08-1749cb632d50", "width": 44, @@ -1208,7 +1139,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "c6d596ae-d01e-4fc5-82e9-bcab96523c1b", "width": 0, @@ -1224,7 +1154,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "df4c6991-1a37-4744-81fc-1ebb0390c078", "width": 0, @@ -1240,7 +1169,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "16e2cf24-8fc0-4b85-bbd3-5f27d6ee6f78", "width": 0, @@ -1256,7 +1184,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "0985c65d-89e1-4c8b-bb91-de5989408513", "width": 0, @@ -1272,7 +1199,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "e49959ef-5794-4cd7-bd8b-ebf60d15afed", "width": 0, @@ -1288,7 +1214,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "cf524529-cf55-42ca-af62-f3bd83b1f1e8", "width": 0, @@ -1304,7 +1229,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "028a8278-a2c6-4439-b518-fed1dc34ea4e", "width": 0, @@ -1320,7 +1244,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "8c5ae63a-d1f4-44b4-8df0-b3dca8178607", "width": 0, @@ -1336,7 +1259,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "8c952955-2b0b-48c2-a26b-fcbf3d442c7c", "width": 0, @@ -1352,7 +1274,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "5ad66df7-4fb7-40e9-9e92-dba3e174d8da", "width": 0, @@ -1368,7 +1289,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "132ace1b-431a-4180-a11b-b8efd286beec", "width": 0, @@ -1384,7 +1304,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "061dd06c-b9bf-44fc-885c-0993c1ceb3e4", "width": 0, @@ -1416,7 +1335,6 @@ "customSize": true, "height": 76.5471, "layer": "GUI", - "locked": false, "name": "RightButton", "persistentUuid": "73022c22-5d8b-4f90-aaeb-d96a2a9e4952", "width": 94.1152, @@ -1448,7 +1366,6 @@ "customSize": true, "height": 107.992, "layer": "GUI", - "locked": false, "name": "JumpButton", "persistentUuid": "18270b00-2337-4fc4-bd7f-65c1eed7f79e", "width": 107.992, @@ -1464,7 +1381,6 @@ "customSize": true, "height": 198, "layer": "BG", - "locked": false, "name": "mountains", "persistentUuid": "b044f89e-5c34-4c6c-a543-10e94177122a", "width": 1725, @@ -1480,7 +1396,6 @@ "customSize": true, "height": 197, "layer": "BG", - "locked": false, "name": "trees", "persistentUuid": "4cb250cd-7d82-4ce3-86c3-ceed9da4f61b", "width": 1654, @@ -1496,7 +1411,6 @@ "customSize": true, "height": 213, "layer": "BG", - "locked": false, "name": "clouds", "persistentUuid": "614525a7-c7a7-4cce-bc7d-b0d40a86c369", "width": 1765, @@ -1512,7 +1426,6 @@ "customSize": true, "height": 197, "layer": "BG", - "locked": false, "name": "trees", "persistentUuid": "651844e0-a0d5-4849-88ac-de4fdebcb262", "width": 1654, @@ -1528,7 +1441,6 @@ "customSize": true, "height": 198, "layer": "BG", - "locked": false, "name": "mountains", "persistentUuid": "4568fa9a-cb53-4303-a6f9-29bf53fbee3a", "width": 1725, @@ -1544,7 +1456,6 @@ "customSize": true, "height": 198, "layer": "BG", - "locked": false, "name": "mountains", "persistentUuid": "6ca21071-7c1d-42ff-a0e4-aac32f2a5df7", "width": 1725, @@ -1560,7 +1471,6 @@ "customSize": true, "height": 197, "layer": "BG", - "locked": false, "name": "trees", "persistentUuid": "93769c66-ba8c-409b-b54a-dffc252b19e1", "width": 1654, @@ -1576,7 +1486,6 @@ "customSize": true, "height": 198, "layer": "BG", - "locked": false, "name": "mountains", "persistentUuid": "64263958-4980-4370-b76f-52dccc6f0934", "width": 1725, @@ -1592,7 +1501,6 @@ "customSize": true, "height": 32, "layer": "", - "locked": false, "name": "NewObject", "persistentUuid": "5e224872-b8eb-4899-a4f2-ae5b1ec465a1", "width": 167, @@ -1608,7 +1516,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "sign", "persistentUuid": "8e4fa9e8-44df-4308-bfc4-e14f295e91d8", "width": 0, @@ -1624,7 +1531,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "questionChoicesText", "persistentUuid": "3a4b4ed1-c534-4247-ad47-a709e1325970", "width": 0, @@ -1640,7 +1546,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Ant", "persistentUuid": "f04c4b41-4f2c-40d6-8ce4-29dbf7044dd5", "width": 0, @@ -1656,7 +1561,6 @@ "customSize": true, "height": 126, "layer": "GUI", - "locked": false, "name": "textBg", "persistentUuid": "4aeaa6a0-fa9d-4dee-8854-86f3947cce18", "width": 772, @@ -1672,7 +1576,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "avatars", "persistentUuid": "7795ae3e-f6ee-42ac-818f-5ec40bbf2916", "width": 0, @@ -1688,7 +1591,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "4ba7b054-ebeb-4815-8010-475312eaf21b", "width": 0, @@ -1704,7 +1606,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "f8576041-0b71-48d8-bbbe-78890931f3db", "width": 0, @@ -1720,7 +1621,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "3ab9f6ed-bdf0-44a6-a853-3c886942f81b", "width": 0, @@ -1736,7 +1636,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "316027b5-fadc-4a1c-8efb-8d817dbfc661", "width": 0, @@ -1752,7 +1651,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "4e437fa6-bf48-4f8a-a789-da560753c993", "width": 0, @@ -1768,7 +1666,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "e8c6bc22-7d4c-451f-8f30-ee00c767b317", "width": 0, @@ -1784,7 +1681,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "007b28f1-a1e1-4c80-94ed-774cefe1db19", "width": 0, @@ -1800,7 +1696,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "99f0c5c6-5f7b-4055-ac27-1ec976e85d83", "width": 0, @@ -1816,7 +1711,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "crumb", "persistentUuid": "99ab9601-a7f4-4fc5-b5c3-b711b14d392d", "width": 0, @@ -1832,7 +1726,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "b9b7895f-ff84-46eb-bb7b-e66a50ce2983", "width": 0, @@ -1853,7 +1746,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "547b3008-a927-484e-8331-a41e25884826", "width": 0, @@ -1869,7 +1761,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "6f711f5f-17dd-4f35-99a7-792e782c208f", "width": 0, @@ -1885,7 +1776,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "ace42231-cbe6-444f-997e-468f11f30916", "width": 0, @@ -1901,7 +1791,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "6caa04fc-44b1-4c44-80a3-0894e2ba99ed", "width": 0, @@ -1917,7 +1806,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "5f1a8b5e-3290-486b-8fd9-5dd253506c41", "width": 0, @@ -1933,7 +1821,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "c0b8c284-2358-442c-80f3-84e910a73035", "width": 0, @@ -1949,7 +1836,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "e10d8e71-8bb7-4606-9f10-c6146b47c751", "width": 0, @@ -1965,7 +1851,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "7a4de01c-7f61-4723-ad45-13642f3bca70", "width": 0, @@ -1981,7 +1866,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "c03fd9e1-1b39-4a57-8f0d-ecbd991b7fda", "width": 0, @@ -1997,7 +1881,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "89b2d0e0-8694-411c-95e9-a8ba64a408ce", "width": 0, @@ -2013,7 +1896,6 @@ "customSize": true, "height": 79, "layer": "GUI", - "locked": false, "name": "DialogueTreeBBtextObject", "persistentUuid": "460fed3b-98a6-4f6a-bb1b-b0fd378b82ff", "width": 543, @@ -2029,7 +1911,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "commandsDebug", "persistentUuid": "02a59e6a-e6e6-4a90-943d-97ac2f415d33", "width": 0, @@ -2045,7 +1926,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "fullTextDebug", "persistentUuid": "49fd86b7-489a-42bc-acdc-5096aca0b5bf", "width": 0, @@ -2061,7 +1941,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "enemy2", "persistentUuid": "da5f6c19-98c4-45c5-910b-546e639f015b", "width": 0, @@ -2075,8 +1954,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2938,8 +2818,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Platform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3005,8 +2886,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Jumpthru", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3072,9 +2954,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledGrassPlatform", - "tags": "", "texture": "other\\tileset_21.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -3091,8 +2973,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "MovingPlatform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3158,8 +3041,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoLeft", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3217,8 +3101,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoRight", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3276,8 +3161,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerHitBox", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3352,8 +3238,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "enemy2", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [ @@ -3568,8 +3455,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Ant", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [ @@ -4038,8 +3926,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Fly", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4378,8 +4267,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BackgroundObjects", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4620,11 +4510,11 @@ ] }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Score", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -4632,16 +4522,40 @@ "behaviors": [], "string": "x 0", "font": "Bimbo_JVE.ttf", + "textAlignment": "", "characterSize": 40, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "x 0", + "font": "Bimbo_JVE.ttf", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 40, + "lineHeight": 0, + "color": "0;0;0" } }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Coin", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4771,8 +4685,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "CoinIcon", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4902,8 +4817,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "LeftButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -4961,8 +4877,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "RightButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -5020,8 +4937,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "JumpButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -5089,8 +5007,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "ArrowButtonsBg", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -5148,9 +5067,9 @@ ] }, { + "assetStoreId": "", "height": 32, "name": "mountains", - "tags": "", "texture": "other\\bg-mountains.png", "type": "TiledSpriteObject::TiledSprite", "width": 32, @@ -5159,9 +5078,9 @@ "behaviors": [] }, { + "assetStoreId": "", "height": 32, "name": "trees", - "tags": "", "texture": "other\\bg-trees.png", "type": "TiledSpriteObject::TiledSprite", "width": 32, @@ -5170,9 +5089,9 @@ "behaviors": [] }, { + "assetStoreId": "", "height": 32, "name": "clouds", - "tags": "", "texture": "other/otherbg-clouds-1-1.png", "type": "TiledSpriteObject::TiledSprite", "width": 32, @@ -5181,9 +5100,9 @@ "behaviors": [] }, { + "assetStoreId": "", "height": 32, "name": "NewObject", - "tags": "", "texture": "other\\tileset_06.png", "type": "TiledSpriteObject::TiledSprite", "width": 32, @@ -5200,8 +5119,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "sign", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [ @@ -5252,11 +5172,11 @@ ] }, { + "assetStoreId": "", "bold": false, "italic": true, "name": "questionChoicesText", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5264,20 +5184,43 @@ "behaviors": [], "string": "Text", "font": "", + "textAlignment": "", "characterSize": 20, "color": { "b": 119, "g": 14, "r": 69 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": true, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Text", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "69;14;119" } }, { + "assetStoreId": "", "bottomMargin": 2, "height": 24, "leftMargin": 2, "name": "textBg", "rightMargin": 2, - "tags": "", "texture": "textBG-1.png", "tiled": false, "topMargin": 2, @@ -5288,8 +5231,9 @@ "behaviors": [] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "avatars", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -5477,8 +5421,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "crumb", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [ @@ -5523,8 +5468,8 @@ ] }, { + "assetStoreId": "", "name": "DialogueTreeBBtextObject", - "tags": "", "type": "BBText::BBText", "variables": [], "effects": [], @@ -5541,11 +5486,11 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "commandsDebug", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -5553,16 +5498,39 @@ "behaviors": [], "string": "", "font": "", + "textAlignment": "", "characterSize": 20, "color": { "b": 219, "g": 0, "r": 160 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "160;0;219" } }, { + "assetStoreId": "", "name": "fullTextDebug", - "tags": "", "type": "BBText::BBText", "variables": [], "effects": [], @@ -5579,15 +5547,111 @@ } } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Player" + }, + { + "objectName": "Platform" + }, + { + "objectName": "Jumpthru" + }, + { + "objectName": "TiledGrassPlatform" + }, + { + "objectName": "MovingPlatform" + }, + { + "objectName": "GoLeft" + }, + { + "objectName": "GoRight" + }, + { + "objectName": "PlayerHitBox" + }, + { + "objectName": "enemy2" + }, + { + "objectName": "Ant" + }, + { + "objectName": "Fly" + }, + { + "objectName": "BackgroundObjects" + }, + { + "objectName": "Score" + }, + { + "objectName": "Coin" + }, + { + "objectName": "CoinIcon" + }, + { + "objectName": "LeftButton" + }, + { + "objectName": "RightButton" + }, + { + "objectName": "JumpButton" + }, + { + "objectName": "ArrowButtonsBg" + }, + { + "objectName": "mountains" + }, + { + "objectName": "trees" + }, + { + "objectName": "clouds" + }, + { + "objectName": "NewObject" + }, + { + "objectName": "sign" + }, + { + "objectName": "questionChoicesText" + }, + { + "objectName": "textBg" + }, + { + "objectName": "avatars" + }, + { + "objectName": "crumb" + }, + { + "objectName": "DialogueTreeBBtextObject" + }, + { + "objectName": "commandsDebug" + }, + { + "objectName": "fullTextDebug" + } + ] + }, "events": [ { - "disabled": false, "folded": true, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjetTxt" }, "parameters": [ @@ -5595,15 +5659,12 @@ "state", "=", "\"walking\"" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -5617,42 +5678,34 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, "folded": true, "name": "Other gameplay mechanics", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "PlayerHitBox" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ZoomCamera" }, "parameters": [ @@ -5660,41 +5713,32 @@ "1.5", "\"\"", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "avatars" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "textBg" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -5703,15 +5747,11 @@ "PlayerHitBox.X()-12", "=", "PlayerHitBox.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5721,67 +5761,54 @@ "textG": 0, "textR": 0 }, - "comment": "Paralaxing BG", - "comment2": "" + "comment": "Paralaxing BG" }, { - "disabled": false, "folded": true, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TiledSpriteObject::XOffset" }, "parameters": [ "clouds", "+", "0.05" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsMoving" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TiledSpriteObject::XOffset" }, "parameters": [ "paralaxingBg", "=", "paralaxingBg.Y() * PlayerHitBox.X() /600" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5795,7 +5822,6 @@ "comment2": "On change l'animation en fonction de ce que fait le joueur." }, { - "disabled": false, "folded": true, "type": "BuiltinCommonInstructions::Standard", "conditions": [ @@ -5804,58 +5830,48 @@ "inverted": true, "value": "DialogueTree::IsDialogueRunning" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "RShift" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Player", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Player", "=", "2" - ], - "subInstructions": [] + ] } ] } @@ -5863,7 +5879,6 @@ "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5872,100 +5887,78 @@ "", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsJumping" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -5976,15 +5969,12 @@ "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -5995,165 +5985,131 @@ "parameters": [ "", "Down" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Down" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "4" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsMoving" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "2" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Player", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Right" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Player", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6167,14 +6123,11 @@ "comment2": "On s'assure que la caméra suit le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "CameraX" }, "parameters": [ @@ -6183,12 +6136,10 @@ "Player.X()", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "CameraY" }, "parameters": [ @@ -6197,15 +6148,11 @@ "lerp(CameraY(\"\",0), Player.Y()-10, 0.02)", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6219,77 +6166,61 @@ "comment2": "Gestion de la plateforme bougeante:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoLeft" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoRight" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -6297,44 +6228,35 @@ "-150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -6342,15 +6264,11 @@ "150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6364,8 +6282,6 @@ "comment2": "Objets:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -6373,8 +6289,6 @@ "target": "ObjectsManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6388,8 +6302,6 @@ "comment2": "Elements de l'interface:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -6397,8 +6309,6 @@ "target": "GUIManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6408,12 +6318,9 @@ "textG": 0, "textR": 0 }, - "comment": "Virtual controls", - "comment2": "" + "comment": "Virtual controls" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -6421,63 +6328,49 @@ "inverted": true, "value": "SystemInfo::IsMobile" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "VirtualControls" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TouchSimulateMouse" }, "parameters": [ "", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -6485,33 +6378,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -6519,33 +6405,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -6553,24 +6432,20 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -6580,15 +6455,11 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "NPC example mechanics", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6598,8 +6469,7 @@ "textG": 0, "textR": 0 }, - "comment": "Enable this to stresstest the DialogueTree extension for regressions", - "comment2": "" + "comment": "Enable this to stresstest the DialogueTree extension for regressions" }, { "disabled": true, @@ -6608,54 +6478,43 @@ "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::SetBooleanVariable" }, "parameters": [ "\"debug\"", "True" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::SetBooleanVariable" }, "parameters": [ "\"debugLinks\"", "True" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6665,113 +6524,88 @@ "textG": 0, "textR": 0 }, - "comment": "Innitiate your dialogue data by loading it from a yarn json file", - "comment2": "" + "comment": "Innitiate your dialogue data by loading it from a yarn json file" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::LoadDialogueFromJsonFile" }, "parameters": [ "", "dialogueData/npcs.json" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "textHud" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ResetTimer" }, "parameters": [ "", "\"endedChat\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "commandsDebug" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::WasBranchVisited" }, "parameters": [ "\"ant\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "crumb", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -6781,35 +6615,27 @@ }, "parameters": [ "\"ant\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "crumb" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -6819,17 +6645,13 @@ "textG": 0, "textR": 0 }, - "comment": "Trigger sign text on collision", - "comment2": "" + "comment": "Trigger sign text on collision" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjetTxt" }, "parameters": [ @@ -6837,12 +6659,10 @@ "state", "=", "\"sign\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -6851,51 +6671,41 @@ "", "", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::StartDialogueFromBranch" }, "parameters": [ "NPC.VariableString(dialogueBranch)" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjetTxt" }, "parameters": [ @@ -6903,101 +6713,79 @@ "state", "=", "\"talking\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::CompareDialogueStateBooleanVariable" }, "parameters": [ "\"debug\"", "True" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "commandsDebug", "=", "\"Yarn is in debug mode\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "fullTextDebug", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "commandsDebug", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::CompleteClippedTextScrolling" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7007,17 +6795,14 @@ "textG": 0, "textR": 0 }, - "comment": "Start dialogue with an npc, the npc moves only when not chatting with the player", - "comment2": "" + "comment": "Start dialogue with an npc, the npc moves only when not chatting with the player" }, { - "disabled": false, "folded": true, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjetTxt" }, "parameters": [ @@ -7025,35 +6810,29 @@ "state", "=", "\"walking\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Timer" }, "parameters": [ "", "1", "\"endedChat\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "KeyReleased" }, "parameters": [ "", "z" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -7062,43 +6841,35 @@ "", "", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::StartDialogueFromBranch" }, "parameters": [ "NPC.VariableString(dialogueBranch)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjetTxt" }, "parameters": [ @@ -7106,133 +6877,106 @@ "state", "=", "\"talking\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "NPC", "=", "2" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosX" }, "parameters": [ "Player", "<", "NPC.X()" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "NPC", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsDialogueRunning" }, - "parameters": [], - "subInstructions": [] + "parameters": [] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "PlayerHitBox", "PlatformerObject", "no" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "textHud", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -7240,67 +6984,55 @@ "inverted": true, "value": "DialogueTree::IsDialogueRunning" }, - "parameters": [], - "subInstructions": [] + "parameters": [] }, { "type": { - "inverted": false, "value": "Timer" }, "parameters": [ "", "1", "\"textScroll\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "PlayerHitBox", "PlatformerObject", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "textHud" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ResetTimer" }, "parameters": [ "", "\"endedChat\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjetTxt" }, "parameters": [ @@ -7308,27 +7040,21 @@ "state", "=", "\"walking\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarGlobal" }, "parameters": [ "textScrollSpdMultiplier", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7338,154 +7064,120 @@ "textG": 0, "textR": 0 }, - "comment": "The TEXT type is what is rendered to the player to read. How that is presented depends on what expressions you use. Below is an exampleof the most common presentation with scrolling text", - "comment2": "" + "comment": "The TEXT type is what is rendered to the player to read. How that is presented depends on what expressions you use. Below is an exampleof the most common presentation with scrolling text" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsDialogueLineType" }, "parameters": [ "\"text\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "BBText::SetBBText" }, "parameters": [ "DialogueTreeBBtextObject", "=", "DialogueTree::ClippedLineText()" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Timer" }, "parameters": [ "", "GlobalVariable(textScrollSpd) / GlobalVariable(textScrollSpdMultiplier) ", "\"textScroll\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::ScrollClippedText" }, - "parameters": [], - "subInstructions": [] + "parameters": [] }, { "type": { - "inverted": false, "value": "ResetTimer" }, "parameters": [ "", "\"textScroll\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyReleased" }, "parameters": [ "", "z" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "DialogueTree::HasClippedTextScrollingCompleted" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::GoToNextLine" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "z" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobal" }, "parameters": [ "textScrollSpd", "=", "0.02" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -7496,64 +7188,51 @@ "parameters": [ "", "z" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobal" }, "parameters": [ "textScrollSpd", "=", "0.05" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::CompareDialogueStateBooleanVariable" }, "parameters": [ "\"debug\"", "True" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "BBText::SetBBText" }, "parameters": [ "fullTextDebug", "=", "\"+\"+DialogueTree::LineText()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7563,12 +7242,9 @@ "textG": 0, "textR": 0 }, - "comment": "The [[OPTIONS]] type is whenever in your yarn syntax you are asking the player to make a choice. Below is a common example of showing the choices and triggering one", - "comment2": "" + "comment": "The [[OPTIONS]] type is whenever in your yarn syntax you are asking the player to make a choice. Below is a common example of showing the choices and triggering one" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -7578,176 +7254,136 @@ }, "parameters": [ "\"options\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "questionChoicesText" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsDialogueLineType" }, "parameters": [ "\"options\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "questionChoicesText", "" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyReleased" }, "parameters": [ "", "Down" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::SelectNextOption" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyReleased" }, "parameters": [ "", "Up" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::SelectPreviousOption" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyReleased" }, "parameters": [ "", "z" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::ConfirmSelectOption" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::HasSelectedOptionChanged" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "questionChoicesText", "=", "DialogueTree::VerticalOptionsList(\">\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7757,75 +7393,58 @@ "textG": 0, "textR": 0 }, - "comment": "The <> type can be used to trigger game events - such as changing an avatar picture to happen,parameter -1 is the name of the command where it came from, from there on it starts from 0", - "comment2": "" + "comment": "The <> type can be used to trigger game events - such as changing an avatar picture to happen,parameter -1 is the name of the command where it came from, from there on it starts from 0" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsCommandCalled" }, "parameters": [ "\"avatar\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAnimationName" }, "parameters": [ "avatars", "DialogueTree::CommandParameter(0)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsCommandCalled" }, "parameters": [ "\"speed\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobal" }, "parameters": [ "textScrollSpdMultiplier", "=", "ToNumber(DialogueTree::CommandParameter(0))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -7835,146 +7454,113 @@ "textG": 0, "textR": 0 }, - "comment": "Example of loading/saving yarn's dialogue state from/to a gdevelop variable (use for load/save in your games)", - "comment2": "" + "comment": "Example of loading/saving yarn's dialogue state from/to a gdevelop variable (use for load/save in your games)" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsCommandCalled" }, "parameters": [ "\"loadGame\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::LoadState" }, "parameters": [ "yarnState" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsCommandCalled" }, "parameters": [ "\"saveGame\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::SaveState" }, "parameters": [ "yarnState" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsCommandCalled" }, "parameters": [ "\"clearGame\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "DialogueTree::ClearState" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DialogueTree::IsDialogueLineType" }, "parameters": [ "\"command\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Visible" }, "parameters": [ "commandsDebug" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "commandsDebug", "+", "\"<<\"+DialogueTree::CommandParameter(-1)+\">>\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -7985,9 +7571,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "BG", + "renderingType": "", "visibility": true, "cameras": [], "effects": [] @@ -7996,9 +7589,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -8018,9 +7618,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "GUI", + "renderingType": "", "visibility": true, "cameras": [ { @@ -8056,44 +7663,34 @@ "externalEvents": [ { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383154432, "name": "EnemiesManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Fly", "PlatformerObject", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -8103,31 +7700,25 @@ "textG": 0, "textR": 0 }, - "comment": "Enemy movement:", - "comment2": "" + "comment": "Enemy movement:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8135,34 +7726,27 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8170,40 +7754,31 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8211,14 +7786,12 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -8226,42 +7799,33 @@ "-300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8269,14 +7833,12 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -8284,37 +7846,29 @@ "300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -8328,70 +7882,57 @@ "comment2": "Gestion des collisions avec le joueur:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::Gravity" }, "parameters": [ @@ -8399,34 +7940,28 @@ "PlatformerObject", "=", "1500" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -8435,63 +7970,50 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::ForEach", "object": "Enemy", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "50" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosY" }, "parameters": [ "PlayerHitBox", ">=", "Enemy.Y()-PlayerHitBox.Height()+Enemy.Height()/2" - ], - "subInstructions": [] + ] } ], - "actions": [], - "events": [] + "actions": [] } ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -8505,32 +8027,26 @@ "comment2": "Disparition des ennemis:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { @@ -8540,55 +8056,45 @@ "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "false" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "AnimationEnded" }, "parameters": [ "Enemy" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Enemy", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -8596,55 +8102,45 @@ }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383152000, "name": "ObjectsManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Coin", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "254" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -8653,58 +8149,47 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "<", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "-", "255*TimeDelta()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -8712,77 +8197,61 @@ "0", "-30", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Coin", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383152000, "name": "GUIManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Score", "=", "\"x \"+ToString(Variable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } ], "eventsFunctionsExtensions": [], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +} diff --git a/examples/health-bar/health-bar.json b/examples/health-bar/health-bar.json index 379e2545d..8218c53c5 100755 --- a/examples/health-bar/health-bar.json +++ b/examples/health-bar/health-bar.json @@ -1,13 +1,15 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { "adaptGameResolutionAtRuntime": false, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, "folderProject": false, "orientation": "landscape", "packageName": "com.example.healthbar", @@ -15,10 +17,12 @@ "projectUuid": "8a5147d5-0a39-477a-84b1-b3dd326df2cf", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", + "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "useDeprecatedZeroAsDefaultZOrder": true, - "useExternalSourceFiles": false, "version": "1.0.0", "name": "Health Bar", + "description": "", "author": "", "windowWidth": 800, "windowHeight": 600, @@ -43,10 +47,17 @@ "showGDevelopSplash": true, "showProgressBar": true }, + "watermark": { + "placement": "bottom-left", + "showWatermark": true + }, "authorIds": [ "GfzRsieyUFVnsRR8OZThsPR29oq2", "t0AOR3JaOlak1TykejmNhjR5UQb2" ], + "authorUsernames": [], + "categories": [], + "playableDevices": [], "extensionProperties": [], "platforms": [ { @@ -58,7 +69,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "p1_stand.png", "kind": "image", "metadata": "", @@ -67,7 +77,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_jump.png", "kind": "image", "metadata": "", @@ -76,7 +85,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk01.png", "kind": "image", "metadata": "", @@ -85,7 +93,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk02.png", "kind": "image", "metadata": "", @@ -94,7 +101,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk03.png", "kind": "image", "metadata": "", @@ -103,7 +109,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk04.png", "kind": "image", "metadata": "", @@ -112,7 +117,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk05.png", "kind": "image", "metadata": "", @@ -121,7 +125,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk06.png", "kind": "image", "metadata": "", @@ -130,7 +133,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk07.png", "kind": "image", "metadata": "", @@ -139,7 +141,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk08.png", "kind": "image", "metadata": "", @@ -148,7 +149,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk09.png", "kind": "image", "metadata": "", @@ -157,7 +157,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk10.png", "kind": "image", "metadata": "", @@ -166,7 +165,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk11.png", "kind": "image", "metadata": "", @@ -175,7 +173,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "brickWall.png", "kind": "image", "metadata": "", @@ -184,7 +181,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bridge.png", "kind": "image", "metadata": "", @@ -193,7 +189,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "grassHalfMid.png", "kind": "image", "metadata": "", @@ -202,7 +197,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "castleCenter.png", "kind": "image", "metadata": "", @@ -211,7 +205,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "bridgeLogs.png", "kind": "image", "metadata": "", @@ -220,7 +213,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Left.png", "kind": "image", "metadata": "", @@ -229,7 +221,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "Right.png", "kind": "image", "metadata": "", @@ -238,7 +229,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "ladder_mid.png", "kind": "image", "metadata": "", @@ -247,7 +237,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Grass.png", "kind": "image", "metadata": "", @@ -256,7 +245,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "PlayerArea.png", "kind": "image", "metadata": "", @@ -265,7 +253,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk1.png", "kind": "image", "metadata": "", @@ -274,7 +261,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk2.png", "kind": "image", "metadata": "", @@ -283,7 +269,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeDead.png", "kind": "image", "metadata": "", @@ -292,7 +277,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly1.png", "kind": "image", "metadata": "", @@ -301,7 +285,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly2.png", "kind": "image", "metadata": "", @@ -310,7 +293,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyDead.png", "kind": "image", "metadata": "", @@ -319,7 +301,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud1.png", "kind": "image", "metadata": "", @@ -328,7 +309,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud2.png", "kind": "image", "metadata": "", @@ -337,7 +317,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud3.png", "kind": "image", "metadata": "", @@ -346,7 +325,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bush.png", "kind": "image", "metadata": "", @@ -355,7 +333,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cactus.png", "kind": "image", "metadata": "", @@ -364,7 +341,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "plant.png", "kind": "image", "metadata": "", @@ -373,7 +349,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "coinGold.png", "kind": "image", "metadata": "", @@ -382,7 +357,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "shadedDark06.png", "kind": "image", "metadata": "", @@ -391,7 +365,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark05.png", "kind": "image", "metadata": "", @@ -400,7 +373,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark45.png", "kind": "image", "metadata": "", @@ -409,7 +381,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark09.png", "kind": "image", "metadata": "", @@ -418,7 +389,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "health_bar_frame.png", "kind": "image", "metadata": "", @@ -427,18 +397,26 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "health_bar.png", "kind": "image", "metadata": "", "name": "health_bar.png", "smoothed": true, "userAdded": true + }, + { + "file": "Bimbo_JVE.ttf", + "kind": "font", + "metadata": "", + "name": "Bimbo_JVE.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, "objectsGroups": [], "variables": [], "layouts": [ @@ -447,9 +425,6 @@ "disableInputWhenNotFocused": true, "mangledName": "Game", "name": "Game", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 208, "standardSortMethod": false, "stopSoundsOnStartup": true, @@ -460,13 +435,17 @@ "gridType": "rectangular", "gridWidth": 70, "gridHeight": 70, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, + "gridOffsetZ": 0, "gridColor": 10401023, "gridAlpha": 0.8, "snap": true, "zoomFactor": 0.5306, - "windowMask": true + "windowMask": true, + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [ { @@ -511,7 +490,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Player", "persistentUuid": "d25fc520-1d7e-4293-98cb-d47ae8cc00ac", "width": 0, @@ -527,7 +505,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "1de389ed-b516-4d4e-b3b0-2b36bc0d5d5a", "width": 0, @@ -548,7 +525,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "2aeb0075-8005-487d-982e-b96216c4203d", "width": 0, @@ -564,7 +540,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "bbae31c2-46a7-4a0f-bad3-76d2c67a1410", "width": 0, @@ -580,7 +555,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "3caad09c-f323-4d74-81f1-784f8d79379b", "width": 0, @@ -596,7 +570,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "c3bb704d-0d50-4eb7-93db-2bfb5c218988", "width": 0, @@ -612,7 +585,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "822993df-799c-40c1-9c1d-c9b38896e822", "width": 0, @@ -628,7 +600,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "TiledGrassPlatform", "persistentUuid": "2b1e836f-c40c-4701-8a0d-343c920a5db0", "width": 4222.89, @@ -644,7 +615,6 @@ "customSize": true, "height": 487.462, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "a1b6073d-dc2b-4bad-bc5c-6e70db6e1050", "width": 502.923, @@ -660,7 +630,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "MovingPlatform", "persistentUuid": "e98f352c-298a-4139-920c-563838885883", "width": 0, @@ -676,7 +645,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "891bfac6-92ed-4c51-80d6-d588be794432", "width": 0, @@ -697,7 +665,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "d62941d4-b5d1-4f0e-82b4-65fc9491f78c", "width": 0, @@ -718,7 +685,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "f8ad390c-33f1-4c91-8640-5059618815ce", "width": 0, @@ -734,7 +700,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "d57048a0-3af7-4df2-9d82-f12392eed66f", "width": 0, @@ -750,7 +715,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "7b3d7c57-d2e7-442d-a9ca-a8c4b0172f0f", "width": 0, @@ -766,7 +730,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "55cc0b8e-ea99-470d-bc73-c867db7f98da", "width": 0, @@ -782,7 +745,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "4e517d58-3cf7-46f9-a401-8ebbcfb3fe9d", "width": 0, @@ -798,7 +760,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "efd4d64b-c343-4439-a8b9-e7029c2836fc", "width": 0, @@ -814,7 +775,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "84353d30-86c3-469a-90a6-0b0ec01fd787", "width": 0, @@ -835,7 +795,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "47f7c8d3-6ddc-4c73-8ff0-f3c84237b482", "width": 0, @@ -851,7 +810,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "80e3c903-1062-44b0-9289-bacb6360b0df", "width": 0, @@ -867,7 +825,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "6831cb82-d2bb-43a9-bcc7-de0611fbad54", "width": 0, @@ -883,7 +840,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "4dcc641d-c949-4a6f-b133-4a02ee49a93b", "width": 0, @@ -904,7 +860,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "f54d6f0f-95b8-4cdf-9008-3f049b90b69c", "width": 0, @@ -925,7 +880,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "4db4d7ff-5b95-4245-bace-9d87983836f7", "width": 0, @@ -941,7 +895,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "b4167f6f-ddab-4248-ae39-12eba86fba8b", "width": 0, @@ -962,7 +915,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "PlayerHitBox", "persistentUuid": "20bf4cf1-22da-49d6-b229-9e6c1bfd9050", "width": 0, @@ -978,7 +930,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "16adbe44-0436-4b98-9aa9-2b84c80dbbe8", "width": 0, @@ -999,7 +950,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "9ae1d232-6786-48dd-8892-22eaf6cdde49", "width": 0, @@ -1015,7 +965,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "d53a2ab4-1f41-406e-a7d0-a72e6cf3fe64", "width": 0, @@ -1031,7 +980,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "5784a64c-aacb-4cbb-8668-9d341ae60a73", "width": 0, @@ -1047,7 +995,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "ae2b4884-410b-4840-9e43-8ab98340b89c", "width": 0, @@ -1063,7 +1010,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "220c8c5a-1f5e-43e1-afab-09d93fad5344", "width": 0, @@ -1084,7 +1030,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "f04e4497-bf59-478e-b2f2-0fe5b7111b07", "width": 0, @@ -1100,7 +1045,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "0ed1365f-4e0c-479e-83c4-1a584f97a522", "width": 0, @@ -1121,7 +1065,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "7fbe3900-a95f-4e41-b61e-9d4d65bba6b9", "width": 0, @@ -1142,7 +1085,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "08857a16-011e-4b19-b133-6e3761e0d1bc", "width": 0, @@ -1158,7 +1100,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "149b23f9-55e0-4381-9f66-306186bb1bad", "width": 0, @@ -1179,7 +1120,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "2387b65a-9c89-42b1-809f-73de665567c4", "width": 0, @@ -1200,7 +1140,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "3797ef47-bafb-4476-8f5e-0ac87b398958", "width": 0, @@ -1216,7 +1155,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "13b475d0-aeae-4757-bfd0-b8a3ea09dfd3", "width": 0, @@ -1237,7 +1175,6 @@ "customSize": true, "height": 61, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "8a1debf7-e358-4603-99e5-d09b689bf420", "width": 66, @@ -1258,7 +1195,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "a79c56e9-dd94-4254-a401-61cf6629adf0", "width": 0, @@ -1274,7 +1210,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "e8b1dfa1-8fbf-48f1-a4be-e207d441e90a", "width": 94, @@ -1290,7 +1225,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "85ce105a-0b2a-4980-bce8-e41e94c80958", "width": 0, @@ -1306,7 +1240,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "ecc80c3d-56c9-4b3a-9d6a-f93021c7fcae", "width": 0, @@ -1322,7 +1255,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "2c62a1e6-8da0-4fd8-848e-a3ef69c9a7c1", "width": 0, @@ -1343,7 +1275,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "aa432fd1-c3a6-4f35-8c3e-045fdc6552c0", "width": 58, @@ -1364,7 +1295,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "1c1b8705-bdaf-4057-9538-db05013aabde", "width": 58, @@ -1385,7 +1315,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "459d6ac1-c77e-46ab-a3c3-3b7f11fbc368", "width": 58, @@ -1406,7 +1335,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "5af18e96-560f-4bad-9a32-52d51005561f", "width": 0, @@ -1427,7 +1355,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "Score", "persistentUuid": "6726c763-80da-4424-845e-78cd7794a4b8", "width": 0, @@ -1443,7 +1370,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "CoinIcon", "persistentUuid": "e3ec7965-cfa3-4855-ac44-fdb83e7f9100", "width": 0, @@ -1459,7 +1385,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "e0e793e4-3e44-47b1-8f24-7297bf06af16", "width": 0, @@ -1475,7 +1400,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "32fea96a-d9f1-4e28-b58a-a541dec07d3b", "width": 0, @@ -1491,7 +1415,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "e78f7def-f1c0-47ef-be52-62138873eb92", "width": 0, @@ -1507,7 +1430,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "0a8f0049-aa27-4034-b7e6-6512ebc7cf49", "width": 0, @@ -1523,7 +1445,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "9bf06e1d-774f-4ed7-b8d8-8ea3d298ff27", "width": 0, @@ -1539,7 +1460,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "e2107b24-1787-4e3d-ab59-cf029132f3c9", "width": 0, @@ -1555,7 +1475,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "af7caf32-ce02-4b42-b5d0-477a222b60d4", "width": 0, @@ -1571,7 +1490,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "8e5ab120-c1eb-4c87-9447-55bfec15028b", "width": 0, @@ -1587,7 +1505,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "b3508cf1-4cd8-48d9-887d-bda473f07d21", "width": 0, @@ -1603,7 +1520,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "81749c1e-6c74-4a65-8b58-b4845f6aa4fe", "width": 0, @@ -1619,7 +1535,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "ea0b56ff-0301-4d1f-8e9a-cff54801bbbf", "width": 0, @@ -1635,7 +1550,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "cd8737c5-8b94-4085-b68e-40ae04f0eab0", "width": 0, @@ -1651,7 +1565,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "f42cc4d8-ef76-4ce4-9d87-6025e5d82c7a", "width": 0, @@ -1667,7 +1580,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "72e291d4-2bd0-4136-adef-a6c99f321321", "width": 0, @@ -1683,7 +1595,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "9756eb9d-7645-4ceb-b04b-0b215480741b", "width": 0, @@ -1699,7 +1610,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "629cecba-b2ac-40c4-8d75-2a0ab4237b54", "width": 0, @@ -1715,7 +1625,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "1d865647-6f62-44a3-bb28-aa65ea22b9ed", "width": 0, @@ -1731,7 +1640,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "1d466833-0199-44d8-ac22-b58e10458e35", "width": 0, @@ -1747,7 +1655,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "cbb7c378-04f0-488c-98a0-4ced9651b590", "width": 0, @@ -1763,7 +1670,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "bbdce07a-0a06-4296-9ca0-648532d11201", "width": 0, @@ -1779,7 +1685,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "11d7b241-54c6-4bc9-9c2c-058d1ac53270", "width": 0, @@ -1795,7 +1700,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "71b31ce5-9c3c-4f34-8db4-e0bc1259d403", "width": 0, @@ -1811,7 +1715,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "936e9a53-adf0-4e53-9886-5c7f72d7f704", "width": 0, @@ -1827,7 +1730,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "685c00e6-f5f8-4347-84ae-6304aae7832d", "width": 0, @@ -1843,7 +1745,6 @@ "customSize": true, "height": 78.2958, "layer": "GUI", - "locked": false, "name": "LeftButton", "persistentUuid": "6848f383-fe90-418e-97ac-2b3c70e8aa5f", "width": 97.5489, @@ -1859,7 +1760,6 @@ "customSize": true, "height": 76.5471, "layer": "GUI", - "locked": false, "name": "RightButton", "persistentUuid": "baa9eec5-6b9a-4dad-a394-e11e3a2722a8", "width": 94.1152, @@ -1875,7 +1775,6 @@ "customSize": true, "height": 202.235, "layer": "GUI", - "locked": false, "name": "ArrowButtonsBg", "persistentUuid": "7f0bd158-b573-4129-a22e-0989b2cb5bd7", "width": 202.235, @@ -1891,7 +1790,6 @@ "customSize": true, "height": 107.992, "layer": "GUI", - "locked": false, "name": "JumpButton", "persistentUuid": "aa25ee43-11db-4c2c-b326-ca98576901c0", "width": 107.992, @@ -1907,7 +1805,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "HealthBarFrame", "persistentUuid": "0f20c185-6da8-45db-82ee-c6e8ba0590e1", "width": 0, @@ -1923,7 +1820,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "HealthBar", "persistentUuid": "e13de441-f889-441f-8e9e-eff09b9985ff", "width": 0, @@ -1937,8 +1833,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2236,8 +2133,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Platform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2351,8 +2249,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Jumpthru", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2418,9 +2317,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledGrassPlatform", - "tags": "", "texture": "grassHalfMid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2437,9 +2336,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledCastlePlatform", - "tags": "", "texture": "castleCenter.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2456,8 +2355,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "MovingPlatform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2523,8 +2423,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoLeft", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2582,8 +2483,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoRight", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2641,9 +2543,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "Ladder", - "tags": "", "texture": "ladder_mid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2660,8 +2562,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerHitBox", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2735,8 +2638,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "SlimeWalk", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [ @@ -2900,8 +2804,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Fly", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3059,8 +2964,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Cloud", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3214,8 +3120,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BackgroundObjects", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3369,11 +3276,11 @@ ] }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Score", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -3381,16 +3288,40 @@ "behaviors": [], "string": "x 0", "font": "Bimbo_JVE.ttf", + "textAlignment": "", "characterSize": 40, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "x 0", + "font": "Bimbo_JVE.ttf", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 40, + "lineHeight": 0, + "color": "0;0;0" } }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Coin", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3448,8 +3379,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "CoinIcon", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3507,8 +3439,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "LeftButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3566,8 +3499,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "RightButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3625,8 +3559,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "JumpButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3694,8 +3629,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "ArrowButtonsBg", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3753,8 +3689,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "HealthBarFrame", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -3793,8 +3730,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "HealthBar", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -3833,10 +3771,82 @@ ] } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Player" + }, + { + "objectName": "Platform" + }, + { + "objectName": "Jumpthru" + }, + { + "objectName": "TiledGrassPlatform" + }, + { + "objectName": "TiledCastlePlatform" + }, + { + "objectName": "MovingPlatform" + }, + { + "objectName": "GoLeft" + }, + { + "objectName": "GoRight" + }, + { + "objectName": "Ladder" + }, + { + "objectName": "PlayerHitBox" + }, + { + "objectName": "SlimeWalk" + }, + { + "objectName": "Fly" + }, + { + "objectName": "Cloud" + }, + { + "objectName": "BackgroundObjects" + }, + { + "objectName": "Score" + }, + { + "objectName": "Coin" + }, + { + "objectName": "CoinIcon" + }, + { + "objectName": "LeftButton" + }, + { + "objectName": "RightButton" + }, + { + "objectName": "JumpButton" + }, + { + "objectName": "ArrowButtonsBg" + }, + { + "objectName": "HealthBarFrame" + }, + { + "objectName": "HealthBar" + } + ] + }, "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3846,59 +3856,47 @@ "textG": 0, "textR": 0 }, - "comment": "For more examples and templates visit gametemplates.itch.io", - "comment2": "" + "comment": "For more examples and templates visit gametemplates.itch.io" }, { "colorB": 228, "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, "folded": true, "name": "Original platformer template, nothing has changed here", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "PlayerHitBox" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -3907,15 +3905,11 @@ "PlayerHitBox.X()-12", "=", "PlayerHitBox.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3929,51 +3923,42 @@ "comment2": "On change l'animation en fonction de ce que fait le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "RShift" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Player", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Player", "=", "2" - ], - "subInstructions": [] + ] } ] } @@ -3981,7 +3966,6 @@ "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3990,100 +3974,78 @@ "", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsJumping" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -4094,128 +4056,101 @@ "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsMoving" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "2" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Player", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Right" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Player", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4229,14 +4164,11 @@ "comment2": "On s'assure que la caméra suit le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "CameraX" }, "parameters": [ @@ -4245,15 +4177,11 @@ "Player.X()", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4267,77 +4195,61 @@ "comment2": "Gestion de la plateforme bougeante:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoLeft" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoRight" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4345,44 +4257,35 @@ "-150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4390,15 +4293,11 @@ "150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4412,8 +4311,6 @@ "comment2": "Enemis :" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -4421,8 +4318,6 @@ "target": "EnemiesManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4436,8 +4331,6 @@ "comment2": "Objets:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -4445,8 +4338,6 @@ "target": "ObjectsManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4460,8 +4351,6 @@ "comment2": "Elements de l'interface:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -4469,8 +4358,6 @@ "target": "GUIManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4480,12 +4367,9 @@ "textG": 0, "textR": 0 }, - "comment": "Virtual controls", - "comment2": "" + "comment": "Virtual controls" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -4493,63 +4377,49 @@ "inverted": true, "value": "SystemInfo::IsMobile" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "VirtualControls" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TouchSimulateMouse" }, "parameters": [ "", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4557,33 +4427,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4591,33 +4454,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4625,24 +4481,20 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -4652,15 +4504,11 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Health bar", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4670,41 +4518,33 @@ "textG": 0, "textR": 0 }, - "comment": "At the beginning, set player health to 100 and position the health bar to be at the frame", - "comment2": "" + "comment": "At the beginning, set player health to 100 and position the health bar to be at the frame" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "playerHealth", "=", "100" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -4713,15 +4553,11 @@ "HealthBarFrame.X()", "=", "HealthBarFrame.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4731,17 +4567,13 @@ "textG": 0, "textR": 0 }, - "comment": "If player is in collision with the Enemy and the player is on floor and the enemy is alive (animation = 0), reduce health by 10", - "comment2": "" + "comment": "If player is in collision with the Enemy and the player is on floor and the enemy is alive (animation = 0), reduce health by 10" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -4749,59 +4581,48 @@ "Enemy", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "playerHealth", "-", "10" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4811,32 +4632,24 @@ "textG": 0, "textR": 0 }, - "comment": "Simulate jump key press (you may want to change position or opacity of player here, I decided to make it jump as the point of this example is to see the health bar changing)", - "comment2": "" + "comment": "Simulate jump key press (you may want to change position or opacity of player here, I decided to make it jump as the point of this example is to see the health bar changing)" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4846,46 +4659,36 @@ "textG": 0, "textR": 0 }, - "comment": "In case Health is <= 0 then restart the game", - "comment2": "" + "comment": "In case Health is <= 0 then restart the game" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "playerHealth", "<=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4895,29 +4698,23 @@ "textG": 0, "textR": 0 }, - "comment": "Change the scale of the health bar on the X axis to display the current state of the health value\nThe default scale value is 1 and so we devide the health value by 100 to get the right scale for the health bar\n100 / 100 = 1 (original scale)\n90 / 100 = 0.9 (90% of it original scale)\n", - "comment2": "" + "comment": "Change the scale of the health bar on the X axis to display the current state of the health value\nThe default scale value is 1 and so we devide the health value by 100 to get the right scale for the health bar\n100 / 100 = 1 (original scale)\n90 / 100 = 0.9 (90% of it original scale)\n" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ChangeScaleWidth" }, "parameters": [ "HealthBar", "=", "Variable(playerHealth) / 100" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -4930,9 +4727,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -4952,9 +4756,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "GUI", + "renderingType": "", "visibility": true, "cameras": [ { @@ -4990,44 +4801,34 @@ "externalEvents": [ { "associatedLayout": "Game", - "lastChangeTimeStamp": 1383154438, "name": "EnemiesManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Fly", "PlatformerObject", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5037,31 +4838,25 @@ "textG": 0, "textR": 0 }, - "comment": "Enemy movement:", - "comment2": "" + "comment": "Enemy movement:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5069,34 +4864,27 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5104,40 +4892,31 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5145,14 +4924,12 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -5160,42 +4937,33 @@ "-300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5203,14 +4971,12 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -5218,37 +4984,29 @@ "300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5262,70 +5020,57 @@ "comment2": "Gestion des collisions avec le joueur:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::Gravity" }, "parameters": [ @@ -5333,34 +5078,28 @@ "PlatformerObject", "=", "1500" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5369,63 +5108,50 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::ForEach", "object": "Enemy", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "50" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosY" }, "parameters": [ "PlayerHitBox", ">=", "Enemy.Y()-PlayerHitBox.Height()+Enemy.Height()/2" - ], - "subInstructions": [] + ] } ], - "actions": [], - "events": [] + "actions": [] } ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5439,32 +5165,26 @@ "comment2": "Disparition des ennemis:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { @@ -5474,69 +5194,57 @@ "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "false" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Enemy", "-", "50*TimeDelta()" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Enemy", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -5544,55 +5252,45 @@ }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383151997, "name": "ObjectsManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Coin", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "254" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5601,58 +5299,47 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "100" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "<", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "-", "255*TimeDelta()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -5660,77 +5347,61 @@ "0", "-30", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Coin", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383151997, "name": "GUIManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Score", "=", "\"x \"+ToString(Variable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } ], "eventsFunctionsExtensions": [], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +} diff --git a/examples/javascript-blocks-in-platformer/javascript-blocks-in-platformer.json b/examples/javascript-blocks-in-platformer/javascript-blocks-in-platformer.json index 684af3cbd..7162d87c5 100644 --- a/examples/javascript-blocks-in-platformer/javascript-blocks-in-platformer.json +++ b/examples/javascript-blocks-in-platformer/javascript-blocks-in-platformer.json @@ -1,13 +1,15 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { "adaptGameResolutionAtRuntime": false, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, "folderProject": false, "orientation": "landscape", "packageName": "com.example.platformerusingjs", @@ -15,10 +17,12 @@ "projectUuid": "765b8fe0-3a20-4f35-8b9e-0b7edacb2c3a", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", + "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "useDeprecatedZeroAsDefaultZOrder": true, - "useExternalSourceFiles": false, "version": "1.0.0", "name": "Platformer using Javascript Blocks", + "description": "", "author": "", "windowWidth": 800, "windowHeight": 600, @@ -43,7 +47,14 @@ "showGDevelopSplash": true, "showProgressBar": true }, + "watermark": { + "placement": "bottom-left", + "showWatermark": true + }, "authorIds": [], + "authorUsernames": [], + "categories": [], + "playableDevices": [], "extensionProperties": [], "platforms": [ { @@ -55,7 +66,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "p1_stand.png", "kind": "image", "metadata": "", @@ -64,7 +74,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_jump.png", "kind": "image", "metadata": "", @@ -73,7 +82,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk01.png", "kind": "image", "metadata": "", @@ -82,7 +90,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk02.png", "kind": "image", "metadata": "", @@ -91,7 +98,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk03.png", "kind": "image", "metadata": "", @@ -100,7 +106,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk04.png", "kind": "image", "metadata": "", @@ -109,7 +114,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk05.png", "kind": "image", "metadata": "", @@ -118,7 +122,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk06.png", "kind": "image", "metadata": "", @@ -127,7 +130,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk07.png", "kind": "image", "metadata": "", @@ -136,7 +138,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk08.png", "kind": "image", "metadata": "", @@ -145,7 +146,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk09.png", "kind": "image", "metadata": "", @@ -154,7 +154,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk10.png", "kind": "image", "metadata": "", @@ -163,7 +162,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk11.png", "kind": "image", "metadata": "", @@ -172,7 +170,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "brickWall.png", "kind": "image", "metadata": "", @@ -181,7 +178,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bridge.png", "kind": "image", "metadata": "", @@ -190,7 +186,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "grassHalfMid.png", "kind": "image", "metadata": "", @@ -199,7 +194,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "castleCenter.png", "kind": "image", "metadata": "", @@ -208,7 +202,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "bridgeLogs.png", "kind": "image", "metadata": "", @@ -217,7 +210,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Left.png", "kind": "image", "metadata": "", @@ -226,7 +218,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "Right.png", "kind": "image", "metadata": "", @@ -235,7 +226,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "ladder_mid.png", "kind": "image", "metadata": "", @@ -244,7 +234,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Grass.png", "kind": "image", "metadata": "", @@ -253,7 +242,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "PlayerArea.png", "kind": "image", "metadata": "", @@ -262,7 +250,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk1.png", "kind": "image", "metadata": "", @@ -271,7 +258,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk2.png", "kind": "image", "metadata": "", @@ -280,7 +266,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeDead.png", "kind": "image", "metadata": "", @@ -289,7 +274,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly1.png", "kind": "image", "metadata": "", @@ -298,7 +282,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly2.png", "kind": "image", "metadata": "", @@ -307,7 +290,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyDead.png", "kind": "image", "metadata": "", @@ -316,7 +298,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud1.png", "kind": "image", "metadata": "", @@ -325,7 +306,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud2.png", "kind": "image", "metadata": "", @@ -334,7 +314,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud3.png", "kind": "image", "metadata": "", @@ -343,7 +322,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bush.png", "kind": "image", "metadata": "", @@ -352,7 +330,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cactus.png", "kind": "image", "metadata": "", @@ -361,7 +338,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "plant.png", "kind": "image", "metadata": "", @@ -370,7 +346,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "coinGold.png", "kind": "image", "metadata": "", @@ -379,7 +354,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "shadedDark06.png", "kind": "image", "metadata": "", @@ -388,7 +362,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark05.png", "kind": "image", "metadata": "", @@ -397,7 +370,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark45.png", "kind": "image", "metadata": "", @@ -406,18 +378,26 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark09.png", "kind": "image", "metadata": "", "name": "shadedDark09.png", "smoothed": true, "userAdded": false + }, + { + "file": "Bimbo_JVE.ttf", + "kind": "font", + "metadata": "", + "name": "Bimbo_JVE.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, "objectsGroups": [], "variables": [], "layouts": [ @@ -426,9 +406,6 @@ "disableInputWhenNotFocused": true, "mangledName": "New_32scene", "name": "New scene", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 208, "standardSortMethod": false, "stopSoundsOnStartup": true, @@ -439,13 +416,17 @@ "gridType": "rectangular", "gridWidth": 70, "gridHeight": 70, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, + "gridOffsetZ": 0, "gridColor": 10401023, "gridAlpha": 0.8, "snap": true, "zoomFactor": 0.5306, - "windowMask": true + "windowMask": true, + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [ { @@ -490,7 +471,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Player", "persistentUuid": "afc77589-d7de-4060-b4ae-1581987c2f6a", "width": 0, @@ -506,7 +486,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "0ca64463-64fc-4649-95fe-de25c46bd6d2", "width": 0, @@ -527,7 +506,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "74d2b24c-00c9-4171-8620-07adee502b60", "width": 0, @@ -543,7 +521,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "211ed363-a34f-40d5-83bf-9d6034c6c3ef", "width": 0, @@ -559,7 +536,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "ffed571d-adee-479e-8f28-add96a598f16", "width": 0, @@ -575,7 +551,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "87a854b5-ec8a-4dcd-8d6e-c6a0711b2388", "width": 0, @@ -591,7 +566,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "29b91d55-fd08-4f00-8161-654f2824ed65", "width": 0, @@ -607,7 +581,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "TiledGrassPlatform", "persistentUuid": "5e895f27-2d0a-4fd5-842a-9ab48f094353", "width": 4222.89, @@ -623,7 +596,6 @@ "customSize": true, "height": 487.462, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "ec4b1889-0cae-4ee6-97e6-0554c93c5a69", "width": 502.923, @@ -639,7 +611,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "MovingPlatform", "persistentUuid": "0687c3bd-ae2b-4c03-b788-0ba31703c47b", "width": 0, @@ -655,7 +626,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "6872ffe7-c0f9-4841-ad3b-b492c58d5241", "width": 0, @@ -676,7 +646,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "d7b79655-278b-4456-9a45-1bf4a608c078", "width": 0, @@ -697,7 +666,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "41a83932-5f8a-413e-a285-7321d6143972", "width": 0, @@ -713,7 +681,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "2ea99dec-cd42-40ee-b68b-b028f92952a4", "width": 0, @@ -729,7 +696,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "bccdd01d-8f20-4708-8115-95652ffe7a6d", "width": 0, @@ -745,7 +711,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "e519e2ca-3c9f-401c-b5d6-45c564d15620", "width": 0, @@ -761,7 +726,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "171b5db4-6867-4b54-b016-fa5ecb0f6471", "width": 0, @@ -777,7 +741,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "5dcf484d-a84c-4df4-bb77-4b381b4ad904", "width": 0, @@ -793,7 +756,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "b7fa93fa-c0e5-440f-abbe-09db22436a24", "width": 0, @@ -814,7 +776,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "82866c73-652c-4797-ae6c-106f09d3e3f5", "width": 0, @@ -830,7 +791,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "2ebc30bb-ca8e-4cc2-85cb-a3086fa88403", "width": 0, @@ -846,7 +806,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "cd1fbd78-6358-4ae6-b49e-d31356903724", "width": 0, @@ -862,7 +821,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "3657f411-5c42-493d-9d54-5a04f440578e", "width": 0, @@ -883,7 +841,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "1f4b3b34-b9c3-492c-b0a3-032fa24c3ba9", "width": 0, @@ -904,7 +861,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "1b2e904d-d823-4de8-b4af-924128a880f8", "width": 0, @@ -920,7 +876,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "a301d21d-44d3-447d-bd91-cf92ff279ffe", "width": 0, @@ -941,7 +896,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "PlayerHitBox", "persistentUuid": "ee6e2393-f3ca-45c4-a897-3c5e9f2c19c1", "width": 0, @@ -957,7 +911,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "8e88dad0-3b39-4e24-bf69-b5b975d589ed", "width": 0, @@ -978,7 +931,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "2d99f71d-9689-4354-a047-c388327ddaf0", "width": 0, @@ -994,7 +946,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "1ef69d01-3477-4147-9c25-2926b0a75021", "width": 0, @@ -1010,7 +961,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "cee669f7-bd7d-4f5b-b749-8ff480239d96", "width": 0, @@ -1026,7 +976,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "b6801ea8-deeb-4e7b-8bc8-3b3ca0291c98", "width": 0, @@ -1042,7 +991,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "8867f758-18f6-476b-b26a-f9778f0bc4a5", "width": 0, @@ -1063,7 +1011,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "df4c1ee7-286c-4a8b-9bf5-851c3c9d182c", "width": 0, @@ -1079,7 +1026,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "dcf8f7de-e740-46cf-96e5-46a62d4a908f", "width": 0, @@ -1100,7 +1046,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "cc4dd484-51b5-4f17-bef2-a49d26e91272", "width": 0, @@ -1121,7 +1066,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "151b8a7f-bfc3-458b-9a34-71eb10fbfeff", "width": 0, @@ -1137,7 +1081,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "18d7d24f-2446-4e78-9f8a-8418e98bfb46", "width": 0, @@ -1158,7 +1101,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "047b20f6-6747-4ffe-af83-f52c6d15df2c", "width": 0, @@ -1179,7 +1121,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Cloud", "persistentUuid": "2e70c0e4-03c0-42b6-af6c-ff7346dddc21", "width": 0, @@ -1195,7 +1136,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "1f542ec9-830c-43c3-ac6b-daf08b1085d5", "width": 0, @@ -1216,7 +1156,6 @@ "customSize": true, "height": 61, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "7cf4238d-4fef-476e-a64b-586e5e84a566", "width": 66, @@ -1237,7 +1176,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "31fc6b47-4969-421a-bc94-ee4a1624672c", "width": 0, @@ -1253,7 +1191,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "50561702-9e49-453c-b7ef-8b27f9b5a8e9", "width": 94, @@ -1269,7 +1206,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "bbf90cd2-9ca7-483c-8d41-5f84ecb68e77", "width": 0, @@ -1285,7 +1221,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "0bf365d8-39f6-45d4-85d5-d8d68d2e4e47", "width": 0, @@ -1301,7 +1236,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "2faa4e8f-70c8-4a08-84b4-4a0a0d5c7cd1", "width": 0, @@ -1322,7 +1256,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "77c03a5b-6321-41ca-8dd6-9f516b6c21fd", "width": 58, @@ -1343,7 +1276,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "97b5910a-16a9-4e05-8ca0-a7208a22f558", "width": 58, @@ -1364,7 +1296,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "9c1ea0af-d971-4b77-a4d8-919a7ad43728", "width": 58, @@ -1385,7 +1316,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "b90d4de3-d567-43b9-bc4c-3c7801c116c4", "width": 0, @@ -1406,7 +1336,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "Score", "persistentUuid": "05e06b90-cc49-40b3-b87d-a2832090d01c", "width": 0, @@ -1422,7 +1351,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "CoinIcon", "persistentUuid": "61cd6c59-9cac-4387-a04b-0ccc1fb4c2c2", "width": 0, @@ -1438,7 +1366,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "b7161c8c-c651-4c54-9bd5-c1cbfcaf6369", "width": 0, @@ -1454,7 +1381,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "8eedb059-0879-48fa-84b1-cdcd38c1956d", "width": 0, @@ -1470,7 +1396,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "4ebd4875-d00c-4c9c-945e-4237cb365a9b", "width": 0, @@ -1486,7 +1411,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "12596544-4497-4fc4-895a-de5dc9ea114c", "width": 0, @@ -1502,7 +1426,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "97a6e58e-33ad-4f38-ae61-c342678b842b", "width": 0, @@ -1518,7 +1441,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "7d6dfc42-8c41-41d3-838e-360bc1f672bb", "width": 0, @@ -1534,7 +1456,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "95230c0b-74a9-4439-82fa-674cee717968", "width": 0, @@ -1550,7 +1471,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "74f2a713-2129-4c76-bbbd-50f8610d3427", "width": 0, @@ -1566,7 +1486,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "ecfb91c2-e428-41af-a239-095869976ac9", "width": 0, @@ -1582,7 +1501,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "88ad2c08-7803-4478-beb3-ae6b9b5bf964", "width": 0, @@ -1598,7 +1516,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "e653622c-2c78-46e2-acae-4f37e37542a4", "width": 0, @@ -1614,7 +1531,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "db5a2da4-3fcf-46d5-a532-de6d091bc221", "width": 0, @@ -1630,7 +1546,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "1af1b332-ed0c-4771-abb3-107c14a4c713", "width": 0, @@ -1646,7 +1561,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "9382ffde-5247-4eb9-ad67-9a10e3ff9cac", "width": 0, @@ -1662,7 +1576,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "74a13d43-ee97-46b8-acb4-69c39fbe390d", "width": 0, @@ -1678,7 +1591,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "0580c106-334e-4cb0-88d5-75f7b9d9215e", "width": 0, @@ -1694,7 +1606,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "b295f828-df66-4453-bc92-ea3523fd642c", "width": 0, @@ -1710,7 +1621,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "3f6358a8-6ee1-47a4-b868-fb5f8e0a2f9c", "width": 0, @@ -1726,7 +1636,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "6843582e-b2a9-4d07-843a-0f9d2998bc08", "width": 0, @@ -1742,7 +1651,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "a921ebb5-0728-4206-b7bb-1e869398b01f", "width": 0, @@ -1758,7 +1666,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "c2d4abec-d628-4c04-8380-6ddcd9beeb28", "width": 0, @@ -1774,7 +1681,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "eb4d99b1-87ab-4570-825d-4eb375e8c6ff", "width": 0, @@ -1790,7 +1696,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "e97ee3cb-6d13-4f3a-90c8-ecdd54af95ce", "width": 0, @@ -1806,7 +1711,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "fccfe716-40e5-4851-99ad-5e90f57cf9e0", "width": 0, @@ -1822,7 +1726,6 @@ "customSize": true, "height": 78.2958, "layer": "GUI", - "locked": false, "name": "LeftButton", "persistentUuid": "96e32c62-859b-45f5-9ad6-1038f4091f33", "width": 97.5489, @@ -1838,7 +1741,6 @@ "customSize": true, "height": 76.5471, "layer": "GUI", - "locked": false, "name": "RightButton", "persistentUuid": "7e1d1822-5fc2-4dd5-aa95-fc93f9d0aabe", "width": 94.1152, @@ -1854,7 +1756,6 @@ "customSize": true, "height": 202.235, "layer": "GUI", - "locked": false, "name": "ArrowButtonsBg", "persistentUuid": "6bc66a9a-25b6-4434-8a1e-db4a4178160a", "width": 202.235, @@ -1870,7 +1771,6 @@ "customSize": true, "height": 107.992, "layer": "GUI", - "locked": false, "name": "JumpButton", "persistentUuid": "919c8df6-2454-4d03-9239-126767eeb493", "width": 107.992, @@ -1884,8 +1784,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2183,8 +2084,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Platform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2298,8 +2200,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Jumpthru", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2365,9 +2268,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledGrassPlatform", - "tags": "", "texture": "grassHalfMid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2384,9 +2287,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledCastlePlatform", - "tags": "", "texture": "castleCenter.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2403,8 +2306,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "MovingPlatform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2470,8 +2374,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoLeft", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2529,8 +2434,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoRight", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2588,9 +2494,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "Ladder", - "tags": "", "texture": "ladder_mid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2607,8 +2513,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerHitBox", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2682,8 +2589,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "SlimeWalk", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [ @@ -2847,8 +2755,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Fly", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3006,8 +2915,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Cloud", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3161,8 +3071,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BackgroundObjects", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3316,11 +3227,11 @@ ] }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Score", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -3328,16 +3239,40 @@ "behaviors": [], "string": "x 0", "font": "Bimbo_JVE.ttf", + "textAlignment": "", "characterSize": 40, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "x 0", + "font": "Bimbo_JVE.ttf", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 40, + "lineHeight": 0, + "color": "0;0;0" } }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Coin", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3395,8 +3330,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "CoinIcon", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3454,8 +3390,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "LeftButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3513,8 +3450,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "RightButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3572,8 +3510,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "JumpButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3641,8 +3580,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "ArrowButtonsBg", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3700,10 +3640,76 @@ ] } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Player" + }, + { + "objectName": "Platform" + }, + { + "objectName": "Jumpthru" + }, + { + "objectName": "TiledGrassPlatform" + }, + { + "objectName": "TiledCastlePlatform" + }, + { + "objectName": "MovingPlatform" + }, + { + "objectName": "GoLeft" + }, + { + "objectName": "GoRight" + }, + { + "objectName": "Ladder" + }, + { + "objectName": "PlayerHitBox" + }, + { + "objectName": "SlimeWalk" + }, + { + "objectName": "Fly" + }, + { + "objectName": "Cloud" + }, + { + "objectName": "BackgroundObjects" + }, + { + "objectName": "Score" + }, + { + "objectName": "Coin" + }, + { + "objectName": "CoinIcon" + }, + { + "objectName": "LeftButton" + }, + { + "objectName": "RightButton" + }, + { + "objectName": "JumpButton" + }, + { + "objectName": "ArrowButtonsBg" + } + ] + }, "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3713,57 +3719,57 @@ "textG": 0, "textR": 0 }, - "comment": "Here is an example with some events that have been replaced by code blocks.\nNote that not all events have been translated to code.\n\nEvery code block is followed by the equivalent events (that are disabled, so they are not run by GDevelop - only the code is).\nSpecial comments /** @type {...} */ are added to give a hint to the editor about the type of the object that we are manipulating. It's useful to get autocompletion!", - "comment2": "" + "comment": "Here is an example with some events that have been replaced by code blocks.\nNote that not all events have been translated to code.\n\nEvery code block is followed by the equivalent events (that are disabled, so they are not run by GDevelop - only the code is).\nSpecial comments /** @type {...} */ are added to give a hint to the editor about the type of the object that we are manipulating. It's useful to get autocompletion!" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::JsCode", - "inlineCode": "const players = runtimeScene.getObjects(\"Player\");\nconst playerHitBoxes = runtimeScene.getObjects(\"PlayerHitBox\");\nif (playerHitBoxes.length === 0 || players.length === 0) return;\n\nif (runtimeScene.getTimeManager().isFirstFrame()) {\n playerHitBoxes[0].hide();\n}\n\nplayers[0].setX(playerHitBoxes[0].getX() - 12);\nplayers[0].setY(playerHitBoxes[0].getY());", + "inlineCode": [ + "const players = runtimeScene.getObjects(\"Player\");", + "const playerHitBoxes = runtimeScene.getObjects(\"PlayerHitBox\");", + "if (playerHitBoxes.length === 0 || players.length === 0) return;", + "", + "if (runtimeScene.getTimeManager().isFirstFrame()) {", + " playerHitBoxes[0].hide();", + "}", + "", + "players[0].setX(playerHitBoxes[0].getX() - 12);", + "players[0].setY(playerHitBoxes[0].getY());" + ], "parameterObjects": "", "useStrict": false, "eventsSheetExpanded": false }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "PlayerHitBox" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -3772,15 +3778,11 @@ "PlayerHitBox.X()-12", "=", "PlayerHitBox.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3794,51 +3796,42 @@ "comment2": "On change l'animation en fonction de ce que fait le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "RShift" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Player", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Player", "=", "2" - ], - "subInstructions": [] + ] } ] } @@ -3846,7 +3839,6 @@ "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3855,109 +3847,116 @@ "", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::JsCode", - "inlineCode": "const players = runtimeScene.getObjects(\"Player\");\nconst playerHitBoxes = runtimeScene.getObjects(\"PlayerHitBox\");\nif (playerHitBoxes.length === 0 || players.length === 0) return;\n\n/** @type {gdjs.SpriteRuntimeObject} */\nconst player = players[0];\n\n/** @type {gdjs.PlatformerObjectRuntimeBehavior} */\nconst platformerBehavior = playerHitBoxes[0].getBehavior(\"PlatformerObject\");\n\nif (platformerBehavior.isJumping() || platformerBehavior.isFalling()) {\n player.setAnimation(1);\n} else if (platformerBehavior.isOnFloor()) {\n if (!platformerBehavior.isMoving()) {\n player.setAnimation(0);\n } else {\n player.setAnimation(2);\n }\n}\n\nvar LEFTKEY = 37;\nvar RIGHTKEY = 39;\nif (runtimeScene.getGame().getInputManager().isKeyPressed(LEFTKEY)) {\n player.flipX(true);\n} else if (runtimeScene.getGame().getInputManager().isKeyPressed(RIGHTKEY)) {\n player.flipX(false);\n}", + "inlineCode": [ + "const players = runtimeScene.getObjects(\"Player\");", + "const playerHitBoxes = runtimeScene.getObjects(\"PlayerHitBox\");", + "if (playerHitBoxes.length === 0 || players.length === 0) return;", + "", + "/** @type {gdjs.SpriteRuntimeObject} */", + "const player = players[0];", + "", + "/** @type {gdjs.PlatformerObjectRuntimeBehavior} */", + "const platformerBehavior = playerHitBoxes[0].getBehavior(\"PlatformerObject\");", + "", + "if (platformerBehavior.isJumping() || platformerBehavior.isFalling()) {", + " player.setAnimation(1);", + "} else if (platformerBehavior.isOnFloor()) {", + " if (!platformerBehavior.isMoving()) {", + " player.setAnimation(0);", + " } else {", + " player.setAnimation(2);", + " }", + "}", + "", + "var LEFTKEY = 37;", + "var RIGHTKEY = 39;", + "if (runtimeScene.getGame().getInputManager().isKeyPressed(LEFTKEY)) {", + " player.flipX(true);", + "} else if (runtimeScene.getGame().getInputManager().isKeyPressed(RIGHTKEY)) {", + " player.flipX(false);", + "}" + ], "parameterObjects": "", "useStrict": false, "eventsSheetExpanded": false }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsJumping" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -3968,128 +3967,103 @@ "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsMoving" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Player", "=", "2" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Player", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Right" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Player", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4103,23 +4077,26 @@ "comment2": "On s'assure que la caméra suit le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::JsCode", - "inlineCode": "if (!objects.length) return; \n\n// Here, \"objects\" refer to a list of \"Player\", as it is what we've selected\n// in the configuration of the function.\n\nruntimeScene.getLayer(\"\").setCameraX(objects[0].getX());", + "inlineCode": [ + "if (!objects.length) return; ", + "", + "// Here, \"objects\" refer to a list of \"Player\", as it is what we've selected", + "// in the configuration of the function.", + "", + "runtimeScene.getLayer(\"\").setCameraX(objects[0].getX());" + ], "parameterObjects": "Player", "useStrict": false, "eventsSheetExpanded": false }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "CameraX" }, "parameters": [ @@ -4128,15 +4105,11 @@ "Player.X()", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4150,77 +4123,61 @@ "comment2": "Gestion de la plateforme bougeante:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoLeft" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoRight" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4228,44 +4185,35 @@ "-150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4273,15 +4221,11 @@ "150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4295,8 +4239,6 @@ "comment2": "Enemis :" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -4304,8 +4246,6 @@ "target": "EnemiesManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4319,8 +4259,6 @@ "comment2": "Objets:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -4328,8 +4266,6 @@ "target": "ObjectsManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4343,8 +4279,6 @@ "comment2": "Elements de l'interface:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -4352,8 +4286,6 @@ "target": "GUIManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4363,12 +4295,9 @@ "textG": 0, "textR": 0 }, - "comment": "Virtual controls", - "comment2": "" + "comment": "Virtual controls" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -4376,63 +4305,49 @@ "inverted": true, "value": "SystemInfo::IsMobile" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "VirtualControls" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TouchSimulateMouse" }, "parameters": [ "", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4440,33 +4355,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4474,33 +4382,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4508,24 +4409,20 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "layers": [ @@ -4533,9 +4430,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -4555,9 +4459,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "GUI", + "renderingType": "", "visibility": true, "cameras": [ { @@ -4593,44 +4504,34 @@ "externalEvents": [ { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383154438, "name": "EnemiesManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Fly", "PlatformerObject", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4640,31 +4541,25 @@ "textG": 0, "textR": 0 }, - "comment": "Enemy movement:", - "comment2": "" + "comment": "Enemy movement:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -4672,34 +4567,27 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -4707,40 +4595,31 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -4748,14 +4627,12 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4763,42 +4640,33 @@ "-300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -4806,14 +4674,12 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4821,37 +4687,29 @@ "300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4865,70 +4723,57 @@ "comment2": "Gestion des collisions avec le joueur:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::Gravity" }, "parameters": [ @@ -4936,34 +4781,28 @@ "PlatformerObject", "=", "1500" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -4972,63 +4811,51 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::ForEach", "object": "Enemy", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "50" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosY" }, "parameters": [ "PlayerHitBox", ">=", "Enemy.Y()-PlayerHitBox.Height()+Enemy.Height()/2" - ], - "subInstructions": [] + ] } ], - "actions": [], - "events": [] + "actions": [] } ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5042,41 +4869,52 @@ "comment2": "Disparition des ennemis:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::JsCode", - "inlineCode": "\nobjects.forEach(object => {\n /** @type {gdjs.SpriteRuntimeObject} */\n const enemy = object;\n\n /** @type {gdjs.PlatformerObjectRuntimeBehavior} */\n const platformerBehavior = object.getBehavior(\"PlatformerObject\");\n\n if (enemy.getAnimation() === 1 && platformerBehavior.isOnFloor() && !platformerBehavior.isMoving()) {\n object.activateBehavior(\"PlatformerObject\", false);\n enemy.setOpacity(enemy.getOpacity() - 50 * object.getElapsedTime(runtimeScene) / 1000);\n\n if (enemy.getOpacity() === 0) {\n object.deleteFromScene(runtimeScene);\n }\n }\n})", + "inlineCode": [ + "", + "objects.forEach(object => {", + " /** @type {gdjs.SpriteRuntimeObject} */", + " const enemy = object;", + "", + " /** @type {gdjs.PlatformerObjectRuntimeBehavior} */", + " const platformerBehavior = object.getBehavior(\"PlatformerObject\");", + "", + " if (enemy.getAnimation() === 1 && platformerBehavior.isOnFloor() && !platformerBehavior.isMoving()) {", + " object.activateBehavior(\"PlatformerObject\", false);", + " enemy.setOpacity(enemy.getOpacity() - 50 * object.getElapsedTime(runtimeScene) / 1000);", + "", + " if (enemy.getOpacity() === 0) {", + " object.deleteFromScene(runtimeScene);", + " }", + " }", + "})" + ], "parameterObjects": "Enemy", "useStrict": false, "eventsSheetExpanded": false }, { "disabled": true, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Animation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { @@ -5086,69 +4924,57 @@ "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "false" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Enemy", "-", "50*TimeDelta()" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Enemy", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Enemy", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -5156,55 +4982,45 @@ }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383151997, "name": "ObjectsManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Coin", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "254" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5213,58 +5029,47 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "100" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "<", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "-", "255*TimeDelta()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -5272,77 +5077,61 @@ "0", "-30", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Coin", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383151997, "name": "GUIManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Score", "=", "\"x \"+ToString(Variable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } ], "eventsFunctionsExtensions": [], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +} diff --git a/examples/multiplayer-platformer-with-gamepads/multiplayer-platformer-with-gamepads.json b/examples/multiplayer-platformer-with-gamepads/multiplayer-platformer-with-gamepads.json index 91b648f8d..254c4f472 100755 --- a/examples/multiplayer-platformer-with-gamepads/multiplayer-platformer-with-gamepads.json +++ b/examples/multiplayer-platformer-with-gamepads/multiplayer-platformer-with-gamepads.json @@ -1,13 +1,15 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { "adaptGameResolutionAtRuntime": false, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, "folderProject": false, "orientation": "landscape", "packageName": "com.example.multiplayerplatformerwithgamepads", @@ -16,8 +18,8 @@ "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "useDeprecatedZeroAsDefaultZOrder": true, - "useExternalSourceFiles": false, "version": "1.0.0", "name": "Multiplayer Platformer with gamepads", "description": "", @@ -66,7 +68,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "p1_stand.png", "kind": "image", "metadata": "", @@ -75,7 +76,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_jump.png", "kind": "image", "metadata": "", @@ -84,7 +84,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk01.png", "kind": "image", "metadata": "", @@ -93,7 +92,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk02.png", "kind": "image", "metadata": "", @@ -102,7 +100,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk03.png", "kind": "image", "metadata": "", @@ -111,7 +108,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk04.png", "kind": "image", "metadata": "", @@ -120,7 +116,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk05.png", "kind": "image", "metadata": "", @@ -129,7 +124,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk06.png", "kind": "image", "metadata": "", @@ -138,7 +132,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk07.png", "kind": "image", "metadata": "", @@ -147,7 +140,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk08.png", "kind": "image", "metadata": "", @@ -156,7 +148,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk09.png", "kind": "image", "metadata": "", @@ -165,7 +156,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk10.png", "kind": "image", "metadata": "", @@ -174,7 +164,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk11.png", "kind": "image", "metadata": "", @@ -183,7 +172,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "brickWall.png", "kind": "image", "metadata": "", @@ -192,7 +180,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bridge.png", "kind": "image", "metadata": "", @@ -201,7 +188,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "grassHalfMid.png", "kind": "image", "metadata": "", @@ -210,7 +196,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "castleCenter.png", "kind": "image", "metadata": "", @@ -219,7 +204,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "bridgeLogs.png", "kind": "image", "metadata": "", @@ -228,7 +212,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Left.png", "kind": "image", "metadata": "", @@ -237,7 +220,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "Right.png", "kind": "image", "metadata": "", @@ -246,7 +228,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "ladder_mid.png", "kind": "image", "metadata": "", @@ -255,7 +236,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Grass.png", "kind": "image", "metadata": "", @@ -264,7 +244,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "PlayerArea.png", "kind": "image", "metadata": "", @@ -273,7 +252,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk1.png", "kind": "image", "metadata": "", @@ -282,7 +260,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk2.png", "kind": "image", "metadata": "", @@ -291,7 +268,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeDead.png", "kind": "image", "metadata": "", @@ -300,7 +276,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly1.png", "kind": "image", "metadata": "", @@ -309,7 +284,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly2.png", "kind": "image", "metadata": "", @@ -318,7 +292,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyDead.png", "kind": "image", "metadata": "", @@ -327,7 +300,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud1.png", "kind": "image", "metadata": "", @@ -336,7 +308,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud2.png", "kind": "image", "metadata": "", @@ -345,7 +316,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud3.png", "kind": "image", "metadata": "", @@ -354,7 +324,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bush.png", "kind": "image", "metadata": "", @@ -363,7 +332,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cactus.png", "kind": "image", "metadata": "", @@ -372,7 +340,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "plant.png", "kind": "image", "metadata": "", @@ -381,7 +348,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "coinGold.png", "kind": "image", "metadata": "", @@ -390,7 +356,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "shadedDark06.png", "kind": "image", "metadata": "", @@ -399,7 +364,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark05.png", "kind": "image", "metadata": "", @@ -408,7 +372,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark45.png", "kind": "image", "metadata": "", @@ -417,7 +380,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark09.png", "kind": "image", "metadata": "", @@ -426,7 +388,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "Grass.png", "kind": "image", "metadata": "", @@ -435,7 +396,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "ps4.png", "kind": "image", "metadata": "", @@ -444,7 +404,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "xbox.png", "kind": "image", "metadata": "", @@ -453,18 +412,26 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "null-1.png", "kind": "image", "metadata": "", "name": "null-1.png", "smoothed": true, "userAdded": true + }, + { + "file": "Bimbo_JVE.ttf", + "kind": "font", + "metadata": "", + "name": "Bimbo_JVE.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, "objectsGroups": [], "variables": [], "layouts": [ @@ -483,13 +450,17 @@ "gridType": "rectangular", "gridWidth": 70, "gridHeight": 70, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, + "gridOffsetZ": 0, "gridColor": 10401023, "gridAlpha": 0.8, "snap": true, "zoomFactor": 0.6209, - "windowMask": true + "windowMask": true, + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [ { @@ -1764,9 +1735,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "Player2", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2064,9 +2035,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "Player", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2364,9 +2335,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "Platform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2480,9 +2451,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "Jumpthru", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2551,7 +2522,6 @@ "assetStoreId": "", "height": 70, "name": "TiledGrassPlatform", - "tags": "", "texture": "grassHalfMid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2571,7 +2541,6 @@ "assetStoreId": "", "height": 70, "name": "TiledCastlePlatform", - "tags": "", "texture": "castleCenter.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2588,9 +2557,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "MovingPlatform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2656,9 +2625,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "GoLeft", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2716,9 +2685,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "GoRight", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2779,7 +2748,6 @@ "assetStoreId": "", "height": 70, "name": "Ladder", - "tags": "", "texture": "ladder_mid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2796,9 +2764,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "PlayerHitBoxPlayer2", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2872,9 +2840,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "PlayerHitBox", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2948,9 +2916,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "SlimeWalk", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [ @@ -3114,9 +3082,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "Fly", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3274,9 +3242,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "Cloud", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3430,9 +3398,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "BackgroundObjects", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3591,7 +3559,6 @@ "italic": false, "name": "Score", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -3605,12 +3572,34 @@ "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "x 0", + "font": "Bimbo_JVE.ttf", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 40, + "lineHeight": 0, + "color": "0;0;0" } }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "Coin", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3668,9 +3657,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "CoinIcon", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3728,9 +3717,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "LeftButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3788,9 +3777,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "RightButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3848,9 +3837,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "JumpButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3918,9 +3907,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "ArrowButtonsBg", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3983,7 +3972,6 @@ "italic": false, "name": "Gamepad", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -3997,6 +3985,28 @@ "b": 255, "g": 255, "r": 255 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "-------------", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "255;255;255" } }, { @@ -4005,7 +4015,6 @@ "italic": false, "name": "Controllers_connected", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -4019,6 +4028,28 @@ "b": 255, "g": 255, "r": 255 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Connected controllers:", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "255;255;255" } }, { @@ -4027,7 +4058,6 @@ "italic": false, "name": "TXT_debug_player_2", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -4041,6 +4071,28 @@ "b": 255, "g": 255, "r": 255 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "TXT_debug_player_2", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "255;255;255" } }, { @@ -4049,7 +4101,6 @@ "italic": false, "name": "TXT_debug_player_1", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -4063,6 +4114,28 @@ "b": 255, "g": 255, "r": 255 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "TXT_debug_player_1", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "255;255;255" } }, { @@ -4071,7 +4144,6 @@ "italic": false, "name": "Player_status", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -4085,12 +4157,34 @@ "b": 255, "g": 255, "r": 255 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "Player 1\n\n\n\nPlayer 2", + "font": "", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 20, + "lineHeight": 0, + "color": "255;255;255" } }, { + "adaptCollisionMaskAutomatically": false, "assetStoreId": "", "name": "Type_of_controller", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -4187,6 +4281,98 @@ ] } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Player2" + }, + { + "objectName": "Player" + }, + { + "objectName": "Platform" + }, + { + "objectName": "Jumpthru" + }, + { + "objectName": "TiledGrassPlatform" + }, + { + "objectName": "TiledCastlePlatform" + }, + { + "objectName": "MovingPlatform" + }, + { + "objectName": "GoLeft" + }, + { + "objectName": "GoRight" + }, + { + "objectName": "Ladder" + }, + { + "objectName": "PlayerHitBoxPlayer2" + }, + { + "objectName": "PlayerHitBox" + }, + { + "objectName": "SlimeWalk" + }, + { + "objectName": "Fly" + }, + { + "objectName": "Cloud" + }, + { + "objectName": "BackgroundObjects" + }, + { + "objectName": "Score" + }, + { + "objectName": "Coin" + }, + { + "objectName": "CoinIcon" + }, + { + "objectName": "LeftButton" + }, + { + "objectName": "RightButton" + }, + { + "objectName": "JumpButton" + }, + { + "objectName": "ArrowButtonsBg" + }, + { + "objectName": "Gamepad" + }, + { + "objectName": "Controllers_connected" + }, + { + "objectName": "TXT_debug_player_2" + }, + { + "objectName": "TXT_debug_player_1" + }, + { + "objectName": "Player_status" + }, + { + "objectName": "Type_of_controller" + } + ] + }, "events": [ { "colorB": 228, @@ -4281,8 +4467,7 @@ "textG": 0, "textR": 0 }, - "comment": "Player 1", - "comment2": "" + "comment": "Player 1" }, { "type": "BuiltinCommonInstructions::Standard", @@ -4522,8 +4707,7 @@ "textG": 0, "textR": 0 }, - "comment": "Player 2", - "comment2": "" + "comment": "Player 2" }, { "type": "BuiltinCommonInstructions::Standard", @@ -4864,8 +5048,7 @@ "textG": 0, "textR": 0 }, - "comment": "Virtual controls", - "comment2": "" + "comment": "Virtual controls" }, { "type": "BuiltinCommonInstructions::Standard", @@ -5007,8 +5190,7 @@ "textG": 0, "textR": 0 }, - "comment": "Include events to handle controllers (open to see how controllers are used):", - "comment2": "" + "comment": "Include events to handle controllers (open to see how controllers are used):" }, { "type": "BuiltinCommonInstructions::Link", @@ -5023,9 +5205,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -5045,9 +5234,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "GUI", + "renderingType": "", "visibility": true, "cameras": [ { @@ -5067,9 +5263,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "Debug", + "renderingType": "", "visibility": true, "cameras": [], "effects": [] @@ -5094,7 +5297,6 @@ "externalEvents": [ { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383154432, "name": "EnemiesManagement", "events": [ { @@ -5132,8 +5334,7 @@ "textG": 0, "textR": 0 }, - "comment": "Enemy movement:", - "comment2": "" + "comment": "Enemy movement:" }, { "type": "BuiltinCommonInstructions::Standard", @@ -5642,7 +5843,6 @@ }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383152000, "name": "ObjectsManagement", "events": [ { @@ -5790,7 +5990,6 @@ }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383152000, "name": "GUIManagement", "events": [ { @@ -5813,7 +6012,6 @@ }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 0, "name": "Controller", "events": [ { @@ -5835,8 +6033,7 @@ "textG": 0, "textR": 0 }, - "comment": "Controller connected: update the icon", - "comment2": "" + "comment": "Controller connected: update the icon" }, { "type": "BuiltinCommonInstructions::Standard", @@ -5981,8 +6178,7 @@ "textG": 0, "textR": 0 }, - "comment": "Move", - "comment2": "" + "comment": "Move" }, { "type": "BuiltinCommonInstructions::Standard", @@ -6167,8 +6363,7 @@ "textG": 0, "textR": 0 }, - "comment": "Jump", - "comment2": "" + "comment": "Jump" }, { "type": "BuiltinCommonInstructions::Standard", @@ -6226,8 +6421,7 @@ "textG": 0, "textR": 0 }, - "comment": "Display information about the controller - useful to see if it's properly working", - "comment2": "" + "comment": "Display information about the controller - useful to see if it's properly working" }, { "type": "BuiltinCommonInstructions::Standard", @@ -6267,8 +6461,7 @@ "textG": 0, "textR": 0 }, - "comment": "Controllers 2 connected: update the icon", - "comment2": "" + "comment": "Controllers 2 connected: update the icon" }, { "type": "BuiltinCommonInstructions::Standard", @@ -6413,8 +6606,7 @@ "textG": 0, "textR": 0 }, - "comment": "Move", - "comment2": "" + "comment": "Move" }, { "type": "BuiltinCommonInstructions::Standard", @@ -6599,8 +6791,7 @@ "textG": 0, "textR": 0 }, - "comment": "Jump", - "comment2": "" + "comment": "Jump" }, { "type": "BuiltinCommonInstructions::Standard", @@ -6658,8 +6849,7 @@ "textG": 0, "textR": 0 }, - "comment": "Display information about the controller - useful to see if it's properly working", - "comment2": "" + "comment": "Display information about the controller - useful to see if it's properly working" }, { "type": "BuiltinCommonInstructions::Standard", @@ -6690,8 +6880,7 @@ "textG": 0, "textR": 0 }, - "comment": "Display the number of connected controllers", - "comment2": "" + "comment": "Display the number of connected controllers" }, { "type": "BuiltinCommonInstructions::Standard", @@ -6716,8 +6905,10 @@ { "author": "Bouh", "category": "Input", + "dimension": "", "extensionNamespace": "", "fullName": "Gamepads (controllers)", + "gdevelopVersion": "", "helpPath": "/all-features/gamepad", "iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLWdhbWVwYWQtdmFyaWFudC1vdXRsaW5lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTYsOUg4VjExSDEwVjEzSDhWMTVINlYxM0g0VjExSDZWOU0xOC41LDlBMS41LDEuNSAwIDAsMSAyMCwxMC41QTEuNSwxLjUgMCAwLDEgMTguNSwxMkExLjUsMS41IDAgMCwxIDE3LDEwLjVBMS41LDEuNSAwIDAsMSAxOC41LDlNMTUuNSwxMkExLjUsMS41IDAgMCwxIDE3LDEzLjVBMS41LDEuNSAwIDAsMSAxNS41LDE1QTEuNSwxLjUgMCAwLDEgMTQsMTMuNUExLjUsMS41IDAgMCwxIDE1LjUsMTJNMTcsNUE3LDcgMCAwLDEgMjQsMTJBNyw3IDAgMCwxIDE3LDE5QzE1LjA0LDE5IDEzLjI3LDE4LjIgMTIsMTYuOUMxMC43MywxOC4yIDguOTYsMTkgNywxOUE3LDcgMCAwLDEgMCwxMkE3LDcgMCAwLDEgNyw1SDE3TTcsN0E1LDUgMCAwLDAgMiwxMkE1LDUgMCAwLDAgNywxN0M4LjY0LDE3IDEwLjA5LDE2LjIxIDExLDE1SDEzQzEzLjkxLDE2LjIxIDE1LjM2LDE3IDE3LDE3QTUsNSAwIDAsMCAyMiwxMkE1LDUgMCAwLDAgMTcsN0g3WiIgLz48L3N2Zz4=", "name": "Gamepads", @@ -6755,6 +6946,8 @@ "mnImQKdn8nQxwzkS5D6a1JB27V23" ], "dependencies": [], + "globalVariables": [], + "sceneVariables": [], "eventsFunctions": [ { "description": "Get the value of the pressure on a gamepad trigger.", @@ -8623,12 +8816,95 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "TriggerPressure" + }, + { + "functionName": "StickForce" + }, + { + "functionName": "StickRotationValue" + }, + { + "functionName": "AxisValue" + }, + { + "functionName": "C_Button_released" + }, + { + "functionName": "LastButtonID" + }, + { + "functionName": "C_Any_Button_pressed" + }, + { + "functionName": "LastButtonString" + }, + { + "functionName": "GamepadCount" + }, + { + "functionName": "C_Button_pressed" + }, + { + "functionName": "Deadzone" + }, + { + "functionName": "A_Set_deadzone" + }, + { + "functionName": "C_Axis_pushed" + }, + { + "functionName": "ConnectedGamepadsCount" + }, + { + "functionName": "GamepadType" + }, + { + "functionName": "C_Controller_type" + }, + { + "functionName": "C_Controller_X_is_connected" + }, + { + "functionName": "A_Vibrate_controller" + }, + { + "functionName": "A_Advanced_Vibration_Controller" + }, + { + "functionName": "A_Change_Vibration_Magnitude" + }, + { + "functionName": "onFirstSceneLoaded" + }, + { + "functionName": "onScenePostEvents" + }, + { + "functionName": "C_any_button_released" + }, + { + "functionName": "WeakVibrationMagnitude" + }, + { + "functionName": "StrongVibrationMagnitude" + } + ] + }, "eventsBasedBehaviors": [ { "description": "Control a platformer character with a gamepad.", "fullName": "Platformer gamepad mapper", + "helpPath": "", + "iconUrl": "", "name": "PlatformerGamepadMapper", "objectType": "", + "previewIconUrl": "", "eventsFunctions": [ { "fullName": "", @@ -9385,86 +9661,131 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPreEvents" + } + ] + }, "propertyDescriptors": [ { "value": "", "type": "Behavior", "label": "Platformer character behavior", - "description": "", - "group": "", "extraInformation": [ "PlatformBehavior::PlatformerObjectBehavior" ], - "hidden": false, + "choices": [], "name": "PlatformerCharacter" }, { "value": "1", "type": "Number", "label": "Gamepad identifier (1, 2, 3 or 4)", - "description": "", - "group": "", - "extraInformation": [], - "hidden": false, "name": "GamepadIdentifier" }, { "value": "true", "type": "Boolean", "label": "Use directional pad", - "description": "", "group": "Controls", - "extraInformation": [], - "hidden": false, "name": "UseArrows" }, { "value": "true", "type": "Boolean", "label": "Use left stick", - "description": "", "group": "Controls", - "extraInformation": [], - "hidden": false, "name": "UseLeftStick" }, { "value": "", "type": "Boolean", "label": "Use right stick", - "description": "", "group": "Controls", - "extraInformation": [], - "hidden": false, "name": "UseRightStick" }, { "value": "A or Cross", "type": "Choice", "label": "Jump button", - "description": "", "group": "Controls", - "extraInformation": [ - "A or Cross", - "B or Circle", - "X or Square", - "Y or Triangle", - "LB or L1", - "RB or R1", - "LT or L2", - "RT or R2" + "choices": [ + { + "label": "A or Cross", + "value": "A or Cross" + }, + { + "label": "B or Circle", + "value": "B or Circle" + }, + { + "label": "X or Square", + "value": "X or Square" + }, + { + "label": "Y or Triangle", + "value": "Y or Triangle" + }, + { + "label": "LB or L1", + "value": "LB or L1" + }, + { + "label": "RB or R1", + "value": "RB or R1" + }, + { + "label": "LT or L2", + "value": "LT or L2" + }, + { + "label": "RT or R2", + "value": "RT or R2" + } ], - "hidden": false, "name": "JumpButton" } ], - "sharedPropertyDescriptors": [] + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "PlatformerCharacter" + }, + { + "propertyName": "GamepadIdentifier" + }, + { + "folderName": "Controls", + "children": [ + { + "propertyName": "UseArrows" + }, + { + "propertyName": "UseLeftStick" + }, + { + "propertyName": "UseRightStick" + }, + { + "propertyName": "JumpButton" + } + ] + } + ] + } }, { "description": "Control a top-down character with a gamepad.", "fullName": "Top-down gamepad mapper", + "helpPath": "", + "iconUrl": "", "name": "TopDownGamepadMapper", "objectType": "", + "previewIconUrl": "", "eventsFunctions": [ { "fullName": "", @@ -10044,80 +10365,106 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPreEvents" + } + ] + }, "propertyDescriptors": [ { "value": "", "type": "Behavior", "label": "Top-down movement behavior", - "description": "", - "group": "", "extraInformation": [ "TopDownMovementBehavior::TopDownMovementBehavior" ], - "hidden": false, + "choices": [], "name": "TopDownMovement" }, { "value": "1", "type": "Number", "label": "Gamepad identifier (1, 2, 3 or 4)", - "description": "", - "group": "", - "extraInformation": [], - "hidden": false, "name": "GamepadIdentifier" }, { "value": "true", "type": "Boolean", "label": "Use directional pad", - "description": "", "group": "Controls", - "extraInformation": [], - "hidden": false, "name": "UseArrows" }, { "value": "true", "type": "Boolean", "label": "Use left stick", - "description": "", "group": "Controls", - "extraInformation": [], - "hidden": false, "name": "UseLeftStick" }, { "value": "", "type": "Boolean", "label": "Use right stick", - "description": "", "group": "Controls", - "extraInformation": [], - "hidden": false, "name": "UseRightStick" }, { "value": "Analog", "type": "Choice", "label": "Stick mode", - "description": "", "group": "Controls", - "extraInformation": [ - "Analog", - "360°", - "8 Directions" + "choices": [ + { + "label": "Analog", + "value": "Analog" + }, + { + "label": "360°", + "value": "360°" + }, + { + "label": "8 Directions", + "value": "8 Directions" + } ], - "hidden": false, "name": "StickMode" } ], - "sharedPropertyDescriptors": [] + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "TopDownMovement" + }, + { + "propertyName": "GamepadIdentifier" + }, + { + "folderName": "Controls", + "children": [ + { + "propertyName": "UseArrows" + }, + { + "propertyName": "UseLeftStick" + }, + { + "propertyName": "UseRightStick" + }, + { + "propertyName": "StickMode" + } + ] + } + ] + } } ], "eventsBasedObjects": [] } ], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +} diff --git a/examples/old-platformer/old-platformer.json b/examples/old-platformer/old-platformer.json index 55db94235..034b44ebb 100644 --- a/examples/old-platformer/old-platformer.json +++ b/examples/old-platformer/old-platformer.json @@ -1,9 +1,9 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { @@ -18,7 +18,7 @@ "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", "templateSlug": "", - "useExternalSourceFiles": false, + "useDeprecatedZeroAsDefaultStringVariable": true, "version": "1.0.0", "name": "Platformer", "description": "", @@ -65,7 +65,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "p1_stand.png", "kind": "image", "metadata": "", @@ -74,7 +73,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_jump.png", "kind": "image", "metadata": "", @@ -83,7 +81,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk01.png", "kind": "image", "metadata": "", @@ -92,7 +89,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk02.png", "kind": "image", "metadata": "", @@ -101,7 +97,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk03.png", "kind": "image", "metadata": "", @@ -110,7 +105,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk04.png", "kind": "image", "metadata": "", @@ -119,7 +113,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk05.png", "kind": "image", "metadata": "", @@ -128,7 +121,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk06.png", "kind": "image", "metadata": "", @@ -137,7 +129,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk07.png", "kind": "image", "metadata": "", @@ -146,7 +137,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk08.png", "kind": "image", "metadata": "", @@ -155,7 +145,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "brickWall.png", "kind": "image", "metadata": "", @@ -164,7 +153,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bridge.png", "kind": "image", "metadata": "", @@ -173,7 +161,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "grassHalfMid.png", "kind": "image", "metadata": "", @@ -182,7 +169,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "castleCenter.png", "kind": "image", "metadata": "", @@ -191,7 +177,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "bridgeLogs.png", "kind": "image", "metadata": "", @@ -200,7 +185,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Left.png", "kind": "image", "metadata": "", @@ -209,7 +193,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "Right.png", "kind": "image", "metadata": "", @@ -218,7 +201,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "ladder_mid.png", "kind": "image", "metadata": "", @@ -227,7 +209,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Grass.png", "kind": "image", "metadata": "", @@ -236,7 +217,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "PlayerArea.png", "kind": "image", "metadata": "", @@ -245,7 +225,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk1.png", "kind": "image", "metadata": "", @@ -254,7 +233,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk2.png", "kind": "image", "metadata": "", @@ -263,7 +241,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeDead.png", "kind": "image", "metadata": "", @@ -272,7 +249,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly1.png", "kind": "image", "metadata": "", @@ -281,7 +257,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly2.png", "kind": "image", "metadata": "", @@ -290,7 +265,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyDead.png", "kind": "image", "metadata": "", @@ -299,7 +273,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud1.png", "kind": "image", "metadata": "", @@ -308,7 +281,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud2.png", "kind": "image", "metadata": "", @@ -317,7 +289,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cloud3.png", "kind": "image", "metadata": "", @@ -326,7 +297,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bush.png", "kind": "image", "metadata": "", @@ -335,7 +305,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cactus.png", "kind": "image", "metadata": "", @@ -344,7 +313,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "plant.png", "kind": "image", "metadata": "", @@ -353,7 +321,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "coinGold.png", "kind": "image", "metadata": "", @@ -362,7 +329,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "shadedDark06.png", "kind": "image", "metadata": "", @@ -371,7 +337,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark05.png", "kind": "image", "metadata": "", @@ -380,7 +345,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark45.png", "kind": "image", "metadata": "", @@ -389,7 +353,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark09.png", "kind": "image", "metadata": "", @@ -398,7 +361,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "tiled_Forest Background.png", "kind": "image", "metadata": "", @@ -407,7 +369,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "D-pad top.png", "kind": "image", "metadata": "", @@ -416,7 +377,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "D-pad bottom.png", "kind": "image", "metadata": "", @@ -435,7 +395,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "NewFile-1.png", "kind": "image", "metadata": "", @@ -462,9 +421,15 @@ "preloadAsSound": false, "preloadInCache": false, "userAdded": true + }, + { + "file": "Bimbo_JVE.ttf", + "kind": "font", + "metadata": "", + "name": "Bimbo_JVE.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], "objectsFolderStructure": { @@ -488,13 +453,17 @@ "gridType": "rectangular", "gridWidth": 70, "gridHeight": 70, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, + "gridOffsetZ": 0, "gridColor": 10401023, "gridAlpha": 0.8, "snap": true, "zoomFactor": 0.4606, - "windowMask": true + "windowMask": true, + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [ { @@ -3144,7 +3113,9 @@ "text": "x 0", "font": "Bimbo_JVE.ttf", "textAlignment": "", + "verticalTextAlignment": "top", "characterSize": 40, + "lineHeight": 0, "color": "0;0;0" } }, @@ -4827,6 +4798,7 @@ "ambientLightColorB": 1702453632, "ambientLightColorG": 0, "ambientLightColorR": 0, + "camera2DPlaneMaxDrawingDistance": 5000, "camera3DFarPlaneDistance": 10000, "camera3DFieldOfView": 45, "camera3DNearPlaneDistance": 0.1, @@ -4844,6 +4816,7 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, "camera3DFarPlaneDistance": 10000, "camera3DFieldOfView": 45, "camera3DNearPlaneDistance": 0.1, @@ -4872,6 +4845,7 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, "camera3DFarPlaneDistance": 10000, "camera3DFieldOfView": 45, "camera3DNearPlaneDistance": 0.1, @@ -4952,7 +4926,6 @@ "externalEvents": [ { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383154432, "name": "EnemiesManagement", "events": [ { @@ -5394,8 +5367,10 @@ { "author": "4ian", "category": "", + "dimension": "", "extensionNamespace": "", "fullName": "Parallax for Tiled Sprite", + "gdevelopVersion": "", "helpPath": "", "iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLWltYWdlLW1vdmUiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTUsM0gxOVYwTDI0LDVMMTksMTBWN0gxNVYzTTIxLDExLjk0VjE5QTIsMiAwIDAsMSAxOSwyMUg1QTIsMiAwIDAsMSAzLDE5VjVBMiwyIDAgMCwxIDUsM0gxMi4wNkMxMiwzLjMzIDEyLDMuNjcgMTIsNEE4LDggMCAwLDAgMjAsMTJDMjAuMzMsMTIgMjAuNjcsMTIgMjEsMTEuOTRNMTksMThMMTQuNSwxMkwxMSwxNi41TDguNSwxMy41TDUsMThIMTlaIiAvPjwvc3ZnPg==", "name": "Parallax", @@ -5412,12 +5387,18 @@ "globalVariables": [], "sceneVariables": [], "eventsFunctions": [], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT" + }, "eventsBasedBehaviors": [ { "description": "Move the image of a Tiled Sprite to follow the camera horizontally with a parallax effect. After adding this to an object, put the object on a layer that is not moving, behind the layer that is followed (for example, a layer called \"Background\").", "fullName": "Horizontal Parallax for a Tiled Sprite", + "helpPath": "", + "iconUrl": "", "name": "HorizontalTiledSpriteParallax", "objectType": "TiledSpriteObject::TiledSprite", + "previewIconUrl": "", "eventsFunctions": [ { "fullName": "", @@ -5479,33 +5460,48 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, "propertyDescriptors": [ { "value": "0.5", "type": "Number", "label": "Parallax factor (speed for the parallax, usually between 0 and 1)", - "description": "", - "group": "", - "extraInformation": [], "name": "ParallaxFactor" }, { "value": "", "type": "String", "label": "Layer to be followed (leave empty for the base layer)", - "description": "", - "group": "", - "extraInformation": [], "name": "FollowedLayer" } ], - "sharedPropertyDescriptors": [] + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "ParallaxFactor" + }, + { + "propertyName": "FollowedLayer" + } + ] + } }, { "description": "Move the image of a Tiled Sprite to follow the camera vertically with a parallax effect. After adding this to an object, put the object on a layer that is not moving, behind the layer that is followed (for example, a layer called \"Background\").", "fullName": "Vertical Parallax for a Tiled Sprite", + "helpPath": "", + "iconUrl": "", "name": "VerticalTiledSpriteParallax", "objectType": "TiledSpriteObject::TiledSprite", + "previewIconUrl": "", "eventsFunctions": [ { "fullName": "", @@ -5567,32 +5563,43 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, "propertyDescriptors": [ { "value": "0.5", "type": "Number", "label": "Parallax factor (speed for the parallax, usually between 0 and 1)", - "description": "", - "group": "", - "extraInformation": [], "name": "ParallaxFactor" }, { "value": "", "type": "String", "label": "Layer to be followed (leave empty for the base layer)", - "description": "", - "group": "", - "extraInformation": [], "name": "FollowedLayer" } ], - "sharedPropertyDescriptors": [] + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "ParallaxFactor" + }, + { + "propertyName": "FollowedLayer" + } + ] + } } ], "eventsBasedObjects": [] } ], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +} diff --git a/examples/parse-json-from-api/parse-json-from-api.json b/examples/parse-json-from-api/parse-json-from-api.json index ac2dbb9a1..57e4e4615 100755 --- a/examples/parse-json-from-api/parse-json-from-api.json +++ b/examples/parse-json-from-api/parse-json-from-api.json @@ -1,9 +1,9 @@ { "firstLayout": "", "gdVersion": { - "build": 239, + "build": 271, "major": 5, - "minor": 5, + "minor": 6, "revision": 0 }, "properties": { @@ -18,6 +18,7 @@ "scaleMode": "linear", "sizeOnStartupMode": "", "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "version": "1.0.0", "name": "Network Requests to an API and using JSON", "description": "", @@ -148,9 +149,15 @@ "identifier": "https://asset-resources.gdevelop.io/public-resources/Menu buttons/b81b0bcafdd4279f3bf8d4d3865f51b9961292dad8b5ccbe88807c8acfb6b11d_Poppins-Medium.ttf", "name": "Poppins-Medium.ttf" } + }, + { + "file": "Play-Regular.ttf", + "kind": "font", + "metadata": "", + "name": "Play-Regular.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], "objectsFolderStructure": { @@ -174,13 +181,17 @@ "gridType": "rectangular", "gridWidth": 32, "gridHeight": 32, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, + "gridOffsetZ": 0, "gridColor": 10401023, "gridAlpha": 0.8, "snap": true, "zoomFactor": 1, - "windowMask": false + "windowMask": false, + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [], "variables": [ @@ -391,6 +402,7 @@ "bold": false, "italic": false, "name": "Information", + "persistentUuid": "f04ca01d-c0ca-4c4e-b999-877bbe523ad8", "smoothed": true, "type": "TextObject::Text", "underlined": false, @@ -930,6 +942,7 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, "camera3DFarPlaneDistance": 10000, "camera3DFieldOfView": 45, "camera3DNearPlaneDistance": 0.1, @@ -992,6 +1005,7 @@ { "author": "", "category": "User interface", + "dimension": "", "extensionNamespace": "", "fullName": "Panel sprite button", "gdevelopVersion": ">=5.5.230", @@ -1050,12 +1064,23 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "IsInGameEdition" + } + ] + }, "eventsBasedBehaviors": [ { "description": "The finite state machine used internally by the button object.", "fullName": "Button finite state machine", + "helpPath": "", + "iconUrl": "", "name": "ButtonFSM", "objectType": "", + "previewIconUrl": "", "private": true, "eventsFunctions": [ { @@ -2150,6 +2175,41 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + }, + { + "functionName": "onDeActivate" + }, + { + "functionName": "ResetState" + }, + { + "functionName": "IsIdle" + }, + { + "functionName": "IsClicked" + }, + { + "functionName": "IsHovered" + }, + { + "functionName": "IsFocused" + }, + { + "functionName": "IsPressed" + }, + { + "functionName": "IsPressedOutside" + }, + { + "functionName": "TouchId" + } + ] + }, "propertyDescriptors": [ { "value": "true", @@ -2163,12 +2223,27 @@ "value": "Idle", "type": "Choice", "label": "State", - "extraInformation": [ - "Idle", - "Hovered", - "PressedInside", - "PressedOutside", - "Validated" + "choices": [ + { + "label": "Idle", + "value": "Idle" + }, + { + "label": "Hovered", + "value": "Hovered" + }, + { + "label": "PressedInside", + "value": "PressedInside" + }, + { + "label": "PressedOutside", + "value": "PressedOutside" + }, + { + "label": "Validated", + "value": "Validated" + } ], "hidden": true, "name": "State" @@ -2202,7 +2277,29 @@ "name": "Index" } ], - "sharedPropertyDescriptors": [] + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "ShouldCheckHovering" + }, + { + "propertyName": "State" + }, + { + "propertyName": "TouchId" + }, + { + "propertyName": "TouchIsInside" + }, + { + "propertyName": "MouseIsInside" + }, + { + "propertyName": "Index" + } + ] + } } ], "eventsBasedObjects": [ @@ -2216,9 +2313,12 @@ "defaultName": "Button", "description": "A button that can be customized.", "fullName": "Button (panel sprite)", + "helpPath": "", + "iconUrl": "", "isInnerAreaFollowingParentSize": true, "isUsingLegacyInstancesRenderer": false, "name": "PanelSpriteButton", + "previewIconUrl": "", "objects": [ { "assetStoreId": "", @@ -2454,6 +2554,7 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, "camera3DFarPlaneDistance": 10000, "camera3DFieldOfView": 45, "camera3DNearPlaneDistance": 3, @@ -2513,6 +2614,7 @@ "initialVariables": [] } ], + "editionSettings": [], "eventsFunctions": [ { "fullName": "", @@ -3635,6 +3737,56 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "onCreated" + }, + { + "functionName": "onHotReloading" + }, + { + "functionName": "doStepPostEvents" + }, + { + "functionName": "IsIdle" + }, + { + "functionName": "IsClicked" + }, + { + "functionName": "IsHovered" + }, + { + "functionName": "IsFocused" + }, + { + "functionName": "IsPressed" + }, + { + "functionName": "SetLabelText" + }, + { + "functionName": "SetLabelTextOp" + }, + { + "functionName": "LabelText" + }, + { + "functionName": "Activate" + }, + { + "functionName": "IsActivated" + }, + { + "functionName": "LabelOffset" + }, + { + "functionName": "SetLabelOffset" + } + ] + }, "propertyDescriptors": [ { "value": "", @@ -3670,14 +3822,45 @@ "value": "", "type": "Choice", "label": "", - "extraInformation": [ - "Label.Text=LabelText", - "BitmapLabel.Text=LabelText" + "choices": [ + { + "label": "Label.Text=LabelText", + "value": "Label.Text=LabelText" + }, + { + "label": "BitmapLabel.Text=LabelText", + "value": "BitmapLabel.Text=LabelText" + } ], "hidden": true, "name": "_PropertyMapping" } ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "LabelText" + }, + { + "folderName": "States", + "children": [ + { + "propertyName": "HoveredFadeOutDuration" + }, + { + "propertyName": "PressedLabelOffsetY" + } + ] + }, + { + "propertyName": "LabelOffset" + }, + { + "propertyName": "_PropertyMapping" + } + ] + }, "variants": [ { "areaMaxX": 256, @@ -3930,6 +4113,7 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, "camera3DFarPlaneDistance": 10000, "camera3DFieldOfView": 45, "camera3DNearPlaneDistance": 3, @@ -3989,7 +4173,8 @@ "stringProperties": [], "initialVariables": [] } - ] + ], + "editionSettings": [] } ] } @@ -3998,6 +4183,7 @@ { "author": "", "category": "", + "dimension": "", "extensionNamespace": "", "fullName": "Example Extension for Requests", "gdevelopVersion": "", @@ -4201,9 +4387,20 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "GetRandomPerson" + }, + { + "functionName": "GetRandomPersonJavaScript" + } + ] + }, "eventsBasedBehaviors": [], "eventsBasedObjects": [] } ], "externalLayouts": [] -} \ No newline at end of file +} diff --git a/examples/platformer-double-jump/platformer-double-jump.json b/examples/platformer-double-jump/platformer-double-jump.json index fb52e1763..a3c490984 100755 --- a/examples/platformer-double-jump/platformer-double-jump.json +++ b/examples/platformer-double-jump/platformer-double-jump.json @@ -1,13 +1,15 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { "adaptGameResolutionAtRuntime": true, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, "folderProject": false, "orientation": "landscape", "packageName": "com.example.platformerwithdoublejump", @@ -15,9 +17,11 @@ "projectUuid": "c82d449a-9975-4c9d-a003-8683951a8a09", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", - "useExternalSourceFiles": false, + "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "version": "1.0.0", "name": "Platformer With DOuble Jump", + "description": "", "author": "", "windowWidth": 800, "windowHeight": 600, @@ -42,7 +46,14 @@ "showGDevelopSplash": true, "showProgressBar": true }, + "watermark": { + "placement": "bottom-left", + "showWatermark": true + }, "authorIds": [], + "authorUsernames": [], + "categories": [], + "playableDevices": [], "extensionProperties": [], "platforms": [ { @@ -54,7 +65,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "p1_stand.png", "kind": "image", "metadata": "", @@ -63,7 +73,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_jump.png", "kind": "image", "metadata": "", @@ -72,7 +81,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk03.png", "kind": "image", "metadata": "", @@ -81,7 +89,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk04.png", "kind": "image", "metadata": "", @@ -90,7 +97,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk05.png", "kind": "image", "metadata": "", @@ -99,7 +105,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk06.png", "kind": "image", "metadata": "", @@ -108,7 +113,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "p1_walk07.png", "kind": "image", "metadata": "", @@ -117,7 +121,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "brickWall.png", "kind": "image", "metadata": "", @@ -126,7 +129,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bridge.png", "kind": "image", "metadata": "", @@ -135,7 +137,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "grassHalfMid.png", "kind": "image", "metadata": "", @@ -144,7 +145,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "castleCenter.png", "kind": "image", "metadata": "", @@ -153,7 +153,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "bridgeLogs.png", "kind": "image", "metadata": "", @@ -162,7 +161,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Left.png", "kind": "image", "metadata": "", @@ -171,7 +169,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "Right.png", "kind": "image", "metadata": "", @@ -180,7 +177,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "ladder_mid.png", "kind": "image", "metadata": "", @@ -189,7 +185,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "Grass.png", "kind": "image", "metadata": "", @@ -198,7 +193,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "PlayerArea.png", "kind": "image", "metadata": "", @@ -207,7 +201,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk1.png", "kind": "image", "metadata": "", @@ -216,7 +209,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeWalk2.png", "kind": "image", "metadata": "", @@ -225,7 +217,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "slimeDead.png", "kind": "image", "metadata": "", @@ -234,7 +225,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly1.png", "kind": "image", "metadata": "", @@ -243,7 +233,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyFly2.png", "kind": "image", "metadata": "", @@ -252,7 +241,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "flyDead.png", "kind": "image", "metadata": "", @@ -261,7 +249,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "bush.png", "kind": "image", "metadata": "", @@ -270,7 +257,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "cactus.png", "kind": "image", "metadata": "", @@ -279,7 +265,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "plant.png", "kind": "image", "metadata": "", @@ -288,7 +273,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "coinGold.png", "kind": "image", "metadata": "", @@ -297,7 +281,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "shadedDark06.png", "kind": "image", "metadata": "", @@ -306,7 +289,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark05.png", "kind": "image", "metadata": "", @@ -315,7 +297,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark45.png", "kind": "image", "metadata": "", @@ -324,7 +305,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "shadedDark09.png", "kind": "image", "metadata": "", @@ -333,7 +313,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "tiled_Forest Background.png", "kind": "image", "metadata": "", @@ -342,7 +321,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "D-pad top.png", "kind": "image", "metadata": "", @@ -351,7 +329,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "D-pad bottom.png", "kind": "image", "metadata": "", @@ -366,21 +343,30 @@ "name": "life lost sound.wav", "preloadAsMusic": false, "preloadAsSound": false, + "preloadInCache": false, "userAdded": true }, { - "alwaysLoaded": false, "file": "NewFile-1.png", "kind": "image", "metadata": "", "name": "NewFile-1.png", "smoothed": true, "userAdded": true + }, + { + "file": "Bimbo_JVE.ttf", + "kind": "font", + "metadata": "", + "name": "Bimbo_JVE.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, "objectsGroups": [], "variables": [], "layouts": [ @@ -389,9 +375,6 @@ "disableInputWhenNotFocused": true, "mangledName": "New_32scene", "name": "New scene", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 208, "standardSortMethod": false, "stopSoundsOnStartup": true, @@ -402,13 +385,17 @@ "gridType": "rectangular", "gridWidth": 70, "gridHeight": 70, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, + "gridOffsetZ": 0, "gridColor": 10401023, "gridAlpha": 0.8, "snap": true, "zoomFactor": 0.4606, - "windowMask": true + "windowMask": true, + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [ { @@ -474,7 +461,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Player", "persistentUuid": "788c041d-1b63-42b6-a22a-e95262a08f83", "width": 0, @@ -490,7 +476,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "22e46c09-0b92-474b-b139-ee7a28fac131", "width": 0, @@ -511,7 +496,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "0ae5867c-f6bb-4458-b8bc-c5f8bb3a5338", "width": 0, @@ -527,7 +511,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "bbdb0455-667f-422d-9dcd-21ba15f60a40", "width": 0, @@ -543,7 +526,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Jumpthru", "persistentUuid": "7b55098b-4ff4-4609-89df-197bd1a0de3b", "width": 0, @@ -559,7 +541,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "cfb83ad3-a943-4e6e-aeb7-d35ccdf7f90f", "width": 0, @@ -575,7 +556,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "a62a7ebb-d296-4348-bcdf-c8469ac6769b", "width": 0, @@ -591,7 +571,6 @@ "customSize": true, "height": 70, "layer": "", - "locked": false, "name": "TiledGrassPlatform", "persistentUuid": "b3af049c-dacf-48fe-8973-5734e0eb6ce1", "width": 4222.89, @@ -607,7 +586,6 @@ "customSize": true, "height": 487.462, "layer": "", - "locked": false, "name": "TiledCastlePlatform", "persistentUuid": "05e616a8-abe0-4998-b72d-cbe45c41b146", "width": 502.923, @@ -623,7 +601,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "MovingPlatform", "persistentUuid": "562e4641-884e-46ca-845b-482c9cb5962a", "width": 0, @@ -639,7 +616,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "ed416599-13ff-475d-b91a-3e759a9bf8a9", "width": 0, @@ -660,7 +636,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "9543dedc-5f1a-40de-954b-3f0ab5760631", "width": 0, @@ -681,7 +656,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "31016c6a-b199-4ec3-aa20-666d68110687", "width": 0, @@ -697,7 +671,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "5c1bd76b-d542-4fef-87ec-3494350c1668", "width": 0, @@ -713,7 +686,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "b1019fc6-fd11-44eb-9441-6d26b59a5cc6", "width": 0, @@ -729,7 +701,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "0f8e94bf-6a6e-4cf0-afe2-12c6a51205f1", "width": 0, @@ -745,7 +716,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "d7d3655a-8a0d-4aa1-8a5f-73a19e21187d", "width": 0, @@ -761,7 +731,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "ce10a257-6627-4480-9806-b3e14061004e", "width": 0, @@ -777,7 +746,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "724c9654-aa90-4e34-85bb-174ed5c1e511", "width": 0, @@ -798,7 +766,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "b32fbc8d-e909-4433-8366-fbce162d67af", "width": 0, @@ -814,7 +781,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "e34ebc68-d8d9-4c46-a87e-8227a7e47ef6", "width": 0, @@ -830,7 +796,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "f1fb91c2-d269-47ab-95ba-ffb98b2e48a3", "width": 0, @@ -846,7 +811,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "ff87eff8-6ab2-45fd-b6d7-635380a6bf1f", "width": 0, @@ -867,7 +831,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "6bde59af-9825-4bb2-9a54-cf2aae33c031", "width": 0, @@ -888,7 +851,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "dfd6b4d4-0877-4e63-9fd4-1fa3bdc70447", "width": 0, @@ -904,7 +866,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "98ba0687-173c-415b-9a2f-a1f190a3eb69", "width": 0, @@ -925,7 +886,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "PlayerHitBox", "persistentUuid": "7baa1486-2886-496d-a791-357f80f4212d", "width": 0, @@ -941,7 +901,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "b43ba0cf-8ac2-4e46-ad12-6215b493f50e", "width": 0, @@ -962,7 +921,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "d49b599a-8275-4e32-83c7-fbd2787fcd1a", "width": 0, @@ -978,7 +936,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "a58ea2fd-c543-494f-b3da-3283646c5041", "width": 0, @@ -994,7 +951,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "ffd47f18-783e-41c3-837e-c724eb6f0f30", "width": 0, @@ -1010,7 +966,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "49fcae37-ac51-4e71-b0dd-1508e45655c8", "width": 0, @@ -1026,7 +981,6 @@ "customSize": true, "height": 61, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "08f1eeb1-a457-496e-b161-8c80b98c070c", "width": 66, @@ -1047,7 +1001,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "cad94cea-07f3-4cdd-a94e-51c1f42e2e97", "width": 0, @@ -1063,7 +1016,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "673c517d-68b1-40a5-ae02-f1c39951ccbf", "width": 94, @@ -1079,7 +1031,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "7b621bcd-4f9e-4bf4-9c40-c5812ec18dbf", "width": 0, @@ -1095,7 +1046,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "e71d046e-d5bb-45b8-8578-33c2d4df9b14", "width": 0, @@ -1111,7 +1061,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "b5d7941d-f5aa-4305-b09e-d4ed742ba7c1", "width": 0, @@ -1132,7 +1081,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "3bac2217-2edf-4c1c-b65f-cbea17de2268", "width": 58, @@ -1153,7 +1101,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "dafde3c5-0d13-40e6-b6d8-43a6771c424b", "width": 58, @@ -1174,7 +1121,6 @@ "customSize": true, "height": 47, "layer": "", - "locked": false, "name": "BackgroundObjects", "persistentUuid": "3b2ac003-fd90-4e46-8d62-78053ad4f39b", "width": 58, @@ -1195,7 +1141,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "Score", "persistentUuid": "c0f16068-baf3-420b-b882-a2b2e9ce2803", "width": 0, @@ -1211,7 +1156,6 @@ "customSize": false, "height": 0, "layer": "GUI", - "locked": false, "name": "CoinIcon", "persistentUuid": "9d011d94-ad83-4863-ad44-a4be700ea105", "width": 0, @@ -1227,7 +1171,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "5e5f93cf-b133-4f0b-8064-6d623c3a861b", "width": 0, @@ -1243,7 +1186,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "a7c89362-1c5a-44fd-b0f9-c6c68a83f3e0", "width": 0, @@ -1259,7 +1201,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "4640d7c2-6ffd-46cd-893e-c78991728d61", "width": 0, @@ -1275,7 +1216,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "a59a964e-1922-49ad-9ba4-61e82105d76b", "width": 0, @@ -1291,7 +1231,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "c8bd9849-e414-43df-9af1-3a4620aff6b7", "width": 0, @@ -1307,7 +1246,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "03e16798-a16f-4fe2-93b5-a64e846f5c9b", "width": 0, @@ -1323,7 +1261,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "1018e19d-fec3-47a8-8ea3-c6c1084eac59", "width": 0, @@ -1339,7 +1276,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "5f2845bb-d1a0-429c-a952-5b0519ce0cfb", "width": 0, @@ -1355,7 +1291,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "53d6a3e4-bc3e-4ce5-a030-50c951a4eecd", "width": 0, @@ -1371,7 +1306,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "b433127f-65f4-444c-94ff-cbc782239881", "width": 0, @@ -1387,7 +1321,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "74234a7b-3bfe-47c1-a7c8-a2eacf71d5c7", "width": 0, @@ -1403,7 +1336,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "844861ff-98ba-4895-a26b-9127c1f01b33", "width": 0, @@ -1419,7 +1351,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "8a04113d-cf76-4c66-ad33-832adfea0ddc", "width": 0, @@ -1435,7 +1366,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "a3e28934-cf65-412b-ae65-a970ce88531d", "width": 0, @@ -1451,7 +1381,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Platform", "persistentUuid": "2ebb125c-99c4-4c34-9fb4-93346da7bd2d", "width": 0, @@ -1467,7 +1396,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "723aeebf-13df-4659-b400-89e55803067e", "width": 0, @@ -1483,7 +1411,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "3ff87891-d9c7-4103-a4f9-95141514f845", "width": 0, @@ -1499,7 +1426,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "f621464b-01b6-4d12-8dfa-ac8707d6f4c5", "width": 0, @@ -1515,7 +1441,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "1fb07204-66af-4481-87d9-af83a2380e2d", "width": 0, @@ -1531,7 +1456,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SlimeWalk", "persistentUuid": "6bb52b07-e9c8-4d23-a97e-bdfd3bef73fa", "width": 0, @@ -1547,7 +1471,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "35291db3-5afb-452a-b9de-b1c8a28c924f", "width": 0, @@ -1563,7 +1486,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "dc439743-08c3-46e2-8a46-f42ac9041d0f", "width": 0, @@ -1579,7 +1501,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "eb5479e9-b562-4420-8c6b-5cc67b88afd1", "width": 0, @@ -1595,7 +1516,6 @@ "customSize": true, "height": 78.2958, "layer": "GUI", - "locked": false, "name": "LeftButton", "persistentUuid": "3cf709c1-47c7-499b-b49c-1f94cc33a9b0", "width": 97.5489, @@ -1611,7 +1531,6 @@ "customSize": true, "height": 76.5471, "layer": "GUI", - "locked": false, "name": "RightButton", "persistentUuid": "609475cc-8a0e-4a97-8200-56e3ff8451f6", "width": 94.1152, @@ -1627,7 +1546,6 @@ "customSize": true, "height": 202.235, "layer": "GUI", - "locked": false, "name": "ArrowButtonsBg", "persistentUuid": "90ce50f9-249d-4bee-a8a9-b1042d48750b", "width": 202.235, @@ -1643,7 +1561,6 @@ "customSize": true, "height": 107.992, "layer": "GUI", - "locked": false, "name": "JumpButton", "persistentUuid": "67cb62f2-5f86-4787-a534-5b8f5a2abc35", "width": 107.992, @@ -1659,7 +1576,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "ec3bfa6b-76a8-4c1d-8474-7b2e323a5a05", "width": 0, @@ -1675,7 +1591,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Coin", "persistentUuid": "9ec884c2-d959-4975-b3c3-283ae6db1bb5", "width": 0, @@ -1707,7 +1622,6 @@ "customSize": true, "height": 322, "layer": "", - "locked": false, "name": "Ladder", "persistentUuid": "7ac25505-19d2-4f57-b652-23b84f8c174b", "width": 70, @@ -1723,7 +1637,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Checkpoint", "persistentUuid": "10a2b255-a0f3-459d-855b-7af98673c068", "width": 0, @@ -1739,7 +1652,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Checkpoint", "persistentUuid": "3763e8c5-3f1f-4231-8b42-808ee4237d38", "width": 0, @@ -1755,7 +1667,6 @@ "customSize": true, "height": 95, "layer": "GUI", - "locked": false, "name": "TopButton", "persistentUuid": "4d0d1d8a-a4fb-40d1-a51f-83e795c2d8c3", "width": 76, @@ -1771,7 +1682,6 @@ "customSize": true, "height": 97, "layer": "GUI", - "locked": false, "name": "BottomButton", "persistentUuid": "3e876fc1-c96f-45ac-acc0-a922cf9e8839", "width": 79, @@ -1787,7 +1697,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoRight", "persistentUuid": "5fcd4111-d503-4f5c-b3f6-1e80c21b7d4a", "width": 0, @@ -1803,7 +1712,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GoLeft", "persistentUuid": "6e55343a-aa3a-485f-bedb-064c8f42cb01", "width": 0, @@ -1819,7 +1727,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Fly", "persistentUuid": "235f6615-086e-4ebf-bdcf-22ea2a8fd28c", "width": 0, @@ -1833,8 +1740,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2132,8 +2040,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Platform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2247,8 +2156,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Jumpthru", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2314,9 +2224,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledGrassPlatform", - "tags": "", "texture": "grassHalfMid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2333,9 +2243,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "TiledCastlePlatform", - "tags": "", "texture": "castleCenter.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2352,8 +2262,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "MovingPlatform", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2419,8 +2330,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoLeft", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2478,8 +2390,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GoRight", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2537,9 +2450,9 @@ ] }, { + "assetStoreId": "", "height": 70, "name": "Ladder", - "tags": "", "texture": "ladder_mid.png", "type": "TiledSpriteObject::TiledSprite", "width": 70, @@ -2556,8 +2469,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerHitBox", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2633,8 +2547,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "SlimeWalk", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [ @@ -2803,8 +2718,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Fly", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -2967,8 +2883,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BackgroundObjects", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3085,11 +3002,11 @@ ] }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Score", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], @@ -3097,16 +3014,40 @@ "behaviors": [], "string": "x 0", "font": "Bimbo_JVE.ttf", + "textAlignment": "", "characterSize": 40, "color": { "b": 0, "g": 0, "r": 0 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "x 0", + "font": "Bimbo_JVE.ttf", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 40, + "lineHeight": 0, + "color": "0;0;0" } }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Coin", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3169,8 +3110,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "CoinIcon", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3228,8 +3170,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "LeftButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3287,8 +3230,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "RightButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3346,8 +3290,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "JumpButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3415,8 +3360,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "ArrowButtonsBg", - "tags": "", "type": "Sprite", "updateIfNotVisible": true, "variables": [], @@ -3474,9 +3420,9 @@ ] }, { + "assetStoreId": "", "height": 128, "name": "TiledForestBackground", - "tags": "", "texture": "tiled_Forest Background.png", "type": "TiledSpriteObject::TiledSprite", "width": 128, @@ -3490,8 +3436,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Checkpoint", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -3530,8 +3477,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "TopButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -3570,8 +3518,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BottomButton", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], @@ -3610,9 +3559,9 @@ ] }, { + "assetStoreId": "", "height": 32, "name": "FadeIn", - "tags": "", "texture": "NewFile-1.png", "type": "TiledSpriteObject::TiledSprite", "width": 32, @@ -3626,57 +3575,126 @@ ] } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Player" + }, + { + "objectName": "Platform" + }, + { + "objectName": "Jumpthru" + }, + { + "objectName": "TiledGrassPlatform" + }, + { + "objectName": "TiledCastlePlatform" + }, + { + "objectName": "MovingPlatform" + }, + { + "objectName": "GoLeft" + }, + { + "objectName": "GoRight" + }, + { + "objectName": "Ladder" + }, + { + "objectName": "PlayerHitBox" + }, + { + "objectName": "SlimeWalk" + }, + { + "objectName": "Fly" + }, + { + "objectName": "BackgroundObjects" + }, + { + "objectName": "Score" + }, + { + "objectName": "Coin" + }, + { + "objectName": "CoinIcon" + }, + { + "objectName": "LeftButton" + }, + { + "objectName": "RightButton" + }, + { + "objectName": "JumpButton" + }, + { + "objectName": "ArrowButtonsBg" + }, + { + "objectName": "TiledForestBackground" + }, + { + "objectName": "Checkpoint" + }, + { + "objectName": "TopButton" + }, + { + "objectName": "BottomButton" + }, + { + "objectName": "FadeIn" + } + ] + }, "events": [ { "colorB": 228, "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, "folded": true, "name": "Classic platformer example", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "PlayerHitBox" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "SetCenter" }, "parameters": [ @@ -3685,15 +3703,11 @@ "PlayerHitBox.CenterX()", "=", "PlayerHitBox.CenterY()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -3707,54 +3721,43 @@ "comment2": "On change l'animation en fonction de ce que fait le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsJumping" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Player", "\"Jumping\"" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3763,68 +3766,53 @@ "", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Player", "\"Jumping\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -3835,158 +3823,124 @@ "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Player", "\"Idle\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsMoving" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Player", "\"Running\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnLadder" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Player", "\"Jumping\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Player", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Right" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Player", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4000,14 +3954,11 @@ "comment2": "On s'assure que la caméra suit le joueur." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "CameraX" }, "parameters": [ @@ -4016,15 +3967,11 @@ "Player.X()", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4038,77 +3985,61 @@ "comment2": "Gestion de la plateforme bougeante:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoLeft" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "GoRight" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4116,44 +4047,35 @@ "-150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "MovingPlatform", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Arreter" }, "parameters": [ "MovingPlatform" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -4161,15 +4083,11 @@ "150", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4183,8 +4101,6 @@ "comment2": "Enemis :" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -4192,8 +4108,6 @@ "target": "EnemiesManagement" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4207,51 +4121,42 @@ "comment2": "Objets:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Coin", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "255" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Coin", "=", "254" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -4260,24 +4165,20 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "100" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Tween::AddObjectOpacityTween" }, "parameters": [ @@ -4288,12 +4189,10 @@ "\"easeInQuad\"", "700", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Tween::AddObjectPositionYTween" }, "parameters": [ @@ -4304,43 +4203,35 @@ "\"easeOutQuad\"", "700", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "colorB": 228, "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, "folded": true, "name": "Interface", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Score", "=", "\"x \"+ToString(Variable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -4350,15 +4241,12 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, "folded": true, "name": "Virtual controls", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -4368,81 +4256,63 @@ }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "VirtualControls" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Visible" }, "parameters": [ "VirtualControls" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TouchSimulateMouse" }, "parameters": [ "", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4450,33 +4320,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4484,33 +4347,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4518,44 +4374,35 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateUpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLadderKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4563,33 +4410,26 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateDownKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4597,24 +4437,20 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -4626,15 +4462,12 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, "folded": true, "name": "Checkpoint and player death", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4644,17 +4477,13 @@ "textG": 0, "textR": 0 }, - "comment": "Save the player progress in two variables, that are the position of the last checkpoint that is touched", - "comment2": "" + "comment": "Save the player progress in two variables, that are the position of the last checkpoint that is touched" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -4663,49 +4492,39 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "CheckpointX", "=", "Checkpoint.X()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "CheckpointY", "=", "Checkpoint.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4715,31 +4534,25 @@ "textG": 0, "textR": 0 }, - "comment": "If the player was declared as dead (by falling or colliding with an enemy), go back to the last checkpoint", - "comment2": "" + "comment": "If the player was declared as dead (by falling or colliding with an enemy), go back to the last checkpoint" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "PlayerJustDead", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "MettreXY" }, "parameters": [ @@ -4748,24 +4561,20 @@ "Variable(CheckpointX)", "=", "Variable(CheckpointY)-PlayerHitBox.Height()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "PlayerJustDead", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -4774,14 +4583,11 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4791,18 +4597,14 @@ "textG": 0, "textR": 0 }, - "comment": "Make a fade in effect", - "comment2": "" + "comment": "Make a fade in effect" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -4811,36 +4613,30 @@ "0", "0", "\"GUI\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TiledSpriteObject::Width" }, "parameters": [ "FadeIn", "=", "SceneWindowWidth()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TiledSpriteObject::Height" }, "parameters": [ "FadeIn", "=", "SceneWindowHeight()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Tween::AddObjectOpacityTween" }, "parameters": [ @@ -4851,51 +4647,40 @@ "\"easeInQuad\"", "1500", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosY" }, "parameters": [ "PlayerHitBox", ">", "1000" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "PlayerJustDead", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4905,8 +4690,7 @@ "textG": 0, "textR": 0 }, - "comment": "Note: see the events about the enemies to find out how the player is declared dead after touching an enemy", - "comment2": "" + "comment": "Note: see the events about the enemies to find out how the player is declared dead after touching an enemy" } ], "parameters": [] @@ -4915,8 +4699,6 @@ "parameters": [] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -4926,12 +4708,9 @@ "textG": 0, "textR": 0 }, - "comment": "Include external event to allow double jump either from the floor or the ladder with space bar key", - "comment2": "" + "comment": "Include external event to allow double jump either from the floor or the ladder with space bar key" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Link", "include": { "includeConfig": 0 @@ -4944,9 +4723,16 @@ "ambientLightColorB": 1702453632, "ambientLightColorG": 0, "ambientLightColorR": 0, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "Background", + "renderingType": "", "visibility": true, "cameras": [], "effects": [] @@ -4955,9 +4741,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -4977,9 +4770,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "GUI", + "renderingType": "", "visibility": true, "cameras": [ { @@ -5023,12 +4823,9 @@ "externalEvents": [ { "associatedLayout": "New scene", - "lastChangeTimeStamp": 0, "name": "AllowDoubleJump", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5038,12 +4835,9 @@ "textG": 0, "textR": 0 }, - "comment": "for more examples visit gametemplates.itch.io", - "comment2": "" + "comment": "for more examples visit gametemplates.itch.io" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5053,44 +4847,34 @@ "textG": 0, "textR": 0 }, - "comment": "Initialize a variable to store how many times the player jumped", - "comment2": "" + "comment": "Initialize a variable to store how many times the player jumped" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "jumpCount", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5100,12 +4884,9 @@ "textG": 0, "textR": 0 }, - "comment": "If player is jumping OR falling AND the value of jumpCount is less than 2, so the player did not jumped twice then allow again jumping if the space key is pressed and also increase the value of jumpCount so we know how many times the player jumped", - "comment2": "" + "comment": "If player is jumping OR falling AND the value of jumpCount is less than 2, so the player did not jumped twice then allow again jumping if the space key is pressed and also increase the value of jumpCount so we know how many times the player jumped" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5115,117 +4896,94 @@ "textG": 0, "textR": 0 }, - "comment": "If you want to allow the player to jump say 3 times, then change the value from 2 to 3", - "comment2": "" + "comment": "If you want to allow the player to jump say 3 times, then change the value from 2 to 3" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsJumping" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ] }, { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "jumpCount", "<", "2" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "KeyPressed" }, "parameters": [ "", "Space" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "jumpCount", "+", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5235,42 +4993,34 @@ "textG": 0, "textR": 0 }, - "comment": "If the player is on the floor OR on the ladder, set the variable jumpCount back to 0 so we can double jump again", - "comment2": "" + "comment": "If the player is on the floor OR on the ladder, set the variable jumpCount back to 0 so we can double jump again" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnFloor" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::IsOnLadder" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ] } @@ -5278,61 +5028,48 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "jumpCount", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { "associatedLayout": "New scene", - "lastChangeTimeStamp": 1383154432, "name": "EnemiesManagement", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Fly", "PlatformerObject", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5342,12 +5079,9 @@ "textG": 0, "textR": 0 }, - "comment": "Handling living enemies:", - "comment2": "" + "comment": "Handling living enemies:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -5358,15 +5092,12 @@ "parameters": [ "Enemy", "\"Dead\"" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5376,31 +5107,25 @@ "textG": 0, "textR": 0 }, - "comment": "Enemies movement. Note that we made a very simple movement here, that could be put in a separate behavior. You may want to explore behaviors available for objects and combine them with events to do more complex logic for the enemies.", - "comment2": "" + "comment": "Enemies movement. Note that we made a very simple movement here, that could be put in a separate behavior. You may want to explore behaviors available for objects and combine them with events to do more complex logic for the enemies." }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoLeft", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5408,34 +5133,27 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "GoRight", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5443,20 +5161,15 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5464,14 +5177,12 @@ "GoingLeft", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -5479,42 +5190,33 @@ "-300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateLeftKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5522,14 +5224,12 @@ "GoingLeft", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -5537,37 +5237,29 @@ "300", "0", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateRightKey" }, "parameters": [ "Enemy", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "FlipX" }, "parameters": [ "Enemy", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5581,70 +5273,57 @@ "comment2": "Gestion des collisions avec le joueur:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ "PlayerHitBox", "Enemy", "" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PlatformBehavior::IsFalling" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Enemy", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ActivateBehavior" }, "parameters": [ "Enemy", "PlatformerObject", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::Gravity" }, "parameters": [ @@ -5652,34 +5331,28 @@ "PlatformerObject", "=", "1500" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SetCanJump" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5688,38 +5361,30 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::ForEach", "object": "Enemy", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "Score", "+", "50" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { @@ -5730,33 +5395,27 @@ "parameters": [ "PlayerHitBox", "PlatformerObject" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "PlayerJustDead", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -5770,20 +5429,16 @@ "comment2": "Disparition des ennemis:" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "AnimationName" }, "parameters": [ "Enemy", "\"Dead\"" - ], - "subInstructions": [] + ] }, { "type": { @@ -5794,14 +5449,12 @@ "Enemy", "Tween", "\"FadeOut\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Tween::AddObjectOpacityTween" }, "parameters": [ @@ -5812,11 +5465,9 @@ "\"easeOutQuad\"", "1500", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -5824,101 +5475,93 @@ "eventsFunctionsExtensions": [ { "author": "4ian", - "description": "Behaviors to animate Tiled Sprite objects in the background, following the camera with a parallax effect.", + "category": "", + "dimension": "", "extensionNamespace": "", "fullName": "Parallax for Tiled Sprite", + "gdevelopVersion": "", "helpPath": "", "iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLWltYWdlLW1vdmUiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTUsM0gxOVYwTDI0LDVMMTksMTBWN0gxNVYzTTIxLDExLjk0VjE5QTIsMiAwIDAsMSAxOSwyMUg1QTIsMiAwIDAsMSAzLDE5VjVBMiwyIDAgMCwxIDUsM0gxMi4wNkMxMiwzLjMzIDEyLDMuNjcgMTIsNEE4LDggMCAwLDAgMjAsMTJDMjAuMzMsMTIgMjAuNjcsMTIgMjEsMTEuOTRNMTksMThMMTQuNSwxMkwxMSwxNi41TDguNSwxMy41TDUsMThIMTlaIiAvPjwvc3ZnPg==", "name": "Parallax", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/image-move.svg", "shortDescription": "Behaviors to animate Tiled Sprite objects in the background, following the camera with a parallax effect.", "version": "1.0.1", + "description": "Behaviors to animate Tiled Sprite objects in the background, following the camera with a parallax effect.", "tags": [ "parallax", "tiled" ], "authorIds": [], "dependencies": [], + "globalVariables": [], + "sceneVariables": [], "eventsFunctions": [], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT" + }, "eventsBasedBehaviors": [ { "description": "Move the image of a Tiled Sprite to follow the camera horizontally with a parallax effect. After adding this to an object, put the object on a layer that is not moving, behind the layer that is followed (for example, a layer called \"Background\").", "fullName": "Horizontal Parallax for a Tiled Sprite", + "helpPath": "", + "iconUrl": "", "name": "HorizontalTiledSpriteParallax", "objectType": "TiledSpriteObject::TiledSprite", + "previewIconUrl": "", "eventsFunctions": [ { - "description": "", "fullName": "", "functionType": "Action", "name": "doStepPostEvents", - "private": false, "sentence": "", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TiledSpriteObject::XOffset" }, "parameters": [ "Object", "=", "CameraX(Object.Behavior::PropertyFollowedLayer(), 0) * Object.Behavior::PropertyParallaxFactor()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TiledSpriteObject::Width" }, "parameters": [ "Object", "=", "CameraWidth(Object.Layer(), 0)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ { - "codeOnly": false, - "defaultValue": "", "description": "Object", - "longDescription": "", "name": "Object", - "optional": false, "supplementaryInformation": "TiledSpriteObject::TiledSprite", "type": "object" }, { - "codeOnly": false, - "defaultValue": "", "description": "Behavior", - "longDescription": "", "name": "Behavior", - "optional": false, "supplementaryInformation": "Parallax::HorizontalTiledSpriteParallax", "type": "behavior" } @@ -5926,105 +5569,102 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, "propertyDescriptors": [ { "value": "0.5", "type": "Number", "label": "Parallax factor (speed for the parallax, usually between 0 and 1)", - "description": "", - "extraInformation": [], - "hidden": false, "name": "ParallaxFactor" }, { "value": "", "type": "String", "label": "Layer to be followed (leave empty for the base layer)", - "description": "", - "extraInformation": [], - "hidden": false, "name": "FollowedLayer" } - ] + ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "ParallaxFactor" + }, + { + "propertyName": "FollowedLayer" + } + ] + } }, { "description": "Move the image of a Tiled Sprite to follow the camera vertically with a parallax effect. After adding this to an object, put the object on a layer that is not moving, behind the layer that is followed (for example, a layer called \"Background\").", "fullName": "Vertical Parallax for a Tiled Sprite", + "helpPath": "", + "iconUrl": "", "name": "VerticalTiledSpriteParallax", "objectType": "TiledSpriteObject::TiledSprite", + "previewIconUrl": "", "eventsFunctions": [ { - "description": "", "fullName": "", "functionType": "Action", "name": "doStepPostEvents", - "private": false, "sentence": "", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TiledSpriteObject::YOffset" }, "parameters": [ "Object", "=", "CameraY(Object.Behavior::PropertyFollowedLayer(), 0) * Object.Behavior::PropertyParallaxFactor()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TiledSpriteObject::Height" }, "parameters": [ "Object", "=", "CameraHeight(Object.Layer(), 0)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ { - "codeOnly": false, - "defaultValue": "", "description": "Object", - "longDescription": "", "name": "Object", - "optional": false, "supplementaryInformation": "TiledSpriteObject::TiledSprite", "type": "object" }, { - "codeOnly": false, - "defaultValue": "", "description": "Behavior", - "longDescription": "", "name": "Behavior", - "optional": false, "supplementaryInformation": "Parallax::VerticalTiledSpriteParallax", "type": "behavior" } @@ -6032,30 +5672,43 @@ "objectGroups": [] } ], + "eventsFunctionsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "functionName": "doStepPostEvents" + } + ] + }, "propertyDescriptors": [ { "value": "0.5", "type": "Number", "label": "Parallax factor (speed for the parallax, usually between 0 and 1)", - "description": "", - "extraInformation": [], - "hidden": false, "name": "ParallaxFactor" }, { "value": "", "type": "String", "label": "Layer to be followed (leave empty for the base layer)", - "description": "", - "extraInformation": [], - "hidden": false, "name": "FollowedLayer" } - ] + ], + "propertiesFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "propertyName": "ParallaxFactor" + }, + { + "propertyName": "FollowedLayer" + } + ] + } } - ] + ], + "eventsBasedObjects": [] } ], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +} diff --git a/examples/run-dino-run/run-dino-run.json b/examples/run-dino-run/run-dino-run.json index 263244c49..af6e32632 100644 --- a/examples/run-dino-run/run-dino-run.json +++ b/examples/run-dino-run/run-dino-run.json @@ -9593,7 +9593,7 @@ } ], "string": "Game over", - "font": "Chango-Regular.ttf", + "font": "Nathaniel-19.otf", "textAlignment": "center", "characterSize": 60, "color": { @@ -9616,7 +9616,7 @@ "smoothed": true, "underlined": false, "text": "Game over", - "font": "Chango-Regular.ttf", + "font": "Nathaniel-19.otf", "textAlignment": "center", "verticalTextAlignment": "top", "characterSize": 60, @@ -9705,7 +9705,7 @@ "effects": [], "behaviors": [], "string": "Best:", - "font": "Chango-Regular.ttf", + "font": "Nathaniel-19.otf", "textAlignment": "", "characterSize": 40, "color": { @@ -9728,7 +9728,7 @@ "smoothed": true, "underlined": false, "text": "Best:", - "font": "Chango-Regular.ttf", + "font": "Nathaniel-19.otf", "textAlignment": "", "verticalTextAlignment": "top", "characterSize": 40, diff --git a/examples/simple-space-shooter/simple-space-shooter.json b/examples/simple-space-shooter/simple-space-shooter.json index 5ed0ee978..eee62d6b7 100644 --- a/examples/simple-space-shooter/simple-space-shooter.json +++ b/examples/simple-space-shooter/simple-space-shooter.json @@ -1,23 +1,28 @@ { "firstLayout": "", "gdVersion": { - "build": 99, - "major": 4, - "minor": 0, + "build": 271, + "major": 5, + "minor": 6, "revision": 0 }, "properties": { "adaptGameResolutionAtRuntime": false, + "antialiasingMode": "MSAA", + "antialisingEnabledOnMobile": false, "folderProject": false, "orientation": "landscape", "packageName": "com.example.shooter", + "pixelsRounding": false, "projectUuid": "32f06114-e0dc-4a03-96c0-6a794a62fd07", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", + "templateSlug": "", + "useDeprecatedZeroAsDefaultStringVariable": true, "useDeprecatedZeroAsDefaultZOrder": true, - "useExternalSourceFiles": false, "version": "1.0.0", "name": "Space shooter", + "description": "", "author": "", "windowWidth": 800, "windowHeight": 600, @@ -27,68 +32,30 @@ "verticalSync": false, "platformSpecificAssets": {}, "loadingScreen": { - "showGDevelopSplash": true + "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 }, + "watermark": { + "placement": "bottom-left", + "showWatermark": true + }, + "authorIds": [], + "authorUsernames": [], + "categories": [], + "playableDevices": [], "extensionProperties": [], - "extensions": [ - { - "name": "BuiltinObject" - }, - { - "name": "BuiltinAudio" - }, - { - "name": "BuiltinVariables" - }, - { - "name": "BuiltinTime" - }, - { - "name": "BuiltinMouse" - }, - { - "name": "BuiltinKeyboard" - }, - { - "name": "BuiltinJoystick" - }, - { - "name": "BuiltinCamera" - }, - { - "name": "BuiltinWindow" - }, - { - "name": "BuiltinFile" - }, - { - "name": "BuiltinNetwork" - }, - { - "name": "BuiltinScene" - }, - { - "name": "BuiltinAdvanced" - }, - { - "name": "Sprite" - }, - { - "name": "BuiltinCommonInstructions" - }, - { - "name": "BuiltinCommonConversions" - }, - { - "name": "BuiltinStringInstructions" - }, - { - "name": "BuiltinMathematicalTools" - }, - { - "name": "BuiltinExternalLayouts" - } - ], "platforms": [ { "name": "GDevelop JS platform" @@ -99,7 +66,6 @@ "resources": { "resources": [ { - "alwaysLoaded": false, "file": "playerShip2_blue.png", "kind": "image", "metadata": "", @@ -108,7 +74,6 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "meteorBrown_med1.png", "kind": "image", "metadata": "", @@ -117,7 +82,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "laserBlue03.png", "kind": "image", "metadata": "", @@ -126,7 +90,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "enemyBlack1.png", "kind": "image", "metadata": "", @@ -135,7 +98,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "enemyBlue2.png", "kind": "image", "metadata": "", @@ -144,7 +106,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "purpleSpaceBackground.png", "kind": "image", "metadata": "", @@ -153,7 +114,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "laserBlue09.png", "kind": "image", "metadata": "", @@ -162,7 +122,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "laserBlue10.png", "kind": "image", "metadata": "", @@ -171,7 +130,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "laserBlue11.png", "kind": "image", "metadata": "", @@ -180,7 +138,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "enemyGreen3.png", "kind": "image", "metadata": "", @@ -189,7 +146,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "laserRed16.png", "kind": "image", "metadata": "", @@ -198,7 +154,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "laserRed09.png", "kind": "image", "metadata": "", @@ -207,7 +162,6 @@ "userAdded": true }, { - "alwaysLoaded": false, "file": "laserRed10.png", "kind": "image", "metadata": "", @@ -216,18 +170,26 @@ "userAdded": false }, { - "alwaysLoaded": false, "file": "laserRed11.png", "kind": "image", "metadata": "", "name": "laserRed11.png", "smoothed": true, "userAdded": false + }, + { + "file": "kenvector_future.ttf", + "kind": "font", + "metadata": "", + "name": "kenvector_future.ttf", + "userAdded": false } - ], - "resourceFolders": [] + ] }, "objects": [], + "objectsFolderStructure": { + "folderName": "__ROOT" + }, "objectsGroups": [], "variables": [], "layouts": [ @@ -236,9 +198,6 @@ "disableInputWhenNotFocused": true, "mangledName": "Game", "name": "Game", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 209, "standardSortMethod": true, "stopSoundsOnStartup": true, @@ -246,17 +205,20 @@ "v": 209, "uiSettings": { "grid": false, - "gridB": 255, - "gridG": 180, + "gridType": "rectangular", + "gridWidth": 32, "gridHeight": 32, + "gridDepth": 32, "gridOffsetX": 0, "gridOffsetY": 0, - "gridR": 158, - "gridType": "rectangular", - "gridWidth": 32, + "gridOffsetZ": 0, + "gridColor": 10401023, + "gridAlpha": 0.8, "snap": true, + "zoomFactor": 1, "windowMask": false, - "zoomFactor": 1 + "selectedLayer": "", + "gameEditorMode": "instances-editor" }, "objectsGroups": [ { @@ -301,7 +263,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Player", "persistentUuid": "2b894e38-dd66-4e94-a1c8-da38273af9b0", "width": 0, @@ -317,7 +278,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "116829dc-cb4a-4bf9-a36a-6c1280b21a69", "width": 0, @@ -333,7 +293,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "9c9d604f-f6b5-4390-b149-89b4c00a7ed9", "width": 0, @@ -349,7 +308,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "3b3ba70c-846d-41dc-8a9f-1e1f67ff1db6", "width": 0, @@ -365,7 +323,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "d90daaea-5dd6-412e-9d5e-16801fd9ee17", "width": 0, @@ -381,7 +338,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "976fb167-f083-49b4-a09e-41cb07460760", "width": 0, @@ -397,7 +353,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "d823a9e1-3a49-4455-b53e-01eb680e036d", "width": 0, @@ -413,7 +368,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "dd09a597-9402-4dae-97a1-1d73f07a77fa", "width": 0, @@ -429,7 +383,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "0f35c894-99c9-4686-978f-8f3f65d2917d", "width": 0, @@ -445,7 +398,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "5704e279-011f-4368-8c47-b7e68ce48934", "width": 0, @@ -461,7 +413,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "03bd2148-999b-48f0-b6a5-9daa37c50a4c", "width": 0, @@ -477,7 +428,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "5052b5f4-97c7-405b-9b70-664711e9aa05", "width": 0, @@ -493,7 +443,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "28093e8d-575a-47dc-8a3d-debe336cdb45", "width": 0, @@ -509,7 +458,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "c2e4a6ba-94f2-40cb-a19d-59b6864b3f02", "width": 0, @@ -525,7 +473,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "f2063512-2454-44fb-9034-12d357c17cdd", "width": 0, @@ -541,7 +488,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "870b521a-e170-4712-a47d-41a7a7fa72d4", "width": 0, @@ -557,7 +503,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "4f6ebe10-d420-4605-a0ff-ace3140037d7", "width": 0, @@ -573,7 +518,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "ab632f84-9cdd-475d-919e-b99c649590d7", "width": 0, @@ -589,7 +533,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "cb37f73b-087e-4fa8-a251-68b50644735e", "width": 0, @@ -605,7 +548,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "5323147f-0dde-45e5-a1e8-9b68b6aba68b", "width": 0, @@ -621,7 +563,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "d08d53d9-be5d-4f03-b5d6-b77ee9ec2d14", "width": 0, @@ -637,7 +578,6 @@ "customSize": true, "height": 617.063, "layer": "SpaceBackground", - "locked": false, "name": "SpaceBackground", "persistentUuid": "bfc4a189-ccab-4df1-99ab-1ddba3270e7e", "width": 2153.37, @@ -653,7 +593,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "853f08ed-52d8-4587-b387-7c888a0f8187", "width": 0, @@ -669,7 +608,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "b379295f-1529-4770-94c4-ab24bdf96ef0", "width": 0, @@ -685,7 +623,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "e4d37e2e-287f-4ff8-9d80-a86abf61d239", "width": 0, @@ -701,7 +638,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "0be066c7-3449-4410-b4f6-1a89ec36971b", "width": 0, @@ -717,7 +653,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "80fb0013-ab88-498c-8bb3-ef99b9319050", "width": 0, @@ -733,7 +668,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "80afccc4-7eb5-4afd-90ed-957de412f16a", "width": 0, @@ -749,7 +683,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "184a51de-813d-4f8e-a0d2-9a00e9deb687", "width": 0, @@ -765,7 +698,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "61112840-2853-4d1d-b498-282c953ec2d2", "width": 0, @@ -781,7 +713,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "330d675c-a21c-4652-8d1b-db1a41cfe870", "width": 0, @@ -797,7 +728,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "33855c69-a2f3-4d75-ade7-2ccf8d23349a", "width": 0, @@ -813,7 +743,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "f5efca86-9813-4333-b9b9-89ef8af35036", "width": 0, @@ -829,7 +758,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "ec3f76a2-a8b8-4c61-8923-683123780dab", "width": 0, @@ -845,7 +773,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "405c1216-3f49-4ae6-88a1-1233d68ac819", "width": 0, @@ -861,7 +788,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "f224f1a1-4227-437a-9428-bcd6bd706e43", "width": 0, @@ -877,7 +803,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "b242e610-4c69-4455-bd08-2f0bd7f064a9", "width": 0, @@ -893,7 +818,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "aa97b0f7-eace-4c5f-b7b4-ccfe34bf07be", "width": 0, @@ -909,7 +833,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "4aa1109d-7dfb-4d96-8949-082e879b43e2", "width": 0, @@ -925,7 +848,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "b437a9d0-97d9-46fe-ac66-5e123cafb3ed", "width": 0, @@ -941,7 +863,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "7fd86117-1287-4155-993c-0ecc201f5f60", "width": 0, @@ -957,7 +878,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "9ecb5291-b131-4d5d-a5e7-42ac71f29964", "width": 0, @@ -973,7 +893,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "1abe80b4-19c6-4e3f-9c18-1386eb6edde3", "width": 0, @@ -989,7 +908,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "fc62f31b-5b78-430c-9414-bdd420b2dadd", "width": 0, @@ -1005,7 +923,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "200fd8e9-01dd-427b-890a-91bfd1a108e5", "width": 0, @@ -1021,7 +938,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "4cc86757-d6e0-4d3f-a593-faeefeee7c71", "width": 0, @@ -1037,7 +953,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "e90de0c0-e033-40c5-bc48-fe4fe89df003", "width": 0, @@ -1053,7 +968,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "c3e8839c-515b-4527-b7c6-92d798fa0cd2", "width": 0, @@ -1069,7 +983,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "6e64201e-e409-4ffc-8590-272462d5df2a", "width": 0, @@ -1085,7 +998,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "76ad8dfc-5242-4058-a99b-4900508d2362", "width": 0, @@ -1101,7 +1013,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "81dc6103-6a3e-4aa5-ba2d-1725b10534f1", "width": 0, @@ -1117,7 +1028,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "dfcc7494-5fc1-4077-9655-82735176150b", "width": 0, @@ -1133,7 +1043,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "57b326e5-4108-4a53-8dba-2f3c177ae8c8", "width": 0, @@ -1149,7 +1058,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "df267ec7-f4a9-4a35-b41a-d9a75190e27b", "width": 0, @@ -1165,7 +1073,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "eb1d3d52-925d-41e6-a1ae-ef7052c22fe9", "width": 0, @@ -1181,7 +1088,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "2d40d49d-dc5b-4db5-baaf-db4c93415a40", "width": 0, @@ -1197,7 +1103,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "05631781-bf11-44d5-a1a8-6829934087bc", "width": 0, @@ -1213,7 +1118,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "96a73172-5746-4d4d-80ef-1dd11d95296e", "width": 0, @@ -1229,7 +1133,6 @@ "customSize": false, "height": 0, "layer": "GameOver", - "locked": false, "name": "GameOver", "persistentUuid": "12635282-3063-4ad2-9b24-230f5dc1095b", "width": 0, @@ -1245,7 +1148,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "84ba6922-8114-44b3-8b0d-4cb3981d0a62", "width": 0, @@ -1261,7 +1163,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "cee2bc5f-8e47-4b33-b9bb-f4211bcb317c", "width": 0, @@ -1277,7 +1178,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "4b726130-34f3-4af7-bfeb-26200c76c498", "width": 0, @@ -1293,7 +1193,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "be1b32f5-6bad-4c3b-b376-3bfb8d0c5918", "width": 0, @@ -1309,7 +1208,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "d5f72517-b921-402f-892b-2dcc1685fa24", "width": 0, @@ -1325,7 +1223,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "ba7ac15b-5700-4d44-a959-454533986fda", "width": 0, @@ -1341,7 +1238,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "b92a061f-310c-4c57-9387-db9391d34c99", "width": 0, @@ -1357,7 +1253,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "1cce21da-2ca6-45b8-9b40-04c011d0e43c", "width": 0, @@ -1373,7 +1268,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "69e2b28f-a57b-4860-8dd3-2f1587bde977", "width": 0, @@ -1389,7 +1283,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Rock", "persistentUuid": "f0485adb-532f-4ffa-83c2-dd33e5e515bb", "width": 0, @@ -1405,7 +1298,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlackEnemy", "persistentUuid": "e6c6cada-f096-4fdd-a03d-f2e49939f7c1", "width": 0, @@ -1421,7 +1313,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "51fba788-d528-4f0c-86aa-58f0b49cf15d", "width": 0, @@ -1437,7 +1328,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "e1b1b321-e3a9-432b-9c62-f3633707bca9", "width": 0, @@ -1453,7 +1343,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "BlueEnemy", "persistentUuid": "a8dad99f-ef68-4493-9015-bc9de78f3f07", "width": 0, @@ -1469,7 +1358,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "5eb6933a-5620-429a-99ed-0fde44ee3ef8", "width": 0, @@ -1485,7 +1373,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "GreenEnemy", "persistentUuid": "a87d7c7d-fcc8-4438-bd9b-a169b66e00b1", "width": 0, @@ -1499,8 +1386,9 @@ ], "objects": [ { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Player", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [ @@ -1510,6 +1398,7 @@ "value": "3" } ], + "effects": [], "behaviors": [ { "name": "TopDownMovement", @@ -1557,8 +1446,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "Rock", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [ @@ -1568,6 +1458,7 @@ "value": "1" } ], + "effects": [], "behaviors": [], "animations": [ { @@ -1602,11 +1493,13 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerBullet", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], + "effects": [], "behaviors": [ { "name": "DestroyOutside", @@ -1647,8 +1540,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BlackEnemy", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [ @@ -1658,6 +1552,7 @@ "value": "4" } ], + "effects": [], "behaviors": [], "animations": [ { @@ -1692,8 +1587,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "BlueEnemy", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [ @@ -1703,6 +1599,7 @@ "value": "6" } ], + "effects": [], "behaviors": [], "animations": [ { @@ -1737,21 +1634,24 @@ ] }, { + "assetStoreId": "", "height": 256, "name": "SpaceBackground", - "tags": "", "texture": "purpleSpaceBackground.png", "type": "TiledSpriteObject::TiledSprite", "width": 256, "variables": [], + "effects": [], "behaviors": [] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "PlayerParticle", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], + "effects": [], "behaviors": [], "animations": [ { @@ -1844,8 +1744,9 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "GreenEnemy", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [ @@ -1855,6 +1756,7 @@ "value": "2" } ], + "effects": [], "behaviors": [], "animations": [ { @@ -1889,11 +1791,13 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "EnemyBullet", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], + "effects": [], "behaviors": [], "animations": [ { @@ -1928,11 +1832,13 @@ ] }, { + "adaptCollisionMaskAutomatically": false, + "assetStoreId": "", "name": "EnemyParticle", - "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], + "effects": [], "behaviors": [], "animations": [ { @@ -2025,86 +1931,134 @@ ] }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "GameOver", "smoothed": true, - "tags": "", "type": "TextObject::Text", "underlined": false, "variables": [], + "effects": [], "behaviors": [], "string": "GAME OVER", "font": "kenvector_future.ttf", + "textAlignment": "", "characterSize": 60, "color": { "b": 255, "g": 255, "r": 255 + }, + "content": { + "bold": false, + "isOutlineEnabled": false, + "isShadowEnabled": false, + "italic": false, + "outlineColor": "255;255;255", + "outlineThickness": 2, + "shadowAngle": 90, + "shadowBlurRadius": 2, + "shadowColor": "0;0;0", + "shadowDistance": 4, + "shadowOpacity": 127, + "smoothed": true, + "underlined": false, + "text": "GAME OVER", + "font": "kenvector_future.ttf", + "textAlignment": "", + "verticalTextAlignment": "top", + "characterSize": 60, + "lineHeight": 0, + "color": "255;255;255" } } ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Player" + }, + { + "objectName": "Rock" + }, + { + "objectName": "PlayerBullet" + }, + { + "objectName": "BlackEnemy" + }, + { + "objectName": "BlueEnemy" + }, + { + "objectName": "SpaceBackground" + }, + { + "objectName": "PlayerParticle" + }, + { + "objectName": "GreenEnemy" + }, + { + "objectName": "EnemyBullet" + }, + { + "objectName": "EnemyParticle" + }, + { + "objectName": "GameOver" + } + ] + }, "events": [ { "colorB": 228, "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "In game", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "Pause", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "HideLayer" }, "parameters": [ "", "\"GameOver\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "CameraX" }, "parameters": [ @@ -2113,54 +2067,43 @@ "200*TimeDelta()", "\"\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "colorB": 228, "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Initialisation", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Rock", "=", "Random(360)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -2170,20 +2113,15 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Player", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -2191,26 +2129,22 @@ "Life", ">=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Timer" }, "parameters": [ "", "0.15", "\"PlayerShootTimer\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -2219,12 +2153,10 @@ "Player.X()", "Player.Y() + 20", "\"\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -2233,12 +2165,10 @@ "Player.X()", "Player.Y() + 80", "\"\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -2246,12 +2176,10 @@ "1000", "0", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -2260,32 +2188,25 @@ "", "5", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ResetTimer" }, "parameters": [ "", "\"PlayerShootTimer\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -2293,20 +2214,15 @@ "200", "0", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -2314,22 +2230,18 @@ "Life", "<=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Repeat", "repeatExpression": "20", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -2338,43 +2250,34 @@ "Player.X()+Random(20)", "Player.Y()+Random(20)", "\"\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "GameOver", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Player", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -2383,8 +2286,6 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Virtual controls", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -2392,155 +2293,123 @@ "parameters": [] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisBouton" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosX" }, "parameters": [ "Player", ">", "MouseX(\"\", 0)+10" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TopDownMovementBehavior::SimulateLeftKey" }, "parameters": [ "Player", "TopDownMovement" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosX" }, "parameters": [ "Player", "<", "MouseX(\"\", 0)-10" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TopDownMovementBehavior::SimulateRightKey" }, "parameters": [ "Player", "TopDownMovement" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosY" }, "parameters": [ "Player", "<", "MouseY(\"\", 0)-10" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TopDownMovementBehavior::SimulateDownKey" }, "parameters": [ "Player", "TopDownMovement" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosY" }, "parameters": [ "Player", ">", "MouseY(\"\", 0)+10" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TopDownMovementBehavior::SimulateUpKey" }, "parameters": [ "Player", "TopDownMovement" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -2552,28 +2421,22 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Vulnerable (enemies and all objects that can be destroyed by player)", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosX" }, "parameters": [ "Vulnerable", "<", "CameraX(\"\", 0) + CameraWidth(\"\", 0)" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -2583,8 +2446,6 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Living", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -2594,54 +2455,43 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "GreenEnemy", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Timer" }, "parameters": [ "", "0.6", "\"EnemyShootTimer\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ResetTimer" }, "parameters": [ "", "\"EnemyShootTimer\"" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::ForEach", "object": "GreenEnemy", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -2650,12 +2500,10 @@ "GreenEnemy.X()", "GreenEnemy.PointY(\"Centre\")", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -2663,11 +2511,9 @@ "-350", "0", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -2679,21 +2525,16 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "BlueEnemy", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "AddForceXY" }, "parameters": [ @@ -2701,11 +2542,9 @@ "-20", "cos(TimeFromStart())*100", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -2715,21 +2554,16 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "BlackEnemy", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "AddForceVers" }, "parameters": [ @@ -2737,11 +2571,9 @@ "Player", "50", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -2751,32 +2583,25 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Rock", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Rotate" }, "parameters": [ "Rock", "10", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -2789,15 +2614,11 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Collisions/death", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -2807,17 +2628,13 @@ "textG": 0, "textR": 0 }, - "comment": "Collisions with player", - "comment2": "" + "comment": "Collisions with player" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -2825,14 +2642,12 @@ "Vulnerable", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -2841,12 +2656,10 @@ "", "100", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -2854,21 +2667,17 @@ "Life", "-", "1" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Repeat", "repeatExpression": "4", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -2877,37 +2686,28 @@ "Vulnerable.X()", "Vulnerable.Y()", "\"\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Vulnerable", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, @@ -2917,17 +2717,13 @@ "textG": 0, "textR": 0 }, - "comment": "Collisions with player bullets and death", - "comment2": "" + "comment": "Collisions with player bullets and death" }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -2935,14 +2731,12 @@ "PlayerBullet", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -2950,21 +2744,17 @@ "Life", "-", "1" - ], - "subInstructions": [] + ] } ], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::ForEach", "object": "PlayerBullet", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -2973,12 +2763,10 @@ "PlayerBullet.X()", "PlayerBullet.Y()", "\"\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -2987,33 +2775,26 @@ "PlayerBullet.X()", "PlayerBullet.Y()", "\"\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "PlayerBullet", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -3021,14 +2802,12 @@ "Life", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3037,55 +2816,44 @@ "", "20", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Vulnerable", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "PosX" }, "parameters": [ "Vulnerable", "<", "CameraX(\"\", 0) - CameraWidth(\"\", 0)" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Vulnerable", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -3100,20 +2868,15 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Enemy bullets", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "CollisionNP" }, "parameters": [ @@ -3121,14 +2884,12 @@ "EnemyBullet", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -3137,12 +2898,10 @@ "EnemyBullet.X()", "EnemyBullet.Y()", "\"\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -3151,23 +2910,19 @@ "EnemyBullet.X()", "EnemyBullet.Y()", "\"\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "EnemyBullet", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3176,12 +2931,10 @@ "", "20", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -3189,11 +2942,9 @@ "Life", "-", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -3203,77 +2954,61 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Particles", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Particle", "<=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "Particle", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Arret" }, "parameters": [ "Particle" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangePlan" }, "parameters": [ "Particle", "=", "100" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AddForceAL" }, "parameters": [ @@ -3281,56 +3016,45 @@ "-30+Random(60)", "100+Random(40)", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Particle", "=", "Random(2)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeScale" }, "parameters": [ "Particle", "=", "0.3+Random(5)/10" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Opacity" }, "parameters": [ "Particle", "-", "380*TimeDelta()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -3340,32 +3064,25 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Background", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "TiledSpriteObject::XOffset" }, "parameters": [ "SpaceBackground", "+", "100*TimeDelta()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -3380,73 +3097,58 @@ "colorG": 176, "colorR": 74, "creationTime": 0, - "disabled": false, - "folded": false, "name": "Game Over", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarScene" }, "parameters": [ "GameOver", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [], "events": [ { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ResetTimer" }, "parameters": [ "", "\"GameOver\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::Opacity" }, "parameters": [ "GameOver", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3455,77 +3157,61 @@ "", "", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "ShowLayer" }, "parameters": [ "", "\"GameOver\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::Opacity" }, "parameters": [ "GameOver", "+", "255*TimeDelta()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { - "disabled": false, - "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Timer" }, "parameters": [ "", "2.5", "\"GameOver\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -3538,9 +3224,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "SpaceBackground", + "renderingType": "", "visibility": true, "cameras": [], "effects": [] @@ -3549,9 +3242,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "", + "renderingType": "", "visibility": true, "cameras": [ { @@ -3571,9 +3271,16 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 0.1, + "cameraType": "perspective", "followBaseLayerCamera": false, "isLightingLayer": false, + "isLocked": false, "name": "GameOver", + "renderingType": "", "visibility": false, "cameras": [], "effects": [] @@ -3584,6 +3291,5 @@ ], "externalEvents": [], "eventsFunctionsExtensions": [], - "externalLayouts": [], - "externalSourceFiles": [] -} \ No newline at end of file + "externalLayouts": [] +}