Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 48 additions & 3 deletions extensions/community/Sprite3D.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"author": "",
"category": "General",
"dimension": "",
"extensionNamespace": "",
"fullName": "3D sprite",
"gdevelopVersion": ">=5.5.222",
Expand All @@ -9,7 +10,7 @@
"name": "Sprite3D",
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/3bd33ec77ed20d3f631c6c92884728b375aa2879174bc9f289c864d0e0383d59_ghost-outline.svg",
"shortDescription": "An animated sprite in 3D.",
"version": "0.1.2",
"version": "0.1.3",
"description": "The 3D sprite is an object that can be moved and rotated in 3D.",
"origin": {
"identifier": "Sprite3D",
Expand Down Expand Up @@ -81,6 +82,10 @@
" }",
" const material = frame.texture;",
"",
" material.transparent = true;",
" material.depthTest = true;",
" material.alphaTest = 0.5;",
"",
" const image = material.map.image;",
" const width = image.width;",
" const height = image.height;",
Expand Down Expand Up @@ -152,6 +157,14 @@
"objectGroups": []
}
],
"eventsFunctionsFolderStructure": {
"folderName": "__ROOT",
"children": [
{
"functionName": "DefineHelperClasses"
}
]
},
"eventsBasedBehaviors": [],
"eventsBasedObjects": [
{
Expand All @@ -164,10 +177,13 @@
"defaultName": "",
"description": "An animated sprite in 3D.",
"fullName": "3D sprite",
"helpPath": "",
"iconUrl": "",
"is3D": true,
"isAnimatable": true,
"isUsingLegacyInstancesRenderer": true,
"name": "Sprite3D",
"previewIconUrl": "",
"objects": [],
"objectsFolderStructure": {
"folderName": "__ROOT"
Expand All @@ -178,6 +194,7 @@
"ambientLightColorB": 200,
"ambientLightColorG": 200,
"ambientLightColorR": 200,
"camera2DPlaneMaxDrawingDistance": 5000,
"camera3DFarPlaneDistance": 10000,
"camera3DFieldOfView": 45,
"camera3DNearPlaneDistance": 3,
Expand All @@ -204,6 +221,23 @@
}
],
"instances": [],
"editionSettings": {
"grid": false,
"gridType": "rectangular",
"gridWidth": 32,
"gridHeight": 32,
"gridDepth": 32,
"gridOffsetX": 0,
"gridOffsetY": 0,
"gridOffsetZ": 0,
"gridColor": 10401023,
"gridAlpha": 0.8,
"snap": false,
"zoomFactor": 10.9375,
"windowMask": false,
"selectedLayer": "",
"gameEditorMode": "instances-editor"
},
"eventsFunctions": [
{
"fullName": "",
Expand Down Expand Up @@ -252,7 +286,18 @@
"objectGroups": []
}
],
"propertyDescriptors": []
"eventsFunctionsFolderStructure": {
"folderName": "__ROOT",
"children": [
{
"functionName": "onCreated"
}
]
},
"propertyDescriptors": [],
"propertiesFolderStructure": {
"folderName": "__ROOT"
}
}
]
}
}