mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-08-27 11:11:26 -04:00
364 lines
8.8 KiB
JSON
364 lines
8.8 KiB
JSON
{
|
|
"firstLayout": "",
|
|
"gdVersion": {
|
|
"build": 97,
|
|
"major": 4,
|
|
"minor": 0,
|
|
"revision": 0
|
|
},
|
|
"properties": {
|
|
"folderProject": false,
|
|
"linuxExecutableFilename": "",
|
|
"macExecutableFilename": "",
|
|
"orientation": "landscape",
|
|
"packageName": "com.example.gamename",
|
|
"projectFile": "/Users/florianrival/Projects/F/GD/GDJS/tests/games/events-functions-nested-create/game.json",
|
|
"sizeOnStartupMode": "adaptWidth",
|
|
"useExternalSourceFiles": false,
|
|
"version": "1.0.0",
|
|
"winExecutableFilename": "",
|
|
"winExecutableIconFile": "",
|
|
"name": "Project",
|
|
"author": "",
|
|
"windowWidth": 800,
|
|
"windowHeight": 600,
|
|
"latestCompilationDirectory": "",
|
|
"maxFPS": 60,
|
|
"minFPS": 10,
|
|
"verticalSync": false,
|
|
"platformSpecificAssets": {},
|
|
"loadingScreen": {
|
|
"showGDevelopSplash": true
|
|
},
|
|
"authorIds": [],
|
|
"authorUsernames": [],
|
|
"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": "NewObject-1.png",
|
|
"kind": "image",
|
|
"metadata": "",
|
|
"name": "NewObject-1.png",
|
|
"smoothed": true,
|
|
"userAdded": true
|
|
}
|
|
],
|
|
"resourceFolders": []
|
|
},
|
|
"objects": [],
|
|
"objectsGroups": [],
|
|
"variables": [],
|
|
"layouts": [
|
|
{
|
|
"b": 209,
|
|
"disableInputWhenNotFocused": true,
|
|
"mangledName": "NewScene",
|
|
"name": "NewScene",
|
|
"oglFOV": 90,
|
|
"oglZFar": 500,
|
|
"oglZNear": 1,
|
|
"r": 209,
|
|
"standardSortMethod": true,
|
|
"stopSoundsOnStartup": true,
|
|
"title": "",
|
|
"v": 209,
|
|
"uiSettings": {
|
|
"grid": false,
|
|
"gridB": 255,
|
|
"gridG": 180,
|
|
"gridHeight": 32,
|
|
"gridOffsetX": 0,
|
|
"gridOffsetY": 0,
|
|
"gridR": 158,
|
|
"gridWidth": 32,
|
|
"snap": true,
|
|
"windowMask": false,
|
|
"zoomFactor": 1
|
|
},
|
|
"objectsGroups": [],
|
|
"variables": [],
|
|
"instances": [],
|
|
"objects": [
|
|
{
|
|
"name": "MyObject",
|
|
"type": "Sprite",
|
|
"updateIfNotVisible": false,
|
|
"variables": [],
|
|
"effects": [],
|
|
"behaviors": [],
|
|
"animations": [
|
|
{
|
|
"name": "NewObject",
|
|
"useMultipleDirections": false,
|
|
"directions": [
|
|
{
|
|
"looping": false,
|
|
"timeBetweenFrames": 1,
|
|
"sprites": [
|
|
{
|
|
"hasCustomCollisionMask": false,
|
|
"image": "NewObject-1.png",
|
|
"points": [],
|
|
"originPoint": {
|
|
"name": "origine",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"centerPoint": {
|
|
"automatic": true,
|
|
"name": "centre",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"customCollisionMask": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Standard",
|
|
"conditions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "BuiltinCommonInstructions::Or"
|
|
},
|
|
"parameters": [],
|
|
"subInstructions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "KeyPressed"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"Space"
|
|
],
|
|
"subInstructions": []
|
|
},
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "DepartScene"
|
|
},
|
|
"parameters": [
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "NewEventsFunctionsExtension::Function"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"MyObject",
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"events": []
|
|
}
|
|
],
|
|
"layers": [
|
|
{
|
|
"name": "",
|
|
"visibility": true,
|
|
"cameras": [
|
|
{
|
|
"defaultSize": true,
|
|
"defaultViewport": true,
|
|
"height": 0,
|
|
"viewportBottom": 1,
|
|
"viewportLeft": 0,
|
|
"viewportRight": 1,
|
|
"viewportTop": 0,
|
|
"width": 0
|
|
}
|
|
],
|
|
"effects": []
|
|
}
|
|
],
|
|
"behaviorsSharedData": []
|
|
}
|
|
],
|
|
"externalEvents": [],
|
|
"eventsFunctionsExtensions": [
|
|
{
|
|
"description": "",
|
|
"extensionNamespace": "",
|
|
"fullName": "",
|
|
"name": "NewEventsFunctionsExtension",
|
|
"version": "",
|
|
"eventsFunctions": [
|
|
{
|
|
"description": "Create an object",
|
|
"fullName": "Create object (2)",
|
|
"functionType": "Action",
|
|
"name": "Function2",
|
|
"sentence": "Create object _PARAM1_",
|
|
"events": [
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Standard",
|
|
"conditions": [],
|
|
"actions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "Create"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"ObjectToCreate2",
|
|
"300",
|
|
"300",
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"events": []
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"codeOnly": false,
|
|
"defaultValue": "",
|
|
"description": "ObjectToCreate2",
|
|
"name": "ObjectToCreate2",
|
|
"optional": false,
|
|
"supplementaryInformation": "",
|
|
"type": "objectList"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Create an object by calling another function to create the object",
|
|
"fullName": "Create object (1)",
|
|
"functionType": "Action",
|
|
"name": "Function",
|
|
"sentence": "Create object _PARAM1_ (using another function)",
|
|
"events": [
|
|
{
|
|
"disabled": false,
|
|
"folded": false,
|
|
"type": "BuiltinCommonInstructions::Standard",
|
|
"conditions": [],
|
|
"actions": [
|
|
{
|
|
"type": {
|
|
"inverted": false,
|
|
"value": "NewEventsFunctionsExtension::Function2"
|
|
},
|
|
"parameters": [
|
|
"",
|
|
"ObjectToCreate",
|
|
""
|
|
],
|
|
"subInstructions": []
|
|
}
|
|
],
|
|
"events": []
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"codeOnly": false,
|
|
"defaultValue": "",
|
|
"description": "ObjectToCreate",
|
|
"name": "ObjectToCreate",
|
|
"optional": false,
|
|
"supplementaryInformation": "",
|
|
"type": "objectList"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"externalLayouts": [],
|
|
"externalSourceFiles": []
|
|
}
|