Skip to content

Commit f842e76

Browse files
authored
[Reviewed] [3D Particle] Fix the object center point (#1859)
- Don't show in changelog
1 parent d8a2e2b commit f842e76

File tree

1 file changed

+35
-10
lines changed

1 file changed

+35
-10
lines changed

extensions/reviewed/ParticleEmitter3D.json

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "ParticleEmitter3D",
1010
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/f2e5a34bf465f781866677762d385d6c8e9e8d203383f2df9a3b7e0fad6a2cb5_fire.svg",
1111
"shortDescription": "Display a large number of particles in 3D to create visual effects in a 3D game.",
12-
"version": "3.0.0",
12+
"version": "3.0.1",
1313
"description": [
1414
"3D particle emitters let you create and display many small particles to simulate visual effects in your game — like fire, explosions, smoke, or dust.",
1515
"",
@@ -7003,6 +7003,10 @@
70037003
"const hitbox = new gdjs.Polygon();",
70047004
"hitbox.vertices = [[-16, -16], [16, -16], [16, 16], [-16, 16]];",
70057005
"object._untransformedHitBoxes = [hitbox];",
7006+
"object._unrotatedAABB.min[0] = -16;",
7007+
"object._unrotatedAABB.min[1] = -16;",
7008+
"object._unrotatedAABB.max[0] = 16;",
7009+
"object._unrotatedAABB.max[1] = 16;",
70067010
"object._updateUntransformedHitBoxes = () => {};",
70077011
"",
70087012
"// Here runtimeScene is the gdjs.CustomRuntimeObjectInstanceContainer inside the custom object.",
@@ -9914,12 +9918,27 @@
99149918
"type": "Choice",
99159919
"label": "Blending",
99169920
"group": "Color",
9917-
"extraInformation": [
9918-
"Normal",
9919-
"Additive",
9920-
"Subtractive",
9921-
"Multiply",
9922-
"None"
9921+
"choices": [
9922+
{
9923+
"label": "Normal",
9924+
"value": "Normal"
9925+
},
9926+
{
9927+
"label": "Additive",
9928+
"value": "Additive"
9929+
},
9930+
{
9931+
"label": "Subtractive",
9932+
"value": "Subtractive"
9933+
},
9934+
{
9935+
"label": "Multiply",
9936+
"value": "Multiply"
9937+
},
9938+
{
9939+
"label": "None",
9940+
"value": "None"
9941+
}
99239942
],
99249943
"name": "Blending"
99259944
},
@@ -9928,9 +9947,15 @@
99289947
"type": "Choice",
99299948
"label": "Gravity top",
99309949
"group": "Speed",
9931-
"extraInformation": [
9932-
"Y-",
9933-
"Z+"
9950+
"choices": [
9951+
{
9952+
"label": "Y-",
9953+
"value": "Y-"
9954+
},
9955+
{
9956+
"label": "Z+",
9957+
"value": "Z+"
9958+
}
99349959
],
99359960
"name": "GravityTop"
99369961
},

0 commit comments

Comments
 (0)