@dcl/asset-packs 2.5.6 → 2.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/catalog.json CHANGED
@@ -61470,15 +61470,51 @@
61470
61470
  "0": {
61471
61471
  "json": {
61472
61472
  "isBasicViewEnabled": true,
61473
- "componentName": "Ambient Sound",
61474
- "fields": [
61473
+ "label": "Ambient Sound",
61474
+ "sections": [
61475
61475
  {
61476
- "name": "Sound",
61477
- "type": "asset-packs::Actions",
61478
- "basicViewId": "loop-sound",
61479
- "layout": "{\"src\": { \"field\": \"TextField\", \"type\": \"text\", \"label\": \"Sound Path\" } , \"volume\": { \"field\": \"RangeField\", \"label\": \"Volume\", \"step\": \"0.01\", \"min\": \"0\", \"max\": \"1\", \"default\": \"1\" } }"
61476
+ "id": "sound",
61477
+ "items": [
61478
+ {
61479
+ "component": "asset-packs::Actions",
61480
+ "widget": "FileUploadField",
61481
+ "label": "Sound Path",
61482
+ "path": "src",
61483
+ "basicViewId": "loop-sound"
61484
+ },
61485
+ {
61486
+ "component": "asset-packs::Actions",
61487
+ "widget": "RangeField",
61488
+ "label": "Volume",
61489
+ "path": "volume",
61490
+ "basicViewId": "loop-sound",
61491
+ "constraints": {
61492
+ "min": 0,
61493
+ "max": 1,
61494
+ "step": 0.01,
61495
+ "default": "1"
61496
+ },
61497
+ "transform": {
61498
+ "in": {
61499
+ "steps": [
61500
+ {
61501
+ "op": "toPercentage"
61502
+ }
61503
+ ]
61504
+ },
61505
+ "out": {
61506
+ "steps": [
61507
+ {
61508
+ "op": "fromPercentage"
61509
+ }
61510
+ ]
61511
+ }
61512
+ }
61513
+ }
61514
+ ]
61480
61515
  }
61481
- ]
61516
+ ],
61517
+ "version": 2
61482
61518
  }
61483
61519
  }
61484
61520
  }
@@ -61488,7 +61524,7 @@
61488
61524
  "contents": {
61489
61525
  "ambient_sound.glb": "bafkreig6nk5bnvqdz2szic2tyirmwksd2giji5nk4fo22yyu5wbm2cvrry",
61490
61526
  "birds_(1).mp3": "bafkreibe6k3y3alhohcsqrbnsuznnacx47gajfmiwlu6uoch2kfwde2api",
61491
- "composite.json": "bafkreib7ykh55qkmis4haw3ij4c2o4se3z42annvy433om4us3jruw5je4",
61527
+ "composite.json": "bafkreiazdtwln5ud7xpqvopl442wtivsn67xijjbhkwdmqffd6xp7htpnu",
61492
61528
  "thumbnail.png": "bafkreicflxhv3t4iolfnrqtztnzmufd3nzsourqhlroo52srcjtrgktgzq"
61493
61529
  }
61494
61530
  },
@@ -68931,11 +68967,47 @@
68931
68967
  }
68932
68968
  }
68933
68969
  }
68970
+ },
68971
+ {
68972
+ "name": "inspector::Config",
68973
+ "data": {
68974
+ "0": {
68975
+ "json": {
68976
+ "isBasicViewEnabled": true,
68977
+ "label": "Image",
68978
+ "sections": [
68979
+ {
68980
+ "id": "texture",
68981
+ "items": [
68982
+ {
68983
+ "component": "core::Material",
68984
+ "widget": "FileUploadField",
68985
+ "path": "material.pbr.texture.tex.texture.src",
68986
+ "label": "Path",
68987
+ "props": {
68988
+ "acceptURLs": true,
68989
+ "accept": [
68990
+ ".png",
68991
+ ".jpg",
68992
+ ".jpeg"
68993
+ ]
68994
+ }
68995
+ }
68996
+ ]
68997
+ }
68998
+ ],
68999
+ "helpTooltip": {
69000
+ "text": "Upload an image file to use as a texture for this entity."
69001
+ },
69002
+ "version": 2
69003
+ }
69004
+ }
69005
+ }
68934
69006
  }
68935
69007
  ]
68936
69008
  },
