You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"shortDescription": "Play audio with an expression as filename.",
12
-
"version": "1.0.0",
12
+
"version": "1.1.0",
13
13
"description": [
14
14
"Allows for playing a sound resource by filename as a string. This also allows for dynamically selecting a filename via string expressions, which can be useful for things like reducing the number of events required for playing voiced dialogue in larger games or dynamic music based on the current room.",
15
15
"",
16
16
"Please note, you may need to preload your audio files via events or resources panel because of how resources are now loaded gradually. "
17
17
],
18
+
"origin": {
19
+
"identifier": "AudioByName",
20
+
"name": "gdevelop-extension-store"
21
+
},
18
22
"tags": [
19
23
"sound",
20
24
"music"
21
25
],
22
26
"authorIds": [
23
27
"Khhq7a4Lu8bt91GLLhG0QiGLpfx2",
24
-
"8Ih1aa8f5gWUp4UB2BdhQ2iXWxJ3"
28
+
"8Ih1aa8f5gWUp4UB2BdhQ2iXWxJ3",
29
+
"dt0tRnf2kHWJnjkrpnzTzNj9Yc63"
25
30
],
26
31
"dependencies": [],
32
+
"globalVariables": [],
33
+
"sceneVariables": [],
27
34
"eventsFunctions": [
28
35
{
29
36
"description": "Play a music file on a specific channel by name or string expression. \nThis can be useful to reduce the number of events needed to dynamically play different music files. e.g. Playing music based off a room ID variable for the current room the player is in.\n\nNote: Music files should be preloaded before using these actions, such at the start of the first scene, current scene, or in the resources panel for the entire game. This is to avoid any potential audio pause since the normal resource loading at the start of the game or scene won't load these files by default. For web games, music files must be preloaded to start at all.",
@@ -202,8 +209,140 @@
202
209
}
203
210
],
204
211
"objectGroups": []
212
+
},
213
+
{
214
+
"description": "Play a sound file by name or string expression. \nThis can be useful to reduce the number of events needed to dynamically play different sound files. e.g. Playing a voice over line based off the current dialogue node name.\n\nNote: Sound files should be preloaded before using these actions, such at the start of the first scene, current scene, or in the resources panel for the entire game. This is to avoid any potential audio pause since the normal resource loading at the start of the game or scene won't load these files by default.",
"longDescription": "The final string must match the full resource name as displayed in the resource list.",
240
+
"name": "Sound",
241
+
"type": "string"
242
+
},
243
+
{
244
+
"defaultValue": "no",
245
+
"description": "Repeat the sound",
246
+
"name": "Loop",
247
+
"optional": true,
248
+
"type": "yesorno"
249
+
},
250
+
{
251
+
"description": "Volume",
252
+
"longDescription": "From 0-100, with 100 being full volume.",
253
+
"name": "Volume",
254
+
"type": "expression"
255
+
},
256
+
{
257
+
"description": "Pitch (speed)",
258
+
"longDescription": "1 for normal speed",
259
+
"name": "Pitch",
260
+
"type": "expression"
261
+
}
262
+
],
263
+
"objectGroups": []
264
+
},
265
+
{
266
+
"description": "Play a music file by name or string expression. \nThis can be useful to reduce the number of events needed to dynamically play different music files. e.g. Playing music based off a room ID variable for the current room the player is in.\n\nNote: Music files should be preloaded before using these actions, such at the start of the first scene, current scene, or in the resources panel for the entire game. This is to avoid any potential audio pause since the normal resource loading at the start of the game or scene won't load these files by default. For web games, music files must be preloaded to start at all.",
267
+
"fullName": "Play music by name",
268
+
"functionType": "Action",
269
+
"name": "PlayMusicByName",
270
+
"sentence": "Play the music _PARAM1_, loop: _PARAM2_, volume: _PARAM3_, pitch: _PARAM4_",
0 commit comments