Files
GDevelop/newIDE/app/resources/examples/dialogue-tree-with-yarn/dialogue-tree-with-yarn.json
Todor Imreorov 2809f53af8 Add BBText object (#1247)
* Uses `pixi-multistyle-text`
* Add standalone example
* Update the Yarn Dialogue example
2019-12-09 22:54:56 +00:00

8131 lines
236 KiB
JSON
Executable File

{
"firstLayout": "",
"gdVersion": {
"build": 98,
"major": 4,
"minor": 0,
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",
"orientation": "landscape",
"packageName": "com.example.platformer",
"projectFile": "/home/fox/DEV/GDevelop/newIDE/app/resources/examples/dialogue-tree-with-yarn/dialogue-tree-with-yarn.json",
"scaleMode": "linear",
"sizeOnStartupMode": "adaptWidth",
"useExternalSourceFiles": false,
"version": "1.0.0",
"winExecutableFilename": "",
"winExecutableIconFile": "",
"name": "Npc Example",
"author": "Todor Imreorov aka blurymind",
"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": "Left.png",
"kind": "image",
"metadata": "",
"name": "Left.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "Right.png",
"kind": "image",
"metadata": "",
"name": "Right.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "PlayerArea.png",
"kind": "image",
"metadata": "",
"name": "PlayerArea.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "shadedDark06.png",
"kind": "image",
"metadata": "",
"name": "shadedDark06.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "shadedDark05.png",
"kind": "image",
"metadata": "",
"name": "shadedDark05.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "shadedDark45.png",
"kind": "image",
"metadata": "",
"name": "shadedDark45.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "shadedDark09.png",
"kind": "image",
"metadata": "",
"name": "shadedDark09.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/acorn-1.png",
"kind": "image",
"metadata": "",
"name": "other\\acorn-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/acorn-2.png",
"kind": "image",
"metadata": "",
"name": "other\\acorn-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/acorn-3.png",
"kind": "image",
"metadata": "",
"name": "other\\acorn-3.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-1.png",
"kind": "image",
"metadata": "",
"name": "other\\ant-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-2.png",
"kind": "image",
"metadata": "",
"name": "other\\ant-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-3.png",
"kind": "image",
"metadata": "",
"name": "other\\ant-3.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-4.png",
"kind": "image",
"metadata": "",
"name": "other\\ant-4.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-5.png",
"kind": "image",
"metadata": "",
"name": "other\\ant-5.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-6.png",
"kind": "image",
"metadata": "",
"name": "other\\ant-6.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-7.png",
"kind": "image",
"metadata": "",
"name": "other\\ant-7.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-8.png",
"kind": "image",
"metadata": "",
"name": "other\\ant-8.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/bg-mountains.png",
"kind": "image",
"metadata": "",
"name": "other\\bg-mountains.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/bg-trees.png",
"kind": "image",
"metadata": "",
"name": "other\\bg-trees.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/branch-01.png",
"kind": "image",
"metadata": "",
"name": "other\\branch-01.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/branch-02.png",
"kind": "image",
"metadata": "",
"name": "other\\branch-02.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/branch-03.png",
"kind": "image",
"metadata": "",
"name": "other\\branch-03.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/branch-04.png",
"kind": "image",
"metadata": "",
"name": "other\\branch-04.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/branch-05.png",
"kind": "image",
"metadata": "",
"name": "other\\branch-05.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/enemy-death-1.png",
"kind": "image",
"metadata": "",
"name": "other\\enemy-death-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/enemy-death-2.png",
"kind": "image",
"metadata": "",
"name": "other\\enemy-death-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/enemy-death-3.png",
"kind": "image",
"metadata": "",
"name": "other\\enemy-death-3.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/enemy-death-4.png",
"kind": "image",
"metadata": "",
"name": "other\\enemy-death-4.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/gator-1.png",
"kind": "image",
"metadata": "",
"name": "other\\gator-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/gator-2.png",
"kind": "image",
"metadata": "",
"name": "other\\gator-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/gator-3.png",
"kind": "image",
"metadata": "",
"name": "other\\gator-3.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/gator-4.png",
"kind": "image",
"metadata": "",
"name": "other\\gator-4.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/grasshopper-fall-1.png",
"kind": "image",
"metadata": "",
"name": "other\\grasshopper-fall-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/grasshopper-fall-2.png",
"kind": "image",
"metadata": "",
"name": "other\\grasshopper-fall-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/grasshopper-jump-1.png",
"kind": "image",
"metadata": "",
"name": "other\\grasshopper-jump-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/grasshopper-jump-2.png",
"kind": "image",
"metadata": "",
"name": "other\\grasshopper-jump-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/leaves.png",
"kind": "image",
"metadata": "",
"name": "other\\leaves.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-crouch-1.png",
"kind": "image",
"metadata": "",
"name": "other\\player-crouch-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-crouch-2.png",
"kind": "image",
"metadata": "",
"name": "other\\player-crouch-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-hurt-1.png",
"kind": "image",
"metadata": "",
"name": "other\\player-hurt-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-hurt-2.png",
"kind": "image",
"metadata": "",
"name": "other\\player-hurt-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-idle-1.png",
"kind": "image",
"metadata": "",
"name": "other\\player-idle-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-idle-2.png",
"kind": "image",
"metadata": "",
"name": "other\\player-idle-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-idle-3.png",
"kind": "image",
"metadata": "",
"name": "other\\player-idle-3.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-idle-4.png",
"kind": "image",
"metadata": "",
"name": "other\\player-idle-4.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-idle-5.png",
"kind": "image",
"metadata": "",
"name": "other\\player-idle-5.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-idle-6.png",
"kind": "image",
"metadata": "",
"name": "other\\player-idle-6.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-idle-7.png",
"kind": "image",
"metadata": "",
"name": "other\\player-idle-7.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-idle-8.png",
"kind": "image",
"metadata": "",
"name": "other\\player-idle-8.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-jump-1.png",
"kind": "image",
"metadata": "",
"name": "other\\player-jump-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-jump-2.png",
"kind": "image",
"metadata": "",
"name": "other\\player-jump-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-jump-3.png",
"kind": "image",
"metadata": "",
"name": "other\\player-jump-3.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-jump-4.png",
"kind": "image",
"metadata": "",
"name": "other\\player-jump-4.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-run-1.png",
"kind": "image",
"metadata": "",
"name": "other\\player-run-1.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-run-2.png",
"kind": "image",
"metadata": "",
"name": "other\\player-run-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-run-3.png",
"kind": "image",
"metadata": "",
"name": "other\\player-run-3.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-run-4.png",
"kind": "image",
"metadata": "",
"name": "other\\player-run-4.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-run-5.png",
"kind": "image",
"metadata": "",
"name": "other\\player-run-5.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/player-run-6.png",
"kind": "image",
"metadata": "",
"name": "other\\player-run-6.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/tileset_06.png",
"kind": "image",
"metadata": "",
"name": "other\\tileset_06.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/tileset_21.png",
"kind": "image",
"metadata": "",
"name": "other\\tileset_21.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/tileset_28.png",
"kind": "image",
"metadata": "",
"name": "other\\tileset_28.png",
"smoothed": true,
"userAdded": false
},
{
"file": "other/sounds/jump.ogg",
"kind": "audio",
"metadata": "",
"name": "other\\sounds\\jump.ogg",
"userAdded": true
},
{
"file": "other/sounds/item.ogg",
"kind": "audio",
"metadata": "",
"name": "other\\sounds\\item.ogg",
"userAdded": false
},
{
"file": "other/sounds/the_valley.ogg",
"kind": "audio",
"metadata": "",
"name": "other\\sounds\\the_valley.ogg",
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "other/otherbg-clouds-1-1.png",
"kind": "image",
"metadata": "",
"name": "other/otherbg-clouds-1-1.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "other/ant-2.png",
"kind": "image",
"metadata": "",
"name": "other/ant-2.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "other/ant-3.png",
"kind": "image",
"metadata": "",
"name": "other/ant-3.png",
"smoothed": true,
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "textBG.png",
"kind": "image",
"metadata": "",
"name": "textBG.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "textBG-1.png",
"kind": "image",
"metadata": "",
"name": "textBG-1.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "ant-1-0.png",
"kind": "image",
"metadata": "",
"name": "ant-1-0.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "ant-2.png",
"kind": "image",
"metadata": "",
"name": "ant-2.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "ant-1.png",
"kind": "image",
"metadata": "",
"name": "ant-1.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "sign-1-0.png",
"kind": "image",
"metadata": "",
"name": "sign-1-0.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "sign-1.png",
"kind": "image",
"metadata": "",
"name": "sign-1.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "NewObject2-1-0.png",
"kind": "image",
"metadata": "",
"name": "NewObject2-1-0.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "NewObject2-1.png",
"kind": "image",
"metadata": "",
"name": "NewObject2-1.png",
"smoothed": true,
"userAdded": false
},
{
"disablePreload": false,
"file": "dialogueData/npcs.json",
"kind": "json",
"metadata": "",
"name": "dialogueData/npcs.json",
"userAdded": false
}
],
"resourceFolders": []
},
"objects": [],
"objectsGroups": [],
"variables": [
{
"name": "textScrollSpd",
"value": "0.02"
},
{
"name": "optionIndex",
"value": "0"
}
],
"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.6986
},
"objectsGroups": [
{
"name": "Enemy",
"objects": [
{
"name": "Ant"
},
{
"name": "Fly"
}
]
},
{
"name": "VirtualControls",
"objects": [
{
"name": "LeftButton"
},
{
"name": "RightButton"
},
{
"name": "JumpButton"
},
{
"name": "ArrowButtonsBg"
}
]
},
{
"name": "paralaxingBg",
"objects": [
{
"name": "trees"
},
{
"name": "mountains"
}
]
},
{
"name": "NPC",
"objects": [
{
"name": "enemy2"
},
{
"name": "Ant"
},
{
"name": "sign"
},
{
"name": "crumb"
}
]
},
{
"name": "textHud",
"objects": [
{
"name": "textBg"
},
{
"name": "avatars"
},
{
"name": "questionChoicesText"
},
{
"name": "DialogueTreeBBtextObject"
}
]
}
],
"variables": [
{
"name": "Score",
"value": "0"
}
],
"instances": [
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Player",
"width": 0,
"x": 21,
"y": 221,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 139.62,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 487,
"y": 524,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 60.4396,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 263,
"y": 485,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": -25.7225,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 127,
"y": 580,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": -516,
"y": 541,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 32,
"layer": "",
"locked": false,
"name": "TiledGrassPlatform",
"width": 1972,
"x": -583.046,
"y": 570,
"zOrder": 3,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 46,
"layer": "",
"locked": false,
"name": "PlayerHitBox",
"width": 45,
"x": 155,
"y": 390,
"zOrder": 1,
"numberProperties": [],
"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": [
{
"name": "dialogueBranch",
"value": "ant"
}
]
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -222,
"y": 513,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 94,
"x": 1162,
"y": 491,
"zOrder": -1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 544,
"y": 439,
"zOrder": 11,
"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": 1090,
"y": 519,
"zOrder": -1,
"numberProperties": [
{
"name": "animation",
"value": 2
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -49,
"y": 522,
"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": true,
"height": 39,
"layer": "GUI",
"locked": false,
"name": "CoinIcon",
"width": 44,
"x": 15,
"y": 11,
"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": 414.954,
"y": 513.092,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoRight",
"width": 0,
"x": -41,
"y": 353,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "GoLeft",
"width": 0,
"x": 518,
"y": 354,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Fly",
"width": 0,
"x": 363,
"y": 315,
"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": true,
"name": "LeftButton",
"width": 97.5489,
"x": 30,
"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": true,
"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": []
},
{
"angle": 0,
"customSize": true,
"height": 198,
"layer": "BG",
"locked": false,
"name": "mountains",
"width": 1725,
"x": -299,
"y": 109,
"zOrder": 21,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 197,
"layer": "BG",
"locked": false,
"name": "trees",
"width": 1654,
"x": -276,
"y": 230,
"zOrder": 26,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 213,
"layer": "BG",
"locked": false,
"name": "clouds",
"width": 1765,
"x": -229,
"y": 113,
"zOrder": 17,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 197,
"layer": "BG",
"locked": false,
"name": "trees",
"width": 1654,
"x": -228,
"y": 343,
"zOrder": 39,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 198,
"layer": "BG",
"locked": false,
"name": "mountains",
"width": 1725,
"x": -396,
"y": 161,
"zOrder": 26,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 198,
"layer": "BG",
"locked": false,
"name": "mountains",
"width": 1725,
"x": -361,
"y": 283,
"zOrder": 33,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 197,
"layer": "BG",
"locked": false,
"name": "trees",
"width": 1654,
"x": -257,
"y": 420,
"zOrder": 40,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 198,
"layer": "BG",
"locked": false,
"name": "mountains",
"width": 1725,
"x": -366,
"y": 141,
"zOrder": 22,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 32,
"layer": "",
"locked": false,
"name": "NewObject",
"width": 167,
"x": -368,
"y": 429,
"zOrder": 42,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "sign",
"width": 0,
"x": 178,
"y": 512,
"zOrder": 0,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "GUI",
"locked": false,
"name": "questionChoicesText",
"width": 0,
"x": 112,
"y": 147,
"zOrder": 44,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Ant",
"width": 0,
"x": 402,
"y": 530,
"zOrder": 45,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 126,
"layer": "GUI",
"locked": false,
"name": "textBg",
"width": 772,
"x": 8,
"y": 93,
"zOrder": 0,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "GUI",
"locked": false,
"name": "avatars",
"width": 0,
"x": 22,
"y": 114,
"zOrder": 46,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 114.274,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -778,
"y": 480,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -724,
"y": 630,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -622,
"y": 533,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -461,
"y": 557,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -355,
"y": 521,
"zOrder": -5,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 15.4043,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": -697,
"y": 537,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -500,
"y": 496,
"zOrder": -6,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 297.24,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": -685,
"y": 617,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": -30.9638,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "crumb",
"width": 0,
"x": -385,
"y": 373,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": -86,
"y": 584,
"zOrder": -1,
"numberProperties": [
{
"name": "animation",
"value": 1
}
],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Platform",
"width": 0,
"x": 1295,
"y": 414,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 114.274,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 1543,
"y": 443,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 968,
"y": 543,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 1443,
"y": 453,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 1487,
"y": 550,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 1289,
"y": 519,
"zOrder": 6,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 150.687,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 1367,
"y": 535,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "BackgroundObjects",
"width": 0,
"x": 1418,
"y": 575,
"zOrder": -6,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 183.29,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 1392,
"y": 567,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 205.671,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "Jumpthru",
"width": 0,
"x": 1369,
"y": 591,
"zOrder": 1,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 79,
"layer": "GUI",
"locked": false,
"name": "DialogueTreeBBtextObject",
"width": 543,
"x": 108,
"y": 98,
"zOrder": 47,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
}
],
"objects": [
{
"name": "Player",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.2,
"sprites": [
{
"hasCustomCollisionMask": true,
"image": "other\\player-idle-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 60.5,
"y": 56
},
{
"x": 20.5,
"y": 58
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-idle-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 60.5,
"y": 56
},
{
"x": 20.5,
"y": 58
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-idle-3.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 60.5,
"y": 56
},
{
"x": 20.5,
"y": 58
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-idle-4.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 60.5,
"y": 56
},
{
"x": 20.5,
"y": 58
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-idle-5.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 60.5,
"y": 56
},
{
"x": 20.5,
"y": 58
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-idle-6.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 60.5,
"y": 56
},
{
"x": 20.5,
"y": 58
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-idle-7.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 60.5,
"y": 56
},
{
"x": 20.5,
"y": 58
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-idle-8.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 60.5,
"y": 56
},
{
"x": 20.5,
"y": 58
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.1,
"sprites": [
{
"hasCustomCollisionMask": true,
"image": "other\\player-jump-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 61.5,
"y": 57
},
{
"x": 17.5,
"y": 57
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-jump-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 63.5,
"y": 51
},
{
"x": 17.5,
"y": 57
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-jump-3.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 63.5,
"y": 51
},
{
"x": 17.5,
"y": 57
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-jump-4.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 63.5,
"y": 51
},
{
"x": 17.5,
"y": 57
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.05,
"sprites": [
{
"hasCustomCollisionMask": true,
"image": "other\\player-run-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 67.5,
"y": 18
},
{
"x": 65.5,
"y": 57
},
{
"x": 15.5,
"y": 48
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-run-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 67.5,
"y": 18
},
{
"x": 65.5,
"y": 57
},
{
"x": 15.5,
"y": 48
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-run-3.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 67.5,
"y": 18
},
{
"x": 65.5,
"y": 57
},
{
"x": 15.5,
"y": 48
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-run-4.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 67.5,
"y": 18
},
{
"x": 65.5,
"y": 57
},
{
"x": 17.5,
"y": 57
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-run-5.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 67.5,
"y": 18
},
{
"x": 65.5,
"y": 57
},
{
"x": 15.5,
"y": 48
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-run-6.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 67.5,
"y": 18
},
{
"x": 65.5,
"y": 57
},
{
"x": 15.5,
"y": 48
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": true,
"image": "other\\player-hurt-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 63.5,
"y": 51
},
{
"x": 17.5,
"y": 57
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-hurt-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 63.5,
"y": 51
},
{
"x": 17.5,
"y": 57
}
]
]
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.1,
"sprites": [
{
"hasCustomCollisionMask": true,
"image": "other\\player-crouch-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 63.5,
"y": 51
},
{
"x": 17.5,
"y": 57
}
]
]
},
{
"hasCustomCollisionMask": true,
"image": "other\\player-crouch-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": false,
"name": "centre",
"x": 43.5,
"y": 51
},
"customCollisionMask": [
[
{
"x": 17.5,
"y": 14
},
{
"x": 54.5,
"y": 17
},
{
"x": 63.5,
"y": 51
},
{
"x": 17.5,
"y": 57
}
]
]
}
]
}
]
}
]
},
{
"name": "Platform",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"name": "Platform",
"type": "PlatformBehavior::PlatformBehavior",
"canBeGrabbed": true,
"platformType": "NormalPlatform",
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": true,
"image": "other\\tileset_06.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": [
[
{
"x": 0,
"y": 0
},
{
"x": 30,
"y": 4
},
{
"x": 29,
"y": 28
},
{
"x": 3,
"y": 28
}
]
]
}
]
}
]
}
]
},
{
"name": "Jumpthru",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"name": "Platform",
"type": "PlatformBehavior::PlatformBehavior",
"canBeGrabbed": true,
"platformType": "Jumpthru",
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\branch-05.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",
"tags": "",
"texture": "other\\tileset_21.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 70,
"variables": [],
"behaviors": [
{
"name": "Platform",
"type": "PlatformBehavior::PlatformBehavior",
"canBeGrabbed": true,
"platformType": "NormalPlatform",
"yGrabOffset": 0
}
]
},
{
"name": "MovingPlatform",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"name": "Platform",
"type": "PlatformBehavior::PlatformBehavior",
"canBeGrabbed": true,
"platformType": "Jumpthru",
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\tileset_28.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",
"tags": "",
"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",
"tags": "",
"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
}
]
]
}
]
}
]
}
]
},
{
"name": "PlayerHitBox",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"name": "PlatformerObject",
"type": "PlatformBehavior::PlatformerObjectBehavior",
"acceleration": 1500,
"canGrabPlatforms": false,
"deceleration": 1500,
"gravity": 1300,
"ignoreDefaultControls": false,
"jumpSpeed": 1000,
"maxFallingSpeed": 1000,
"maxSpeed": 250,
"roundCoordinates": false,
"slopeMaxAngle": 0,
"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": "enemy2",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [
{
"name": "GoingLeft",
"value": "0"
}
],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\grasshopper-jump-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\grasshopper-jump-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\grasshopper-jump-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\grasshopper-jump-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\grasshopper-fall-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\grasshopper-fall-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.15,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-3.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-4.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
},
{
"name": "Ant",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [
{
"name": "GoingLeft",
"value": "0"
},
{
"name": "state",
"value": "walking"
},
{
"name": "dialogueBranch",
"value": "ant"
}
],
"behaviors": [
{
"name": "PlatformerObject",
"type": "PlatformBehavior::PlatformerObjectBehavior",
"acceleration": 5000,
"canGrabPlatforms": false,
"deceleration": 5000,
"gravity": 1000,
"ignoreDefaultControls": true,
"jumpSpeed": 600,
"maxFallingSpeed": 700,
"maxSpeed": 75,
"roundCoordinates": false,
"slopeMaxAngle": 0,
"xGrabTolerance": 10,
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\ant-1.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": "other\\ant-2.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": "other\\ant-3.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": "other\\ant-4.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": "other\\ant-5.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": "other\\ant-6.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": "other\\ant-7.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": "other\\ant-8.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": 0.15,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-3.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-4.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other/ant-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "other/ant-3.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
},
{
"name": "Fly",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"name": "PlatformerObject",
"type": "PlatformBehavior::PlatformerObjectBehavior",
"acceleration": 500,
"canGrabPlatforms": false,
"deceleration": 500,
"gravity": 0,
"ignoreDefaultControls": true,
"jumpSpeed": 600,
"maxFallingSpeed": 700,
"maxSpeed": 400,
"roundCoordinates": false,
"slopeMaxAngle": 0,
"xGrabTolerance": 10,
"yGrabOffset": 0
}
],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\gator-1.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": "other\\gator-2.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": "other\\gator-3.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": "other\\gator-4.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": 0.15,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\enemy-death-1.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": "other\\enemy-death-2.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": "other\\enemy-death-3.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": "other\\enemy-death-4.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",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\leaves.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": "other\\branch-01.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": "other\\branch-02.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": "other\\branch-03.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\branch-04.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
},
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 1,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\branch-05.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
},
{
"bold": false,
"italic": false,
"name": "Score",
"smoothed": true,
"tags": "",
"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",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.2,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\acorn-1.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": "other\\acorn-2.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": "other\\acorn-3.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",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.2,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "other\\acorn-1.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": "other\\acorn-2.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": "other\\acorn-3.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",
"tags": "",
"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",
"tags": "",
"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",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": true,
"variables": [],
"behaviors": [
{
"name": "Anchor",
"type": "AnchorBehavior::AnchorBehavior",
"bottomEdgeAnchor": 0,
"leftEdgeAnchor": 2,
"relativeToOriginalWindowSize": true,
"rightEdgeAnchor": 0,
"topEdgeAnchor": 2
}
],
"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",
"tags": "",
"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
}
]
]
}
]
}
]
}
]
},
{
"height": 32,
"name": "mountains",
"tags": "",
"texture": "other\\bg-mountains.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 32,
"variables": [],
"behaviors": []
},
{
"height": 32,
"name": "trees",
"tags": "",
"texture": "other\\bg-trees.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 32,
"variables": [],
"behaviors": []
},
{
"height": 32,
"name": "clouds",
"tags": "",
"texture": "other/otherbg-clouds-1-1.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 32,
"variables": [],
"behaviors": []
},
{
"height": 32,
"name": "NewObject",
"tags": "",
"texture": "other\\tileset_06.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 32,
"variables": [],
"behaviors": [
{
"name": "Platform",
"type": "PlatformBehavior::PlatformBehavior",
"canBeGrabbed": true,
"platformType": "Jumpthru",
"yGrabOffset": 0
}
]
},
{
"name": "sign",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": false,
"variables": [
{
"name": "state",
"value": "sign"
},
{
"name": "dialogueBranch",
"value": "Start"
}
],
"behaviors": [],
"animations": [
{
"name": "NewObject2",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"metadata": "{\"pskl\":{\"data\":\"{\\\"modelVersion\\\":2,\\\"piskel\\\":{\\\"name\\\":\\\"New Animation\\\",\\\"description\\\":\\\"\\\",\\\"fps\\\":12,\\\"height\\\":64,\\\"width\\\":64,\\\"layers\\\":[\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"Layer 1\\\\\\\",\\\\\\\"opacity\\\\\\\":1,\\\\\\\"frameCount\\\\\\\":1,\\\\\\\"chunks\\\\\\\":[{\\\\\\\"layout\\\\\\\":[[0]],\\\\\\\"base64PNG\\\\\\\":\\\\\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAADBUlEQVR4Xu2bQU4rMQyGy7o3KBISC5AqsYA7cAAOwEU4ARfhAByAO8ACCQkWSEhwg65BrnDlce3YniaZaSdd8VSPk//LnzjJ9B3NJv45mrj+WQPQHDBxAm0KUANcnZ39Hrohnj8+OoPe+QcHcHpyclA8Pr++1noohA0AbfQPFQKCmBwAtDS4AZzQACCRWlPg4elGXFdurx+rrTevb2/rtt5/ftIOyDX/scGX7ztTZCkQ2AfsAIiHv9UpEBHPk3OVF8vlTBt5jcjl8b0JCwMgf+pD+4fCMT4EQBNqdQAakwCASM0VuZygjXwYACbyiJVGgwPgAiVAOSBkA+D2oxJIBWrCLEi79gE3QpgnWQYja4CnYx4AfKrkcIDWN3EfsFqtZvP5fP1MbgBRSBBfFcD5YrE5CAGE2gBKrQFuB0AgQhgDgJKjD1q3pgAFAH/3gdC3UtQefRUAhyCVPEkkLTXwDI/h31NbavsDiOlbcj3rjekAqwMpUdiBlCNSO0O0v6cNj1gpZmcAfRvG5yKHImurLfWFukd7vnMYgiRwIoRSiJ+SFiy96UENdPPDr8MgZussgHuB0mVwVACku4DaAEpufFIuWDtgqMvQWi7AsofTYutSdCgANff+GoRBHbBrJen7PJbAzSI4pAOoiJJ1n7ZTBACvtVYJlWpzqnZb+SJugLY7d4IRB3iuxTwbFxTkvSfw5OQQNGhbAKKVABLkGhEvgMgIW7E7A7AaiHw/GgDcBaU3QhFIuWNFB0SnQe5OlconrR303cDevR6PLob8RQgHPQoAEVGWoKiTigGIiJI6nVuoBkYFwBfBqCBLAL2FHg0AaSGUTlBRm0nxowWQQ5wnx+QB4PabXsFRcNYU8kD2xAz2O0F6/pAgTA4AvpMstea4qoDHMrliuAMagP+30s0B/wSkO/xc7qN5RrEISsIaAPaj5hKjDzmbA0qRtfJaP81vU6BNge5/bLAc1ff7wdaAmifPFJxBAUgQas19hDI4gL7WzfVcA5CL5L7maQ7Y15HL1e/JO+AP1gvpUB78x3IAAAAASUVORK5CYII=\\\\\\\"}]}\\\",\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"Layer 2\\\\\\\",\\\\\\\"opacity\\\\\\\":1,\\\\\\\"frameCount\\\\\\\":1,\\\\\\\"chunks\\\\\\\":[{\\\\\\\"layout\\\\\\\":[[0]],\\\\\\\"base64PNG\\\\\\\":\\\\\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAhElEQVR4Xu3VAREAMAwCseLfdIV85qAcGbv4W/z+E4AGxBNAIF4AnyACCMQTQCBeACuAAALxBBCIF8AKIIBAPAEE4gWwAgggEE8AgXgBrAACCMQTQCBeACuAAALxBBCIF8AKIIBAPAEE4gWwAgggEE8AgXgBrAACCMQTQCBeACuAQJ3AA2jYAEGs/2CBAAAAAElFTkSuQmCC\\\\\\\"}]}\\\"],\\\"hiddenFrames\\\":[null]}}\",\"name\":\"NewObject2\",\"paths\":[\"/home/fox/DEV/GDevelop/newIDE/app/resources/examples/yarn-dialogue/NewObject2-1.png\"],\"singleFrame\":false}}",
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "NewObject2-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
},
{
"bold": false,
"italic": true,
"name": "questionChoicesText",
"smoothed": true,
"tags": "",
"type": "TextObject::Text",
"underlined": false,
"variables": [],
"behaviors": [],
"string": "Text",
"font": "",
"characterSize": 20,
"color": {
"b": 119,
"g": 14,
"r": 69
}
},
{
"bottomMargin": 2,
"height": 24,
"leftMargin": 2,
"name": "textBg",
"rightMargin": 2,
"tags": "",
"texture": "textBG-1.png",
"tiled": false,
"topMargin": 2,
"type": "PanelSpriteObject::PanelSprite",
"width": 24,
"variables": [],
"behaviors": []
},
{
"name": "avatars",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": false,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "none",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.08,
"sprites": []
}
]
},
{
"name": "sign",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.5,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "sign-1-0.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "sign-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
},
{
"name": "ant",
"useMultipleDirections": false,
"directions": [
{
"looping": true,
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "ant-1-0.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "ant-2.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
},
{
"hasCustomCollisionMask": false,
"image": "ant-1.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
},
{
"name": "crumb",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "NewObject2-1-0.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
},
{
"name": "crumb",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": false,
"variables": [
{
"name": "dialogueBranch",
"value": "crumb"
}
],
"behaviors": [],
"animations": [
{
"name": "NewObject2",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "NewObject2-1-0.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
},
{
"name": "DialogueTreeBBtextObject",
"tags": "",
"type": "BBText::BBText",
"variables": [],
"behaviors": [],
"content": {
"text": "[b]bold[/b] [i]italic[/i] [size=15]smaller[/size] [font=times]times[/font] font\n[spacing=12]spaced out[/spacing]\n[outline=yellow]outlined[/outline] [shadow=red]DropShadow[/shadow] ",
"opacity": 255,
"fontSize": "20",
"visible": true,
"color": "#000000",
"fontFamily": "Arial",
"align": "left",
"wordWrap": true
}
}
],
"events": [
{
"disabled": false,
"folded": true,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarObjetTxt"
},
"parameters": [
"NPC",
"state",
"=",
"\"walking\""
],
"subInstructions": []
}
],
"actions": [],
"events": [
{
"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": "Trigger sign text on collision",
"comment2": ""
},
{
"disabled": false,
"folded": true,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarObjetTxt"
},
"parameters": [
"NPC",
"state",
"=",
"\"sign\""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"Player",
"NPC",
"",
"",
"yes"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsOnFloor"
},
"parameters": [
"PlayerHitBox",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "BuiltinCommonInstructions::Once"
},
"parameters": [],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "DialogueTree::StartDialogueFromBranch"
},
"parameters": [
"NPC.VariableString(dialogueBranch)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "DialogueTree::CompleteClippedTextScrolling"
},
"parameters": [],
"subInstructions": []
}
],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"inverted": false,
"value": "ModVarObjetTxt"
},
"parameters": [
"NPC",
"state",
"=",
"\"talking\""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ChangeAnimation"
},
"parameters": [
"Player",
"=",
"0"
],
"subInstructions": []
}
],
"events": []
}
]
},
{
"colorB": 228,
"colorG": 176,
"colorR": 74,
"creationTime": 0,
"disabled": false,
"folded": false,
"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": [
"",
"1.5",
"\"\"",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlayMusic"
},
"parameters": [
"",
"other\\sounds\\the_valley.ogg",
"yes",
"100",
"1"
],
"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": [
"Player",
"=",
"PlayerHitBox.X()-12",
"=",
"PlayerHitBox.Y()"
],
"subInstructions": []
}
],
"events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Paralaxing BG",
"comment2": ""
},
{
"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,
"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": true,
"value": "DialogueTree::IsDialogueRunning"
},
"parameters": [],
"subInstructions": []
}
],
"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": []
}
]
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "PlaySound"
},
"parameters": [
"",
"other\\sounds\\jump.ogg",
"",
"",
""
],
"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": [],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": true,
"value": "KeyPressed"
},
"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,
"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": []
},
{
"type": {
"inverted": false,
"value": "CameraY"
},
"parameters": [
"",
"=",
"lerp(CameraY(\"\",0), Player.Y()-10, 0.02)",
"",
""
],
"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": "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": []
}
],
"parameters": []
},
{
"colorB": 228,
"colorG": 176,
"colorR": 74,
"creationTime": 0,
"disabled": false,
"folded": false,
"name": "NPC example mechanics",
"source": "",
"type": "BuiltinCommonInstructions::Group",
"events": [
{
"disabled": false,
"folded": true,
"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": []
}
],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"inverted": false,
"value": "ResetTimer"
},
"parameters": [
"",
"\"endedChat\""
],
"subInstructions": []
}
],
"events": []
}
]
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "Start dialogue with an npc, the npc moves only when not chatting with the player",
"comment2": ""
},
{
"disabled": false,
"folded": true,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarObjetTxt"
},
"parameters": [
"NPC",
"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": [
"Player",
"NPC",
"",
"",
"yes"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsOnFloor"
},
"parameters": [
"PlayerHitBox",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "BuiltinCommonInstructions::Once"
},
"parameters": [],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "DialogueTree::StartDialogueFromBranch"
},
"parameters": [
"NPC.VariableString(dialogueBranch)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarObjetTxt"
},
"parameters": [
"NPC",
"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": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsOnFloor"
},
"parameters": [
"PlayerHitBox",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "BuiltinCommonInstructions::Once"
},
"parameters": [],
"subInstructions": []
}
],
"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": [
{
"type": {
"inverted": true,
"value": "DialogueTree::IsDialogueRunning"
},
"parameters": [],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "Timer"
},
"parameters": [
"",
"1",
"\"textScroll\""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "BuiltinCommonInstructions::Once"
},
"parameters": [],
"subInstructions": []
}
],
"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": [
"NPC",
"state",
"=",
"\"walking\""
],
"subInstructions": []
}
],
"events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"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": ""
},
{
"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)",
"\"textScroll\""
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "DialogueTree::ScrollClippedText"
},
"parameters": [],
"subInstructions": []
},
{
"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": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "DialogueTree::GoToNextLine"
},
"parameters": [],
"subInstructions": []
}
],
"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": [
{
"type": {
"inverted": true,
"value": "KeyPressed"
},
"parameters": [
"",
"z"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "ModVarGlobal"
},
"parameters": [
"textScrollSpd",
"=",
"0.05"
],
"subInstructions": []
}
],
"events": []
}
]
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"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": ""
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": true,
"value": "DialogueTree::IsDialogueLineType"
},
"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": []
}
],
"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": []
}
],
"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": []
}
],
"events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "DialogueTree::HasSelectedOptionChanged"
},
"parameters": [],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "TextObject::String"
},
"parameters": [
"questionChoicesText",
"=",
"DialogueTree::VerticalOptionsList(\">\")"
],
"subInstructions": []
}
],
"events": []
}
]
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "The <<COMMAND>> type can be used to trigger game events - such as changing an avatar picture to happen",
"comment2": ""
},
{
"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": []
}
],
"parameters": []
}
],
"layers": [
{
"name": "BG",
"visibility": true,
"cameras": [],
"effects": []
},
{
"name": "",
"visibility": true,
"cameras": [
{
"defaultSize": true,
"defaultViewport": true,
"height": 0,
"viewportBottom": 1,
"viewportLeft": 0,
"viewportRight": 1,
"viewportTop": 0,
"width": 0
}
],
"effects": []
},
{
"name": "GUI",
"visibility": 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": []
}
],
"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": []
}
]
}
]
},
{
"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": [
"",
"other\\sounds\\item.ogg",
"",
"",
""
],
"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": [
"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": [],
"externalLayouts": [],
"externalSourceFiles": []
}