mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-04 02:00:29 -04:00
Add extra control blocks for video transparency and on/off control
This commit is contained in:
parent
e4bd9cf6b2
commit
90166dc732
3 changed files with 55 additions and 13 deletions
src/serialization
|
@ -980,17 +980,17 @@ const specMap = {
|
|||
// ]
|
||||
// },
|
||||
'setVideoState': {
|
||||
opcode: 'sensing_videotoggle',
|
||||
opcode: 'videoSensing.videoToggle',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'sensing_videotogglemenu',
|
||||
inputName: 'VIDEOTOGGLEMENU'
|
||||
inputOp: 'videoSensing.menu.VIDEO_STATE',
|
||||
inputName: 'VIDEO_STATE'
|
||||
}
|
||||
]
|
||||
},
|
||||
'setVideoTransparency': {
|
||||
opcode: 'sensing_setvideotransparency',
|
||||
opcode: 'videoSensing.setVideoTransparency',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue