mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
760 lines
19 KiB
JSON
760 lines
19 KiB
JSON
{
|
|
"firstLayout": "",
|
|
"gdVersion": {
|
|
"build": 96,
|
|
"major": 4,
|
|
"minor": 0,
|
|
"revision": 0
|
|
},
|
|
"properties": {
|
|
"folderProject": false,
|
|
"linuxExecutableFilename": "",
|
|
"macExecutableFilename": "",
|
|
"packageName": "",
|
|
"projectFile": "/Users/florian/Desktop/parallax/parallax.json",
|
|
"useExternalSourceFiles": false,
|
|
"winExecutableFilename": "",
|
|
"winExecutableIconFile": "",
|
|
"name": "Project",
|
|
"author": "",
|
|
"windowWidth": 600,
|
|
"windowHeight": 400,
|
|
"latestCompilationDirectory": "",
|
|
"maxFPS": 60,
|
|
"minFPS": 10,
|
|
"verticalSync": false,
|
|
"extensions": [
|
|
{
|
|
"name": "BuiltinObject"
|
|
},
|
|
{
|
|
"name": "BuiltinAudio"
|
|
},
|
|
{
|
|
"name": "BuiltinVariables"
|
|
},
|
|
{
|
|
"name": "BuiltinTime"
|
|
},
|
|
{
|
|
"name": "BuiltinMouse"
|
|
},
|
|
{
|
|
"name": "BuiltinKeyboard"
|
|
},
|
|
{
|
|
"name": "BuiltinJoystick"
|
|
},
|
|
{
|
|
"name": "BuiltinCamera"
|
|
},
|
|
{
|
|
"name": "BuiltinWindow"
|
|
},
|
|
{
|
|
"name": "BuiltinFile"
|
|
},
|
|
{
|
|
"name": "BuiltinNetwork"
|
|
},
|
|
{
|
|
"name": "BuiltinScene"
|
|
},
|
|
{
|
|
"name": "BuiltinAdvanced"
|
|
},
|
|
{
|
|
"name": "Sprite"
|
|
},
|
|
{
|
|
"name": "BuiltinCommonInstructions"
|
|
},
|
|
{
|
|
"name": "BuiltinCommonConversions"
|
|
},
|
|
{
|
|
"name": "BuiltinStringInstructions"
|
|
},
|
|
{
|
|
"name": "BuiltinMathematicalTools"
|
|
},
|
|
{
|
|
"name": "BuiltinExternalLayouts"
|
|
}
|
|
],
|
|
"platforms": [
|
|
{
|
|
"name": "GDevelop JS platform"
|
|
}
|
|
],
|
|
"currentPlatform": "GDevelop JS platform"
|
|
},
|
|
"resources": {
|
|
"resources": [
|
|
{
|
|
"alwaysLoaded": false,
|
|
"file": "Vegetation_(middle_layer).png",
|
|
"kind": "image",
|
|
"name": "Vegetation_(middle_layer).png",
|
|
"smoothed": true,
|
|
"userAdded": true
|
|
},
|
|
{
|
|
"alwaysLoaded": false,
|
|
"file": "Ground_(front_layer).png",
|
|
"kind": "image",
|
|
"name": "Ground_(front_layer).png",
|
|
"smoothed": true,
|
|
"userAdded": true
|
|
},
|
|
{
|
|
"alwaysLoaded": false,
|
|
"file": "Sky_back_layer.png",
|
|
"kind": "image",
|
|
"name": "Sky_back_layer.png",
|
|
"smoothed": true,
|
|
"userAdded": true
|
|
},
|
|
{
|
|
"alwaysLoaded": false,
|
|
"file": "Elisa_standing.png",
|
|
"kind": "image",
|
|
"name": "Elisa_standing.png",
|
|
"smoothed": true,
|
|
"userAdded": true
|
|
}
|
|
],
|
|
"resourceFolders": []
|
|
},
|
|
"objects": [],
|
|
"objectsGroups": [],
|
|
"variables": [],
|
|
"layouts": [
|
|
{
|
|
"b": 209,
|
|
"disableInputWhenNotFocused": true,
|
|
"mangledName": "New_32scene",
|
|
"name": "New scene",
|
|
"oglFOV": 90,
|
|
"oglZFar": 500,
|
|
"oglZNear": 1,
|
|
"r": 209,
|
|
"standardSortMethod": true,
|
|
"stopSoundsOnStartup": true,
|
|
"title": "",
|
|
"v": 209,
|
|
"uiSettings": {
|
|
"grid": true,
|
|
"gridB": 255,
|
|
"gridG": 180,
|
|
"gridHeight": 32,
|
|
"gridOffsetX": 0,
|
|
"gridOffsetY": 0,
|
|
"gridR": 158,
|
|
"gridWidth": 32,
|
|
"snap": true,
|
|
"windowMask": false,
|
|
"zoomFactor": 1
|
|
},
|
|
"objectsGroups": [],
|
|
"variables": [],
|
|
"instances": [
|
|
{
|
|
"angle": 0,
|
|
"customSize": false,
|
|
"height": 0,
|
|
"layer": "",
|
|
"locked": false,
|
|
"name": "ObjectToFollow",
|
|
"width": 0,
|
|
"x": -128,
|
|
"y": 320,
|
|
"zOrder": 1,
|
|
"numberProperties": [],
|
|
"stringProperties": [],
|
|
"initialVariables": []
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"customSize": false,
|
|
"height": 0,
|
|
"layer": "Layer4",
|
|
"locked": false,
|
|
"name": "Background",
|
|
"width": 0,
|
|
"x": -640,
|
|
"y": -32,
|
|
"zOrder": 1,
|
|
"numberProperties": [],
|
|
"stringProperties": [],
|
|
"initialVariables": []
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"customSize": false,
|
|
"height": 0,
|
|
"layer": "Layer3",
|
|
"locked": false,
|
|
"name": "Background",
|
|
"width": 0,
|
|
"x": -640,
|
|
"y": -32,
|
|
"zOrder": 1,
|
|
"numberProperties": [
|
|
{
|
|
"name": "animation",
|
|
"value": 1
|
|
}
|
|
],
|
|
"stringProperties": [],
|
|
"initialVariables": []
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"customSize": false,
|
|
"height": 0,
|
|
"layer": "Layer2",
|
|
"locked": false,
|
|
"name": "Background",
|
|
"width": 0,
|
|
"x": -608,
|
|
"y": -32,
|
|
"zOrder": 1,
|
|
"numberProperties": [
|
|
{
|
|
"name": "animation",
|
|
"value": 2
|
|
}
|
|
],
|
|
"stringProperties": [],
|
|
"initialVariables": []
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"customSize": false,
|
|
"height": 0,
|
|
"layer": "Layer3",
|
|
"locked": false,
|
|
"name": "Background",
|
|
"width": 0,
|
|
"x": 0,
|
|
"y": -32,
|
|
"zOrder": 1,
|
|
"numberProperties": [
|
|
{
|
|
"name": "animation",
|
|
"value": 1
|
|
}
|
|
],
|
|
"stringProperties": [],
|
|
"initialVariables": []
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"customSize": false,
|
|
"height": 0,
|
|
"layer": "Layer2",
|
|
"locked": false,
|
|
"name": "Background",
|
|
"width": 0,
|
|
"x": 0,
|
|
"y": -32,
|
|
"zOrder": 1,
|
|
"numberProperties": [
|
|
{
|
|
"name": "animation",
|
|
"value": 2
|
|
}
|
|
],
|
|
"stringProperties": [],
|
|
"initialVariables": []
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"customSize": false,
|
|
"height": 0,
|
|
"layer": "Layer4",
|
|
"locked": false,
|
|
"name": "Background",
|
|
"width": 0,
|
|
"x": 0,
|
|
"y": -32,
|
|
"zOrder": 1,
|
|
"numberProperties": [],
|
|
"stringProperties": [],
|
|
"initialVariables": []
|
|
}
|
|
],
|
|
"objects": [
|
|
{
|
|
"name": "Background",
|
|
"type": "Sprite",
|
|
"updateIfNotVisible": true,
|
|
"variables": [],
|
|
"behaviors": [],
|
|
"animations": [
|
|
{
|
|
"name": "",
|
|
"useMultipleDirections": false,
|
|
"directions": [
|
|
{
|
|
"looping": false,
|
|
"timeBetweenFrames": 1,
|
|
"sprites": [
|
|
{
|
|
"hasCustomCollisionMask": false,
|
|
"image": "Sky_back_layer.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": "Vegetation_(middle_layer).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": "Ground_(front_layer).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": "ObjectToFollow",
|
|
"type": "Sprite",
|
|
"updateIfNotVisible": true,
|
|
"variables": [],
|
|
"behaviors": [],
|
|
"animations": [
|
|
{
|
|
"name": "",
|
|
"useMultipleDirections": false,
|
|
"directions": [
|
|
{
|
|
"looping": false,
|
|
"timeBetweenFrames": 1,
|
|
"sprites": [
|
|
{
|
|
"hasCustomCollisionMask": false,
|
|
"image": "Elisa_standing.png",
|
|
"points": [],
|
|
"originPoint": {
|
|
"name": "origine",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"centerPoint": {
|
|
"automatic": true,
|
|
"name": "centre",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"customCollisionMask": [
|
|
[
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Comment",
|
|
"color": {
|
|
"b": 109,
|
|
"g": 230,
|
|
"r": 255,
|
|
"textB": 0,
|
|
"textG": 0,
|
|
"textR": 0
|
|
},
|
|
"comment": "The character can just be moved left and right - in a real game you can use the Platformer character behavior.",
|
|
"comment2": ""
|
|
},
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Standard",
|
|
"conditions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "KeyPressed"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"Left"
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "AddForceXY"
|
|
},
|
|
"parameters": [
|
|
"ObjectToFollow",
|
|
"-200",
|
|
"0",
|
|
"0"
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"events": []
|
|
},
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Standard",
|
|
"conditions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "KeyPressed"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"Right"
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "AddForceXY"
|
|
},
|
|
"parameters": [
|
|
"ObjectToFollow",
|
|
"200",
|
|
"0",
|
|
"0"
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"events": []
|
|
},
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Standard",
|
|
"conditions": [],
|
|
"actions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "MoveObjects"
|
|
},
|
|
"parameters": [
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"events": []
|
|
},
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Comment",
|
|
"color": {
|
|
"b": 109,
|
|
"g": 230,
|
|
"r": 255,
|
|
"textB": 0,
|
|
"textG": 0,
|
|
"textR": 0
|
|
},
|
|
"comment": "Parallax is achieved by setting the position of the camera to the position of the player, multiplied by a factor (between 0 and 1).\nA small factor makes the layer appears far.\nA factor close to 1 makes the layer appears like if it was near the player.",
|
|
"comment2": ""
|
|
},
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Standard",
|
|
"conditions": [],
|
|
"actions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "CameraX"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"=",
|
|
"ObjectToFollow.X()",
|
|
"",
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
},
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "CameraX"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"=",
|
|
"ObjectToFollow.X()*0.75",
|
|
"\"Layer2\"",
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
},
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "CameraX"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"=",
|
|
"ObjectToFollow.X()*0.50",
|
|
"\"Layer3\"",
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
},
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "CameraX"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"=",
|
|
"ObjectToFollow.X()*0.25",
|
|
"\"Layer4\"",
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"events": []
|
|
}
|
|
],
|
|
"layers": [
|
|
{
|
|
"name": "Layer4",
|
|
"visibility": true,
|
|
"cameras": [
|
|
{
|
|
"defaultSize": true,
|
|
"defaultViewport": true,
|
|
"height": 0,
|
|
"viewportBottom": 1,
|
|
"viewportLeft": 0,
|
|
"viewportRight": 1,
|
|
"viewportTop": 0,
|
|
"width": 0
|
|
}
|
|
],
|
|
"effects": []
|
|
},
|
|
{
|
|
"name": "Layer3",
|
|
"visibility": true,
|
|
"cameras": [
|
|
{
|
|
"defaultSize": true,
|
|
"defaultViewport": true,
|
|
"height": 0,
|
|
"viewportBottom": 1,
|
|
"viewportLeft": 0,
|
|
"viewportRight": 1,
|
|
"viewportTop": 0,
|
|
"width": 0
|
|
}
|
|
],
|
|
"effects": []
|
|
},
|
|
{
|
|
"name": "Layer2",
|
|
"visibility": true,
|
|
"cameras": [
|
|
{
|
|
"defaultSize": true,
|
|
"defaultViewport": true,
|
|
"height": 0,
|
|
"viewportBottom": 1,
|
|
"viewportLeft": 0,
|
|
"viewportRight": 1,
|
|
"viewportTop": 0,
|
|
"width": 0
|
|
}
|
|
],
|
|
"effects": []
|
|
},
|
|
{
|
|
"name": "",
|
|
"visibility": true,
|
|
"cameras": [
|
|
{
|
|
"defaultSize": true,
|
|
"defaultViewport": true,
|
|
"height": 0,
|
|
"viewportBottom": 1,
|
|
"viewportLeft": 0,
|
|
"viewportRight": 1,
|
|
"viewportTop": 0,
|
|
"width": 0
|
|
}
|
|
],
|
|
"effects": []
|
|
}
|
|
],
|
|
"behaviorsSharedData": []
|
|
}
|
|
],
|
|
"externalEvents": [],
|
|
"externalLayouts": [],
|
|
"externalSourceFiles": []
|
|
} |