mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-10 04:21:09 -04:00
Implement set/change stretch blocks
This commit is contained in:
parent
fe13f30037
commit
8c2d023925
2 changed files with 22 additions and 0 deletions
src/serialization
|
@ -349,6 +349,26 @@ const specMap = {
|
|||
}
|
||||
]
|
||||
},
|
||||
'changeStretchBy:': {
|
||||
opcode: 'looks_changestretchby',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'math_number',
|
||||
inputName: 'CHANGE'
|
||||
}
|
||||
]
|
||||
},
|
||||
'setStretchTo:': {
|
||||
opcode: 'looks_setstretchto',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'math_number',
|
||||
inputName: 'STRETCH'
|
||||
}
|
||||
]
|
||||
},
|
||||
'comeToFront': {
|
||||
opcode: 'looks_gotofrontback',
|
||||
argMap: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue