Files
GDevelop/GDJS/tests/games/events-function (and events-functions-extensions)/platformer with events functions.json
Florian Rival 53a5dc1742 Add action to set function return value and expressions to get arguments
Also fix unselection of an event function in IDE
2018-10-08 22:21:37 +01:00

5360 lines
142 KiB
JSON

{
"firstLayout": "",
"gdVersion": {
"build": 97,
"major": 4,
"minor": 0,
"revision": 0
},
"properties": {
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",
"orientation": "landscape",
"packageName": "com.example.platformer",
"projectFile": "/Users/florian/Projects/F/GD/GDJS/tests/games/events-function (and events-functions-extensions)/platformer with events functions.json",
"sizeOnStartupMode": "adaptWidth",
"useExternalSourceFiles": false,
"version": "1.0.0",
"winExecutableFilename": "",
"winExecutableIconFile": "",
"name": "Platformer",
"author": "",
"windowWidth": 800,
"windowHeight": 600,
"latestCompilationDirectory": "",
"maxFPS": 60,
"minFPS": 20,
"verticalSync": false,
"platformSpecificAssets": {},
"loadingScreen": {
"showGDevelopSplash": true
},
"extensions": [
{
"name": "BuiltinObject"
},
{
"name": "BuiltinAudio"
},
{
"name": "BuiltinVariables"
},
{
"name": "BuiltinTime"
},
{
"name": "BuiltinMouse"
},
{
"name": "BuiltinKeyboard"
},
{
"name": "BuiltinJoystick"
},
{
"name": "BuiltinCamera"
},
{
"name": "BuiltinWindow"
},
{
"name": "BuiltinFile"
},
{
"name": "BuiltinNetwork"
},
{
"name": "BuiltinScene"
},
{
"name": "BuiltinAdvanced"
},
{
"name": "Sprite"
},
{
"name": "BuiltinCommonInstructions"
},
{
"name": "BuiltinCommonConversions"
},
{
"name": "BuiltinStringInstructions"
},
{
"name": "BuiltinMathematicalTools"
},
{
"name": "BuiltinExternalLayouts"
},
{
"name": "TiledSpriteObject"
},
{
"name": "PlatformBehavior"
},
{
"name": "TextObject"
}
],
"platforms": [
{
"name": "GDevelop JS platform"
}
],
"currentPlatform": "GDevelop JS platform"
},
"resources": {
"resources": [
{
"alwaysLoaded": false,
"file": "p1_stand.png",
"kind": "image",
"name": "p1_stand.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_jump.png",
"kind": "image",
"name": "p1_jump.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk01.png",
"kind": "image",
"name": "p1_walk01.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk02.png",
"kind": "image",
"name": "p1_walk02.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk03.png",
"kind": "image",
"name": "p1_walk03.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk04.png",
"kind": "image",
"name": "p1_walk04.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk05.png",
"kind": "image",
"name": "p1_walk05.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk06.png",
"kind": "image",
"name": "p1_walk06.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk07.png",
"kind": "image",
"name": "p1_walk07.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk08.png",
"kind": "image",
"name": "p1_walk08.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk09.png",
"kind": "image",
"name": "p1_walk09.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk10.png",
"kind": "image",
"name": "p1_walk10.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "p1_walk11.png",
"kind": "image",
"name": "p1_walk11.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "brickWall.png",
"kind": "image",
"name": "brickWall.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "bridge.png",
"kind": "image",
"name": "bridge.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "grassHalfMid.png",
"kind": "image",
"name": "grassHalfMid.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "castleCenter.png",
"kind": "image",
"name": "castleCenter.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "bridgeLogs.png",
"kind": "image",
"name": "bridgeLogs.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "Left.png",
"kind": "image",
"name": "Left.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "Right.png",
"kind": "image",
"name": "Right.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "ladder_mid.png",
"kind": "image",
"name": "ladder_mid.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "Grass.png",
"kind": "image",
"name": "grass.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "PlayerArea.png",
"kind": "image",
"name": "PlayerArea.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "slimeWalk1.png",
"kind": "image",
"name": "slimeWalk1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "slimeWalk2.png",
"kind": "image",
"name": "slimeWalk2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "slimeDead.png",
"kind": "image",
"name": "slimeDead.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "flyFly1.png",
"kind": "image",
"name": "flyFly1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "flyFly2.png",
"kind": "image",
"name": "flyFly2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "flyDead.png",
"kind": "image",
"name": "flyDead.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "cloud1.png",
"kind": "image",
"name": "cloud1.png",
"smoothed": false,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "cloud2.png",
"kind": "image",
"name": "cloud2.png",
"smoothed": false,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "cloud3.png",
"kind": "image",
"name": "cloud3.png",
"smoothed": false,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "bush.png",
"kind": "image",
"name": "bush.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "cactus.png",
"kind": "image",
"name": "cactus.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "plant.png",
"kind": "image",
"name": "plant.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "coinGold.png",
"kind": "image",
"name": "coinGold.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "shadedDark06.png",
"kind": "image",
"name": "shadedDark06.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "shadedDark05.png",
"kind": "image",
"name": "shadedDark05.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "shadedDark45.png",
"kind": "image",
"name": "shadedDark45.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "shadedDark09.png",
"kind": "image",
"name": "shadedDark09.png",
"smoothed": true,
"userAdded": false
}
],
"resourceFolders": []
},
"objects": [],
"objectsGroups": [],
"variables": [],
"layouts": [
{
"b": 247,
"disableInputWhenNotFocused": true,
"mangledName": "New_32scene",
"name": "New scene",
"oglFOV": 90,
"oglZFar": 500,
"oglZNear": 1,
"r": 208,
"standardSortMethod": false,
"stopSoundsOnStartup": true,
"title": "",
"v": 244,
"uiSettings": {
"grid": false,
"gridB": 255,
"gridG": 180,
"gridHeight": 70,
"gridOffsetX": 0,
"gridOffsetY": 0,
"gridR": 158,
"gridWidth": 70,
"snap": true,
"windowMask": true,
"zoomFactor": 0.5306
},
"objectsGroups": [
{
"name": "Enemy",
"objects": [
{
"name": "SlimeWalk"
},
{
"name": "Fly"
}
]
},
{
"name": "VirtualControls",
"objects": [
{
"name": "LeftButton"
},
{
"name": "RightButton"
},
{
"name": "JumpButton"
},
{
"name": "ArrowButtonsBg"
}
]
}
],
"variables": [
{
"name": "Score",
"value": "0"
}
],
"instances": [
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Player",
"width": 0,
"x": 37.1229,
"y": 290.508,
"zOrder": 20,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 742.246,
"y": 500.569,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 933.139,
"y": 300.692,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 755.6,
"y": 418,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 847.908,
"y": 359.923,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1045.68,
"y": 268.769,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1116.6,
"y": 268,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 70,
"layer": "",
"locked": false,
"name": "TiledGrassPlatform",
"width": 4222.89,
"x": -583.046,
"y": 570,
"zOrder": 3,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 487.462,
"layer": "",
"locked": false,
"name": "TiledCastlePlatform",
"width": 502.923,
"x": -572.923,
"y": 83,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "MovingPlatform",
"width": 0,
"x": 1195.45,
"y": 297.615,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1890.68,
"y": 499.692,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1673.6,
"y": 289.692,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1673.6,
"y": 359.692,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1673.6,
"y": 499.692,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1673.6,
"y": 429.692,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1745.52,
"y": 499.385,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1745.52,
"y": 429.385,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1818.75,
"y": 499.692,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1817.75,
"y": 429.692,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoLeft",
"width": 0,
"x": 1667.37,
"y": 291.246,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoRight",
"width": 0,
"x": 1176.98,
"y": 295.169,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 2976.06,
"y": 247.692,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 2593.6,
"y": 499.231,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 2665.83,
"y": 429.231,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 2665.6,
"y": 498.769,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1745.52,
"y": 359.385,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "PlayerHitBox",
"width": 0,
"x": 49.2766,
"y": 291.738,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 194,
"y": 497.569,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "SlimeWalk",
"width": 0,
"x": 687.677,
"y": 527.461,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "SlimeWalk",
"width": 0,
"x": 286.2,
"y": 528.461,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoRight",
"width": 0,
"x": 1971.78,
"y": 539.016,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoLeft",
"width": 0,
"x": 2553.78,
"y": 538.016,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Cloud",
"width": 0,
"x": 2181.78,
"y": 59.0157,
"zOrder": -2,
"numberProperties": [
{
"name": "animation",
"value": 2
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Cloud",
"width": 0,
"x": 151.785,
"y": 182.016,
"zOrder": -2,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Cloud",
"width": 0,
"x": 530.784,
"y": 312.015,
"zOrder": -2,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Cloud",
"width": 0,
"x": 1480.78,
"y": 134.016,
"zOrder": -2,
"numberProperties": [
{
"name": "animation",
"value": 2
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Cloud",
"width": 0,
"x": 2078.78,
"y": 385.016,
"zOrder": -2,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Cloud",
"width": 0,
"x": 1847.78,
"y": 164.016,
"zOrder": -2,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Cloud",
"width": 0,
"x": 1258.78,
"y": 357.015,
"zOrder": -2,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Cloud",
"width": 0,
"x": 664.784,
"y": 170.016,
"zOrder": -2,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 2078.57,
"y": 503.108,
"zOrder": -1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 61,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 66,
"x": 1736.78,
"y": 298.016,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 2
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 611.785,
"y": 505.015,
"zOrder": -2,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 94,
"x": 1249.78,
"y": 500.015,
"zOrder": -1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 536.785,
"y": 503.015,
"zOrder": -2,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 925.784,
"y": 505.015,
"zOrder": -1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 1413.78,
"y": 502.015,
"zOrder": -1,
"numberProperties": [
{
"name": "animation",
"value": 2
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 47,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 58,
"x": 1371.78,
"y": 524.016,
"zOrder": -1,
"numberProperties": [
{
"name": "animation",
"value": 2
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 47,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 58,
"x": 1435.78,
"y": 525.016,
"zOrder": -1,
"numberProperties": [
{
"name": "animation",
"value": 2
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 47,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 58,
"x": 1756.78,
"y": 314.016,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 2
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -43,
"y": 501,
"zOrder": 1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "GUI",
"locked": false,
"name": "Score",
"width": 0,
"x": 66,
"y": 4,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "GUI",
"locked": false,
"name": "CoinIcon",
"width": 0,
"x": 21,
"y": 11,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 1912.83,
"y": 443.308,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 227.769,
"y": 425.277,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 514.954,
"y": 510.092,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 469.785,
"y": 513.092,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 773.846,
"y": 359.816,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 859.831,
"y": 296.262,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 953.292,
"y": 241.431,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 1391.94,
"y": 245.169,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 414.954,
"y": 513.092,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoRight",
"width": 0,
"x": 1145.78,
"y": 205.016,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoLeft",
"width": 0,
"x": 1704.78,
"y": 206.016,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoRight",
"width": 0,
"x": 2593.78,
"y": 369.016,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoLeft",
"width": 0,
"x": 3152.78,
"y": 370.016,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Fly",
"width": 0,
"x": 3103.78,
"y": 354.016,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 2832.06,
"y": 247.692,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 2904.06,
"y": 247.692,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 2992,
"y": 192,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 2849,
"y": 194,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Coin",
"width": 0,
"x": 2921,
"y": 193,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "SlimeWalk",
"width": 0,
"x": 2526,
"y": 530,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "SlimeWalk",
"width": 0,
"x": 1983,
"y": 525,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Fly",
"width": 0,
"x": 1655.78,
"y": 190.016,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoRight",
"width": 0,
"x": 265.877,
"y": 545.185,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoLeft",
"width": 0,
"x": 732.6,
"y": 544.185,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 78.2958,
"layer": "GUI",
"locked": false,
"name": "LeftButton",
"width": 97.5489,
"x": 39,
"y": 448,
"zOrder": 21,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 76.5471,
"layer": "GUI",
"locked": false,
"name": "RightButton",
"width": 94.1152,
"x": 147,
"y": 448,
"zOrder": 22,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 202.235,
"layer": "GUI",
"locked": false,
"name": "ArrowButtonsBg",
"width": 202.235,
"x": 39,
"y": 384,
"zOrder": -10,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 107.992,
"layer": "GUI",
"locked": false,
"name": "JumpButton",
"width": 107.992,
"x": 659,
"y": 457,
"zOrder": 23,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
}
],
"objects": [
{
"name": "Player",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "p1_stand.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "p1_jump.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.05,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "p1_walk03.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
},
{
"hasCustomCollisionMask": false,
"image": "p1_walk04.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
},
{
"hasCustomCollisionMask": false,
"image": "p1_walk05.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
},
{
"hasCustomCollisionMask": false,
"image": "p1_walk06.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
},
{
"hasCustomCollisionMask": false,
"image": "p1_walk07.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "Platform",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"canBeGrabbed": true,
"name": "Platform",
"platformType": "NormalPlatform",
"type": "PlatformBehavior::PlatformBehavior",
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "brickWall.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "grass.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "Jumpthru",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"canBeGrabbed": true,
"name": "Platform",
"platformType": "Jumpthru",
"type": "PlatformBehavior::PlatformBehavior",
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "bridgeLogs.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"height": 70,
"name": "TiledGrassPlatform",
"texture": "grassHalfMid.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 70,
"variables": [],
"behaviors": [
{
"canBeGrabbed": true,
"name": "Platform",
"platformType": "NormalPlatform",
"type": "PlatformBehavior::PlatformBehavior",
"yGrabOffset": 0
}
]
},
{
"height": 70,
"name": "TiledCastlePlatform",
"texture": "castleCenter.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 70,
"variables": [],
"behaviors": [
{
"canBeGrabbed": true,
"name": "Platform",
"platformType": "NormalPlatform",
"type": "PlatformBehavior::PlatformBehavior",
"yGrabOffset": 0
}
]
},
{
"name": "MovingPlatform",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"canBeGrabbed": true,
"name": "Platform",
"platformType": "Jumpthru",
"type": "PlatformBehavior::PlatformBehavior",
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "bridge.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "GoLeft",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "Left.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "GoRight",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "Right.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"height": 70,
"name": "Ladder",
"texture": "ladder_mid.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 70,
"variables": [],
"behaviors": [
{
"canBeGrabbed": true,
"name": "Platform",
"platformType": "Ladder",
"type": "PlatformBehavior::PlatformBehavior",
"yGrabOffset": 0
}
]
},
{
"name": "PlayerHitBox",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"acceleration": 1500,
"canGrabPlatforms": false,
"deceleration": 1500,
"gravity": 1300,
"ignoreDefaultControls": false,
"jumpSpeed": 1000,
"maxFallingSpeed": 1000,
"maxSpeed": 250,
"name": "PlatformerObject",
"slopeMaxAngle": 0,
"type": "PlatformBehavior::PlatformerObjectBehavior",
"xGrabTolerance": 10,
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "PlayerArea.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "SlimeWalk",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [
{
"name": "GoingLeft",
"value": "0"
}
],
"behaviors": [
{
"acceleration": 5000,
"canGrabPlatforms": false,
"deceleration": 5000,
"gravity": 1000,
"ignoreDefaultControls": true,
"jumpSpeed": 600,
"maxFallingSpeed": 700,
"maxSpeed": 75,
"name": "PlatformerObject",
"slopeMaxAngle": 0,
"type": "PlatformBehavior::PlatformerObjectBehavior",
"xGrabTolerance": 10,
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.3,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "slimeWalk1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
},
{
"hasCustomCollisionMask": false,
"image": "slimeWalk2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "slimeDead.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "Fly",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"acceleration": 500,
"canGrabPlatforms": false,
"deceleration": 500,
"gravity": 0,
"ignoreDefaultControls": true,
"jumpSpeed": 600,
"maxFallingSpeed": 700,
"maxSpeed": 400,
"name": "PlatformerObject",
"slopeMaxAngle": 0,
"type": "PlatformBehavior::PlatformerObjectBehavior",
"xGrabTolerance": 10,
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "flyFly1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
},
{
"hasCustomCollisionMask": false,
"image": "flyFly2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "flyDead.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "Cloud",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "cloud1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "cloud2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "cloud3.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "BackgroundObjects",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "bush.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "cactus.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "plant.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"bold": false,
"italic": false,
"name": "Score",
"smoothed": true,
"type": "TextObject::Text",
"underlined": false,
"variables": [],
"behaviors": [],
"string": "x 0",
"font": "Bimbo_JVE.ttf",
"characterSize": 40,
"color": {
"b": 0,
"g": 0,
"r": 0
}
},
{
"name": "Coin",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "coinGold.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "CoinIcon",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "coinGold.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "LeftButton",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "shadedDark05.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "RightButton",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "shadedDark06.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "JumpButton",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"bottomEdgeAnchor": 0,
"leftEdgeAnchor": 2,
"name": "Anchor",
"relativeToOriginalWindowSize": true,
"rightEdgeAnchor": 0,
"topEdgeAnchor": 2,
"type": "AnchorBehavior::AnchorBehavior"
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "shadedDark45.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
},
{
"name": "ArrowButtonsBg",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "shadedDark09.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
}
]
]
}
]
}
]
}
]
}
],
"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::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Platform should rotate =====>",
"comment2": ""
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "RotaterExtension::AlwaysTrue"
},
"parameters": [
""
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "MettreXY"
},
"parameters": [
"Player",
"=",
"PlayerHitBox.X()-12",
"=",
"PlayerHitBox.Y()"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "RotaterExtension::RotatePlease"
},
"parameters": [
"",
"Platform",
"35"
],
"subInstructions": []
}
],
"events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Change the animation according to what the player do.",
"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": []
}
]
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "PlaySound"
},
"parameters": [
"",
"jump.wav",
"",
"",
""
],
"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": [
{
"type": {
"inverted": true,
"value": "PlatformBehavior::IsMoving"
},
"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,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Make sure the camera follows the player.",
"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": [
"",
"=",
"Player.X()",
"",
""
],
"subInstructions": []
}
],
"events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Management of the moving platform:",
"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": [
"MovingPlatform",
"-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": [
"MovingPlatform",
"150",
"0",
"1"
],
"subInstructions": []
}
],
"events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Enemies:",
"comment2": "Enemis :"
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Link",
"include": {
"includeConfig": 0
},
"target": "EnemiesManagement"
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Objects:",
"comment2": "Objets:"
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Link",
"include": {
"includeConfig": 0
},
"target": "ObjectsManagement"
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "GUI:",
"comment2": "Elements de l'interface:"
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Link",
"include": {
"includeConfig": 0
},
"target": "GUIManagement"
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Virtual controls",
"comment2": ""
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": true,
"value": "SystemInfo::IsMobile"
},
"parameters": [],
"subInstructions": []
}
],
"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": [
"LeftButton",
"",
"",
""
],
"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": [
"RightButton",
"",
"",
""
],
"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": [
"JumpButton",
"",
"",
""
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SimulateJumpKey"
},
"parameters": [
"PlayerHitBox",
"PlatformerObject"
],
"subInstructions": []
}
],
"events": []
}
],
"layers": [
{
"name": "",
"visibility": true,
"cameras": [
{
"defaultSize": true,
"defaultViewport": true,
"height": 0,
"viewportBottom": 1,
"viewportLeft": 0,
"viewportRight": 1,
"viewportTop": 0,
"width": 0
}
],
"effects": []
},
{
"name": "GUI",
"visibility": true,
"cameras": [
{
"defaultSize": true,
"defaultViewport": true,
"height": 0,
"viewportBottom": 1,
"viewportLeft": 0,
"viewportRight": 1,
"viewportTop": 0,
"width": 0
}
],
"effects": []
}
],
"behaviorsSharedData": [
{
"name": "Anchor",
"type": "AnchorBehavior::AnchorBehavior"
},
{
"name": "Platform",
"type": "PlatformBehavior::PlatformBehavior"
},
{
"name": "PlatformerObject",
"type": "PlatformBehavior::PlatformerObjectBehavior"
}
]
}
],
"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,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Enemy movement:",
"comment2": ""
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"GoLeft",
"Enemy",
""
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "ModVarObjet"
},
"parameters": [
"Enemy",
"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": [
"Enemy",
"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": [
"Enemy",
"GoingLeft",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "AddForceXY"
},
"parameters": [
"Fly",
"-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": [
"Enemy",
"GoingLeft",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "AddForceXY"
},
"parameters": [
"Fly",
"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,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Collision with the player:",
"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": [
"Enemy",
"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": [
"",
"jump.wav",
"",
"",
""
],
"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": []
}
]
}
]
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Fading out:",
"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": {
"inverted": true,
"value": "PlatformBehavior::IsMoving"
},
"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": []
}
]
}
]
},
{
"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": [
"",
"coin.wav",
"",
"",
""
],
"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": [
"Coin",
"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": [
{
"description": "",
"extensionNamespace": "",
"fullName": "",
"name": "RotaterExtension",
"version": "",
"eventsFunctions": [
{
"description": "t",
"fullName": "t",
"functionType": "Action",
"name": "RotatePlease",
"sentence": "Rotate the _PARAM1_ at speed _PARAM2_deg/sec",
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"inverted": false,
"value": "Rotate"
},
"parameters": [
"Hello",
"GetArgumentAsNumber(\"Speed\")",
""
],
"subInstructions": []
}
],
"events": []
}
],
"parameters": [
{
"codeOnly": true,
"defaultValue": "",
"description": "",
"name": "runtimeScene",
"optional": false,
"supplementaryInformation": "",
"type": "currentScene"
},
{
"codeOnly": false,
"defaultValue": "",
"description": "123",
"name": "Hello",
"optional": false,
"supplementaryInformation": "",
"type": "objectList"
},
{
"codeOnly": false,
"defaultValue": "",
"description": "Rotation speed",
"name": "Speed",
"optional": false,
"supplementaryInformation": "",
"type": "expression"
}
]
},
{
"description": "Always true",
"fullName": "Always true",
"functionType": "Condition",
"name": "AlwaysTrue",
"sentence": "Always true",
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"inverted": false,
"value": "SetReturnBoolean"
},
"parameters": [
"True"
],
"subInstructions": []
}
],
"events": []
}
],
"parameters": [
{
"codeOnly": true,
"defaultValue": "",
"description": "",
"name": "runtimeScene",
"optional": false,
"supplementaryInformation": "",
"type": "currentScene"
}
]
},
{
"description": "Return a speed of rotation",
"fullName": "Speed of rotation",
"functionType": "Expression",
"name": "GetSpeed",
"sentence": "",
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"inverted": false,
"value": "SetReturnNumber"
},
"parameters": [
"25"
],
"subInstructions": []
}
],
"events": []
}
],
"parameters": [
{
"codeOnly": true,
"defaultValue": "",
"description": "",
"name": "runtimeScene",
"optional": false,
"supplementaryInformation": "",
"type": "currentScene"
}
]
}
]
}
],
"externalLayouts": [],
"externalSourceFiles": []
}