online加声音目录

This commit is contained in:
whm1216
2025-12-02 00:57:34 +08:00
parent 7835a77ae2
commit 3ecb7d8cfb
37 changed files with 2444 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
import * as Blockly from 'blockly/core';
export const sound_effect_add = {
init: function() {
this.setColour('#acc159');
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_SOUND_SET_TO)
.appendField(new Blockly.FieldDropdown([[Blockly.Msg.MIXLY_SOUND_EFFECT_PITCH, "pitch"], [Blockly.Msg.MIXLY_SOUND_EFFECT_PAN, "pan"]]), "EFFECT")
.appendField(Blockly.Msg.MIXLY_SOUND_EFFECT_ADD_BY);
this.appendValueInput("VALUE")
.setCheck(null)
this.appendDummyInput();
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setTooltip(Blockly.Msg.MIXLY_SOUND_EFFECT_ADD_TOOLTIP);
}
};