mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
More re-ordering
This commit is contained in:
parent
9e650279a6
commit
931d7e9a62
1 changed files with 25 additions and 25 deletions
|
@ -713,6 +713,31 @@ class Scratch3GdxForBlocks {
|
|||
}
|
||||
},
|
||||
'---',
|
||||
{
|
||||
opcode: 'isFacing',
|
||||
text: formatMessage({
|
||||
id: 'gdxfor.isFacing',
|
||||
default: 'facing [FACING]?',
|
||||
description: 'is the device facing up or down?'
|
||||
}),
|
||||
blockType: BlockType.BOOLEAN,
|
||||
arguments: {
|
||||
FACING: {
|
||||
type: ArgumentType.STRING,
|
||||
menu: 'faceOptions',
|
||||
defaultValue: FaceValues.UP
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
opcode: 'isFreeFalling',
|
||||
text: formatMessage({
|
||||
id: 'gdxfor.isFreeFalling',
|
||||
default: 'falling?',
|
||||
description: 'is the device in free fall?'
|
||||
}),
|
||||
blockType: BlockType.BOOLEAN
|
||||
},
|
||||
{
|
||||
opcode: 'getSpinSpeed',
|
||||
text: formatMessage({
|
||||
|
@ -744,31 +769,6 @@ class Scratch3GdxForBlocks {
|
|||
defaultValue: AxisValues.X
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
opcode: 'isFacing',
|
||||
text: formatMessage({
|
||||
id: 'gdxfor.isFacing',
|
||||
default: 'facing [FACING]?',
|
||||
description: 'is the device facing up or down?'
|
||||
}),
|
||||
blockType: BlockType.BOOLEAN,
|
||||
arguments: {
|
||||
FACING: {
|
||||
type: ArgumentType.STRING,
|
||||
menu: 'faceOptions',
|
||||
defaultValue: FaceValues.UP
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
opcode: 'isFreeFalling',
|
||||
text: formatMessage({
|
||||
id: 'gdxfor.isFreeFalling',
|
||||
default: 'falling?',
|
||||
description: 'is the device in free fall?'
|
||||
}),
|
||||
blockType: BlockType.BOOLEAN
|
||||
}
|
||||
],
|
||||
menus: {
|
||||
|
|
Loading…
Reference in a new issue