pxt-common-packages
Version:
Microsoft MakeCode (PXT) common packages
366 lines • 19 kB
JSON
{
"BackgroundAlignment.Bottom|block": "bottom",
"BackgroundAlignment.Center|block": "center",
"BackgroundAlignment.Left|block": "left",
"BackgroundAlignment.Right|block": "right",
"BackgroundAlignment.Top|block": "top",
"CameraProperty.Bottom|block": "bottom",
"CameraProperty.Left|block": "left",
"CameraProperty.Right|block": "right",
"CameraProperty.Top|block": "top",
"CameraProperty.X|block": "x",
"CameraProperty.Y|block": "y",
"CollisionDirection.Bottom|block": "bottom",
"CollisionDirection.Left|block": "left",
"CollisionDirection.Right|block": "right",
"CollisionDirection.Top|block": "top",
"ControllerButton.A|block": "{id:controller}A",
"ControllerButton.B|block": "{id:controller}B",
"ControllerButton.Down|block": "down",
"ControllerButton.Left|block": "left",
"ControllerButton.Right|block": "right",
"ControllerButton.Up|block": "up",
"ControllerButtonEvent.Pressed|block": "pressed",
"ControllerButtonEvent.Released|block": "released",
"ControllerButtonEvent.Repeated|block": "repeat",
"ControllerEvent.Connected|block": "connected",
"ControllerEvent.Disconnected|block": "disconnected",
"DialogLayout.Bottom|block": "bottom",
"DialogLayout.Center|block": "center",
"DialogLayout.Full|block": "full screen",
"DialogLayout.Left|block": "left",
"DialogLayout.Right|block": "right",
"DialogLayout.Top|block": "top",
"FlipOption.FlipXY|block": "flip x+y",
"FlipOption.FlipX|block": "flip x",
"FlipOption.FlipY|block": "flip y",
"FlipOption.None|block": "none",
"Math.percentChance|block": "%percentage|\\% chance",
"Math|block": "Math",
"ScaleAnchor.BottomLeft|block": "bottom left",
"ScaleAnchor.BottomRight|block": "bottom right",
"ScaleAnchor.Bottom|block": "bottom",
"ScaleAnchor.Left|block": "left",
"ScaleAnchor.Middle|block": "middle",
"ScaleAnchor.Right|block": "right",
"ScaleAnchor.TopLeft|block": "top left",
"ScaleAnchor.TopRight|block": "top right",
"ScaleAnchor.Top|block": "top",
"ScaleDirection.Horizontally|block": "horizontally",
"ScaleDirection.Uniformly|block": "uniformly",
"ScaleDirection.Vertically|block": "vertically",
"Sprite.ax@set|block": "ax (acceleration x)",
"Sprite.ax|block": "ax (acceleration x)",
"Sprite.ay@set|block": "ay (acceleration y)",
"Sprite.ay|block": "ay (acceleration y)",
"Sprite.bottom@set|block": "bottom",
"Sprite.bottom|block": "bottom",
"Sprite.changeScale|block": "change %sprite(mySprite) scale by $value anchor $anchor",
"Sprite.destroy|block": "destroy %sprite(mySprite) || with %effect effect for %duration ms",
"Sprite.follow|block": "set %sprite(myEnemy) follow %target=variables_get(mySprite) || with speed %speed",
"Sprite.fx@set|block": "fx (friction x)",
"Sprite.fx|block": "fx (friction x)",
"Sprite.fy@set|block": "fy (friction y)",
"Sprite.fy|block": "fy (friction y)",
"Sprite.height|block": "height",
"Sprite.image|block": "%sprite(mySprite) image",
"Sprite.isHittingTile|block": "is %sprite(mySprite) hitting wall %direction",
"Sprite.kind|block": "%sprite(mySprite) kind",
"Sprite.left@set|block": "left",
"Sprite.left|block": "left",
"Sprite.lifespan|block": "lifespan",
"Sprite.overlapsWith|block": "%sprite(mySprite) overlaps with %other=variables_get(otherSprite)",
"Sprite.right@set|block": "right",
"Sprite.right|block": "right",
"Sprite.rotation@set|block": "rotation (radians)",
"Sprite.rotationDegrees@set|block": "rotation (degrees)",
"Sprite.rotationDegrees|block": "rotation (degrees)",
"Sprite.rotation|block": "rotation (radians)",
"Sprite.sayText|block": "$this say $text||for $timeOnScreen ms with animation $animated",
"Sprite.say|block": "%sprite(mySprite) say %text||for %millis ms",
"Sprite.scale@set|block": "scale",
"Sprite.scale|block": "scale",
"Sprite.setBounceOnWall|block": "set %sprite(mySprite) bounce on wall %on=toggleOnOff",
"Sprite.setFlag|block": "set %sprite(mySprite) %flag %on=toggleOnOff",
"Sprite.setImage|block": "set %sprite(mySprite) image to %img=screen_image_picker",
"Sprite.setKind|block": "set %sprite(mySprite) kind to %kind",
"Sprite.setPosition|block": "set %sprite(mySprite) position to x %x y %y",
"Sprite.setScale|block": "set %sprite(mySprite) scale to $value anchor $anchor",
"Sprite.setStayInScreen|block": "set %sprite(mySprite) stay in screen %on=toggleOnOff",
"Sprite.setVelocity|block": "set %sprite(mySprite) velocity to vx %vx vy %vy",
"Sprite.startEffect|block": "%sprite(mySprite) start %effect effect || for %duration=timePicker|ms",
"Sprite.sx@set|block": "sx (scale x)",
"Sprite.sx|block": "sx (scale x)",
"Sprite.sy@set|block": "sy (scale y)",
"Sprite.sy|block": "sy (scale y)",
"Sprite.tileHitFrom|block": "%sprite(mySprite) wall hit on %direction",
"Sprite.tileKindAt|block": "tile to $direction of $this(mySprite) is $tile",
"Sprite.tilemapLocation|block": "tilemap location of $this",
"Sprite.top@set|block": "top",
"Sprite.top|block": "top",
"Sprite.unfollow|block": "set $this unfollow",
"Sprite.vx@set|block": "vx (velocity x)",
"Sprite.vx|block": "vx (velocity x)",
"Sprite.vy@set|block": "vy (velocity y)",
"Sprite.vy|block": "vy (velocity y)",
"Sprite.width|block": "width",
"Sprite.x@set|block": "x",
"Sprite.x|block": "x",
"Sprite.y@set|block": "y",
"Sprite.y|block": "y",
"Sprite.z|block": "z (depth)",
"SpriteFlag.AutoDestroy|block": "auto destroy",
"SpriteFlag.BounceOnWall|block": "bounce on wall",
"SpriteFlag.DestroyOnWall|block": "destroy on wall",
"SpriteFlag.GhostThroughSprites|block": "ghost through sprites",
"SpriteFlag.GhostThroughTiles|block": "ghost through tiles",
"SpriteFlag.GhostThroughWalls|block": "ghost through walls",
"SpriteFlag.Ghost|block": "ghost",
"SpriteFlag.Invisible|block": "invisible",
"SpriteFlag.RelativeToCamera|block": "relative to camera",
"SpriteFlag.ShowPhysics|block": "show physics",
"SpriteFlag.StayInScreen|block": "stay in screen",
"TileDirection.Bottom|block": "bottom",
"TileDirection.Center|block": "center",
"TileDirection.Left|block": "left",
"TileDirection.Right|block": "right",
"TileDirection.Top|block": "top",
"TileScale.Eight|block": "8x8",
"TileScale.Four|block": "4x4",
"TileScale.Sixteen|block": "16x16",
"TileScale.ThirtyTwo|block": "32x32",
"animation.AnimationTypes.All|block": "all",
"animation.AnimationTypes.ImageAnimation|block": "frame",
"animation.AnimationTypes.MovementAnimation|block": "path",
"animation.PathPreset|block": "path %pathString",
"animation._animationFrames|block": "%frames",
"animation.animationPresets|block": "%animationPath",
"animation.bobbingLeft|block": "bobbing (left)",
"animation.bobbingRight|block": "bobbing (right)",
"animation.bobbing|block": "bobbing (in place)",
"animation.bounceLeft|block": "bounce (left)",
"animation.bounceRight|block": "bounce (right)",
"animation.easeDown|block": "ease (down)",
"animation.easeLeft|block": "ease (left)",
"animation.easeRight|block": "ease (right)",
"animation.easeUp|block": "ease (up)",
"animation.flyToCenter|block": "fly to center",
"animation.parachuteLeft|block": "parachute (left)",
"animation.parachuteRight|block": "parachute (right)",
"animation.runImageAnimation|block": "animate $sprite=variables_get(mySprite) frames $frames=animation_editor interval (ms) $frameInterval=timePicker loop $loop=toggleOnOff",
"animation.runMovementAnimation|block": "animate $sprite=variables_get(mySprite) with $pathString=animation_path for (ms) $duration=timePicker loop $loop=toggleOnOff",
"animation.shake|block": "shake",
"animation.stopAnimation|block": "stop %type animations on %sprite=variables_get(mySprite)",
"animation.waveLeft|block": "wave (left)",
"animation.waveRight|block": "wave (right)",
"animation|block": "Animation",
"controller.A|block": "{id:controller}A",
"controller.Button.isPressed|block": "is %button **button** pressed",
"controller.Button.onEvent|block": "on %button **button** %event",
"controller.B|block": "{id:controller}B",
"controller.Controller.dx|block": "%controller dx (left-right buttons)||scaled by %step",
"controller.Controller.dy|block": "%controller dy (up-down buttons)||scaled by %step",
"controller.Controller.isPressed|block": "is %controller %button **button** pressed",
"controller.Controller.moveSprite|block": "%controller move $sprite=variables_get(mySprite) with buttons||vx $vx vy $vy",
"controller.Controller.onButtonEvent|block": "on %controller %button **button** %event",
"controller.Controller.onEvent|block": "on %controller %event",
"controller.anyButton|block": "any",
"controller.down|block": "down",
"controller.dx|block": "dx (left-right buttons)||scaled by %step",
"controller.dy|block": "dy (up-down buttons)||scaled by %step",
"controller.left|block": "left",
"controller.menu|block": "menu",
"controller.moveSprite|block": "move $sprite=variables_get(mySprite) with buttons||vx $vx vy $vy",
"controller.player1|block": "player 1",
"controller.player2|block": "player 2",
"controller.player3|block": "player 3",
"controller.player4|block": "player 4",
"controller.right|block": "right",
"controller.up|block": "up",
"controller|block": "controller",
"effects.ScreenEffect.endScreenEffect|block": "end screen %effect effect",
"effects.ScreenEffect.startScreenEffect|block": "start screen %effect effect || for %duration ms",
"effects.ashes|block": "ashes",
"effects.blizzard|block": "blizzard",
"effects.bubbles|block": "bubbles",
"effects.clearParticles|block": "clear effects on %anchor=variables_get(mySprite)",
"effects.clouds|block": "clouds",
"effects.confetti|block": "confetti",
"effects.coolRadial|block": "cool radial",
"effects.disintegrate|block": "disintegrate",
"effects.dissolve|block": "dissolve",
"effects.fire|block": "fire",
"effects.fountain|block": "fountain",
"effects.halo|block": "halo",
"effects.hearts|block": "hearts",
"effects.melt|block": "melt",
"effects.none|block": "none",
"effects.rings|block": "rings",
"effects.slash|block": "slash",
"effects.smiles|block": "smiles",
"effects.splatter|block": "splatter",
"effects.spray|block": "spray",
"effects.starField|block": "star field",
"effects.trail|block": "trail",
"effects.warmRadial|block": "warm radial",
"effects|block": "effects",
"game.ScoringType.HighScore|block": "high score",
"game.ScoringType.LowScore|block": "low score",
"game.ScoringType.None|block": "none",
"game.askForNumber|block": "ask for number $message || and max length $answerLength use on-screen keyboard $useOnScreenKeyboard",
"game.askForString|block": "ask for string $message || and max length $answerLength use on-screen keyboard $useOnScreenKeyboard",
"game.ask|block": "ask %title||%subtitle",
"game.gameOver|block": "game over $win",
"game.onUpdateInterval|block": "on game update every %period=timePicker ms",
"game.onUpdate|block": "on game update",
"game.over|block": "game over %win=toggleWinLose || with %effect effect",
"game.runtime|block": "time since start (ms)",
"game.setDialogCursor|block": "set dialog cursor to %frame=screen_image_picker",
"game.setDialogFrame|block": "set dialog frame to %frame=dialog_image_picker",
"game.setDialogTextColor|block": "set dialog text color to %color=colorindexpicker",
"game.setGameOverEffect|block": "use effect $effect for $win",
"game.setGameOverMessage|block": "use message $message for $win",
"game.setGameOverPlayable|block": "use $sound looping $looping for $win",
"game.setGameOverScoringType|block": "use $type as best score",
"game.showLongText|block": "show long text %str %layout",
"game.splash|block": "splash %title||%subtitle",
"game|block": "game",
"info.PlayerInfo.changeLifeBy|block": "change %player life by %value",
"info.PlayerInfo.changeScoreBy|block": "change %player score by %value",
"info.PlayerInfo.hasLife|block": "%player has life",
"info.PlayerInfo.life|block": "%player life",
"info.PlayerInfo.onLifeZero|block": "on %player life zero",
"info.PlayerInfo.onScore|block": "on $this score $score",
"info.PlayerInfo.score|block": "%player score",
"info.PlayerInfo.setLife|block": "set %player life to %value",
"info.PlayerInfo.setScore|block": "set %player score to %value",
"info.changeCountdownBy|block": "change countdown by $seconds (s)",
"info.changeLifeBy|block": "change life by %value",
"info.changeScoreBy|block": "change score by %value",
"info.countdown|block": "countdown",
"info.highScore|block": "high score",
"info.life|block": "life",
"info.onCountdownEnd|block": "on countdown end",
"info.onLifeZero|block": "on life zero",
"info.onScore|block": "on score $score",
"info.player1|block": "player 1",
"info.player2|block": "player 2",
"info.player3|block": "player 3",
"info.player4|block": "player 4",
"info.score|block": "score",
"info.setLife|block": "set life to %value",
"info.setScore|block": "set score to %value",
"info.startCountdown|block": "start countdown %duration (s)",
"info.stopCountdown|block": "stop countdown",
"info|block": "info",
"keymap|block": "keymap",
"particles|block": "particles",
"scene.backgroundColor|block": "background color",
"scene.backgroundImage|block": "background image",
"scene.cameraFollowSprite|block": "camera follow sprite %sprite=variables_get(mySprite)",
"scene.cameraLeft|block": "camera left",
"scene.cameraProperty|block": "camera $property",
"scene.cameraShake|block": "camera shake by %amplitude pixels for %duration ms",
"scene.cameraTop|block": "camera top",
"scene.centerCameraAt|block": "center camera at x %x y %y",
"scene.onHitWall|block": "on $sprite of kind $kind=spritekind hits wall at $location",
"scene.onHitWall|handlerParam|location": "location",
"scene.onHitWall|handlerParam|sprite": "sprite",
"scene.onOverlapTile|block": "on $sprite of kind $kind=spritekind overlaps $tile at $location",
"scene.onOverlapTile|handlerParam|location": "location",
"scene.onOverlapTile|handlerParam|sprite": "sprite",
"scene.screenHeight|block": "screen height",
"scene.screenWidth|block": "screen width",
"scene.setBackgroundColor|block": "set background color to %color=colorindexpicker",
"scene.setBackgroundImage|block": "set background image to %img=background_image_picker",
"scene|block": "scene",
"sprites._spriteKind|block": "$kind",
"sprites._spriteType|block": "$kind",
"sprites.allOfKind|block": "array of sprites of kind %kind=spritekind",
"sprites.createProjectileFromSide|block": "projectile %img=screen_image_picker from side with vx %vx vy %vy",
"sprites.createProjectileFromSprite|block": "projectile %img=screen_image_picker from %sprite=variables_get(mySprite) with vx %vx vy %vy",
"sprites.createProjectile|block": "projectile %img=screen_image_picker vx %vx vy %vy of kind %kind=spritekind||from sprite %sprite=variables_get(mySprite)",
"sprites.create|block": "sprite %img=screen_image_picker of kind %kind=spritekind",
"sprites.destroyAllSpritesOfKind|block": "destroy all sprites of kind $kind || with $effect effect for $duration ms",
"sprites.destroy|block": "destroy $sprite || with $effect effect for $duration ms",
"sprites.onCreated|block": "on created $sprite of kind $kind=spritekind",
"sprites.onCreated|handlerParam|sprite": "sprite",
"sprites.onDestroyed|block": "on destroyed $sprite of kind $kind=spritekind ",
"sprites.onDestroyed|handlerParam|sprite": "sprite",
"sprites.onOverlap|block": "on $sprite of kind $kind=spritekind overlaps $otherSprite of kind $otherKind=spritekind",
"sprites.onOverlap|handlerParam|otherSprite": "otherSprite",
"sprites.onOverlap|handlerParam|sprite": "sprite",
"sprites|block": "sprites",
"texteffects.TextEffectKind.None|block": "none",
"texteffects.TextEffectKind.Shake|block": "shake",
"texteffects.TextEffectKind.Wave|block": "wave",
"texteffects|block": "texteffects",
"tiles.Location.bottom|block": "bottom",
"tiles.Location.column|block": "column",
"tiles.Location.getNeighboringLocation|block": "tilemap location $direction of $this",
"tiles.Location.left|block": "left",
"tiles.Location.right|block": "right",
"tiles.Location.row|block": "row",
"tiles.Location.top|block": "top",
"tiles.Location.x|block": "x",
"tiles.Location.y|block": "y",
"tiles.Tile.place|block": "on top of %tile(myTile) place %sprite=variables_get(mySprite)",
"tiles._tilemapEditor|block": "tilemap $tilemap",
"tiles.getTileLocation|block": "tilemap col $col row $row",
"tiles.getTilesByType|block": "array of all $tile locations",
"tiles.placeOnRandomTile|block": "place $sprite=variables_get(mySprite) on top of random $tile",
"tiles.placeOnTile|block": "place $sprite=variables_get(mySprite) on top of $loc",
"tiles.setCurrentTilemap|block": "set tilemap to $tilemap",
"tiles.setTileAt|block": "set $tile at $loc=mapgettile",
"tiles.setTilemap|block": "set tilemap to $tilemap",
"tiles.setWallAt|block": "set wall $on at $loc",
"tiles.tileAtLocationEquals|block": "tile at $location is $tile",
"tiles.tileAtLocationIsWall|block": "tile at $location is wall",
"tiles.tileImageAtLocation|block": "tile image at $location",
"tiles|block": "tiles",
"{id:category}Animation": "Animation",
"{id:category}ArcadePhysicsEngine": "ArcadePhysicsEngine",
"{id:category}Assets": "Assets",
"{id:category}Controller": "Controller",
"{id:category}Effects": "Effects",
"{id:category}Game": "Game",
"{id:category}Helpers": "Helpers",
"{id:category}Info": "Info",
"{id:category}Keymap": "Keymap",
"{id:category}Math": "Math",
"{id:category}Mp": "Mp",
"{id:category}Multiplayer": "Multiplayer",
"{id:category}Particles": "Particles",
"{id:category}PhysicsEngine": "PhysicsEngine",
"{id:category}Scene": "Scene",
"{id:category}Sprite": "Sprite",
"{id:category}SpriteKind": "SpriteKind",
"{id:category}SpriteLike": "SpriteLike",
"{id:category}Sprites": "Sprites",
"{id:category}Texteffects": "Texteffects",
"{id:category}Tiles": "Tiles",
"{id:group}Animate": "Animate",
"{id:group}Camera": "Camera",
"{id:group}Countdown": "Countdown",
"{id:group}Create": "Create",
"{id:group}Dialogs": "Dialogs",
"{id:group}Effects": "Effects",
"{id:group}Game Over": "Game Over",
"{id:group}Gameplay": "Gameplay",
"{id:group}Image": "Image",
"{id:group}Life": "Life",
"{id:group}Lifecycle": "Lifecycle",
"{id:group}Locations": "Locations",
"{id:group}Multiplayer": "Multiplayer",
"{id:group}Overlaps": "Overlaps",
"{id:group}Physics": "Physics",
"{id:group}Projectiles": "Projectiles",
"{id:group}Prompt": "Prompt",
"{id:group}Scale": "Scale",
"{id:group}Score": "Score",
"{id:group}Screen": "Screen",
"{id:group}Single Player": "Single Player",
"{id:group}Theme": "Theme",
"{id:group}Tilemap Operations": "Tilemap Operations",
"{id:group}Tilemaps": "Tilemaps"
}