68937
69009
  "contents": {
68938
- "composite.json": "bafkreic5xzadaf323qddkfhrgnwygl2kuqwopch6ipgk7p33jwadown6n4",
69010
+ "composite.json": "bafkreib2cgb3fktdeqhpiyyj5bf24urxcsqw5hc3ipsugadmms5zrxv4li",
68939
69011
  "thumbnail.png": "bafkreiay3tdv5e3vozsj76faljilymmbxxuhfzryhrbojv2zdc7smyoqym"
68940
69012
  }
68941
69013
  },
@@ -78910,11 +78982,99 @@
78910
78982
  }
78911
78983
  }
78912
78984
  }
78985
+ },
78986
+ {
78987
+ "name": "inspector::Config",
78988
+ "data": {
78989
+ "0": {
78990
+ "json": {
78991
+ "isBasicViewEnabled": true,
78992
+ "label": "Text Settings",
78993
+ "sections": [
78994
+ {
78995
+ "id": "text-settings",
78996
+ "items": [
78997
+ {
78998
+ "component": "core::TextShape",
78999
+ "widget": "TextArea",
79000
+ "label": "Text",
79001
+ "type": "text",
79002
+ "path": "text"
79003
+ }
79004
+ ]
79005
+ },
79006
+ {
79007
+ "id": "font-size-settings",
79008
+ "items": [
79009
+ {
79010
+ "component": "core::TextShape",
79011
+ "widget": "TextField",
79012
+ "label": "Font Size",
79013
+ "type": "number",
79014
+ "path": "fontSize"
79015
+ },
79016
+ {
79017
+ "component": "core::TextShape",
79018
+ "widget": "CheckboxField",
79019
+ "label": "Auto-Size",
79020
+ "type": "boolean",
79021
+ "path": "fontAutoSize"
79022
+ }
79023
+ ],
79024
+ "columns": 2
79025
+ },
79026
+ {
79027
+ "id": "color-align-settings",
79028
+ "items": [
79029
+ {
79030
+ "component": "core::TextShape",
79031
+ "widget": "ColorField",
79032
+ "label": "Color",
79033
+ "type": "Color4",
79034
+ "path": "textColor",
79035
+ "props": {
79036
+ "basic": true
79037
+ },
79038
+ "transform": {
79039
+ "in": {
79040
+ "steps": [
79041
+ {
79042
+ "op": "toHex"
79043
+ }
79044
+ ]
79045
+ },
79046
+ "out": {
79047
+ "steps": [
79048
+ {
79049
+ "op": "toColor4"
79050
+ }
79051
+ ]
79052
+ }
79053
+ }
79054
+ },
79055
+ {
79056
+ "component": "core::TextShape",
79057
+ "widget": "Dropdown",
79058
+ "label": "Text align",
79059
+ "type": "text",
79060
+ "path": "textAlign",
79061
+ "dataSource": {
79062
+ "kind": "textAlign"
79063
+ }
79064
+ }
79065
+ ],
79066
+ "columns": 2
79067
+ }
79068
+ ],
79069
+ "version": 2
79070
+ }
79071
+ }
79072
+ }
78913
79073
  }
78914
79074
  ]
78915
79075
  },
78916
79076
  "contents": {
78917
- "composite.json": "bafkreiayfpneoluc5xhlltpgvrjq2225mwjnkkf5fv5mttvmsxrcx4ky5y",
79077
+ "composite.json": "bafkreie4vccggpnucv2qx6i6ml3kxhvwmmix7ctdgovlxbnac7zordkiq4",
78918
79078
  "thumbnail.png": "bafkreig2iti6hkqce72mfmghqp2mxgqiro2sbg2z7f3q3g7dq7vub6kiwu"
78919
79079
  }
78920
79080
  },
@@ -81960,21 +82120,101 @@
81960
82120
  "0": {
81961
82121
  "json": {
81962
82122
  "isBasicViewEnabled": true,
81963
- "componentName": "Vertical Platform",
81964
- "fields": [
81965
- {
81966
- "name": "Tween",
81967
- "type": "core::Tween"
82123
+ "label": "Vertical Platform",
82124
+ "version": 2,
82125
+ "sections": [
82126
+ {
82127
+ "id": "tween-settings",
82128
+ "items": [
82129
+ {
82130
+ "component": "core::Tween",
82131
+ "widget": "RangeField",
82132
+ "label": "Height",
82133
+ "path": "mode.move.end.y",
82134
+ "constraints": {
82135
+ "step": 0.1
82136
+ },
82137
+ "transform": {
82138
+ "in": {
82139
+ "steps": [
82140
+ {
82141
+ "op": "toNumber"
82142
+ },
82143
+ {
82144
+ "op": "toFixed"
82145
+ }
82146
+ ]
82147
+ },
82148
+ "out": {
82149
+ "steps": [
82150
+ {
82151
+ "op": "toNumber"
82152
+ }
82153
+ ]
82154
+ }
82155
+ }
82156
+ },
82157
+ {
82158
+ "component": "core::Tween",
82159
+ "widget": "RangeField",
82160
+ "label": "Duration",
82161
+ "path": "duration",
82162
+ "constraints": {
82163
+ "step": 1
82164
+ },
82165
+ "transform": {
82166
+ "in": {
82167
+ "steps": [
82168
+ {
82169
+ "op": "millisecondsToSeconds"
82170
+ }
82171
+ ]
82172
+ },
82173
+ "out": {
82174
+ "steps": [
82175
+ {
82176
+ "op": "secondsToMilliseconds"
82177
+ }
82178
+ ]
82179
+ }
82180
+ }
82181
+ }
82182
+ ]
81968
82183
  },
81969
82184
  {
81970
- "name": "When End Reached",
81971
- "type": "asset-packs::Triggers",
81972
- "basicViewId": "trigger-when-end-reached"
82185
+ "id": "tween-settings-auto-start-loop",
82186
+ "items": [
82187
+ {
82188
+ "component": "core::Tween",
82189
+ "widget": "CheckboxField",
82190
+ "label": "Auto Start",
82191
+ "path": "playing"
82192
+ },
82193
+ {
82194
+ "component": "core::TweenSequence",
82195
+ "widget": "CheckboxField",
82196
+ "label": "Loop",
82197
+ "path": "loop"
82198
+ }
82199
+ ],
82200
+ "columns": 2
81973
82201
  },
81974
82202
  {
81975
- "name": "When Start Reached",
81976
- "type": "asset-packs::Triggers",
81977
- "basicViewId": "trigger-when-start-reached"
82203
+ "id": "triggers-settings",
82204
+ "items": [
82205
+ {
82206
+ "component": "asset-packs::Triggers",
82207
+ "widget": "TriggerSection",
82208
+ "label": "When End Reached",
82209
+ "basicViewId": "trigger-when-end-reached"
82210
+ },
82211
+ {
82212
+ "component": "asset-packs::Triggers",
82213
+ "widget": "TriggerSection",
82214
+ "label": "When Start Reached",
82215
+ "basicViewId": "trigger-when-start-reached"
82216
+ }
82217
+ ]
81978
82218
  }
81979
82219
  ]
81980
82220
  }
@@ -81984,7 +82224,7 @@
81984
82224
  ]
81985
82225
  },
81986
82226
  "contents": {
81987
- "composite.json": "bafkreidb7jwulxcrmxjiluzdms243uu5thz5lxus4bx2gqbrcjoae3i3su",
82227
+ "composite.json": "bafkreidgdrlkjm3tpeftfidz2y2l3i2yjmranvupmatr6ygvzeasrb7bj4",
81988
82228
  "thumbnail.png": "bafkreierpuirre33mkf5bminncrtkxfi3skaxwjpzxbblkcj2xegub4bx4",
81989
82229
  "vertical_platform_genesis.glb": "bafkreiho72etxlaj53wuqjglkip52d5fyrhtf55nhsjb4e2mfhcfaxeox4"
81990
82230
  }
@@ -83885,7 +84125,8 @@
83885
84125
  "name": "Open or Close",
83886
84126
  "type": "set_state",
83887
84127
  "jsonPayload": "{ \"state\": \"Toggle\" }",
83888
- "allowedInBasicView": true
84128
+ "allowedInBasicView": true,
84129
+ "default": true
83889
84130
  },
83890
84131
  {
83891
84132
  "name": "Play Sound",
@@ -84100,7 +84341,7 @@
84100
84341
  ]
84101
84342
  },
84102
84343
  "contents": {
84103
- "composite.json": "bafkreieznmgrxj4qryzsvsjai5axxdcxmjoxt6vipseytshtpx2yehlv2m",
84344
+ "composite.json": "bafkreidtz6xvqptb6nnfxeiff2q6fvbolbxb3uvhfhjwx5whekyzuvnqi4",
84104
84345
  "door_fantasy.glb": "bafkreibx4i7lxtkkz34zujgudtnbvgyh2j5sew6fx3xjqz7a4xivm6qkjq",
84105
84346
  "sound.mp3": "bafkreigsbmn4irzhgeeodmisbab4plhqkez6sau4vvgjcriej27yurnpxu",
84106
84347
  "thumbnail.png": "bafkreigjv5eq2dxexsigeqygh6kyzjysnpts2r35cizaik3lomml43lit4"