pxt-arcade 2.0.35 → 2.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/built/editor.js CHANGED
@@ -311,16 +311,20 @@ var pxt;
311
311
  // same for SpriteKindLegacy
312
312
  performOldEnumShimUpgrade("SpriteKindLegacy", "spritetype");
313
313
  }
314
- // Added the "use system keyboard" options to the ask for number and ask for string blocks
315
- if (pxt.semver.strcmp(pkgTargetVersion || "0.0.0", "2.0.18") < 0) {
314
+ // Added the "use on-screen keyboard" options to the ask for number and ask for string blocks
315
+ if (pxt.semver.strcmp(pkgTargetVersion || "0.0.0", "2.0.35") < 0) {
316
316
  const allPromptBlocks = pxt.U.toArray(dom.querySelectorAll("block[type=gameaskforstring]"))
317
317
  .concat(pxt.U.toArray(dom.querySelectorAll("shadow[type=gameaskforstring]")))
318
318
  .concat(pxt.U.toArray(dom.querySelectorAll("block[type=gameaskfornumber]")))
319
319
  .concat(pxt.U.toArray(dom.querySelectorAll("shadow[type=gameaskfornumber]")));
320
320
  for (const block of allPromptBlocks) {
321
- if (!getChildNode(block, "value", "name", "useSystemKeyboard")) {
321
+ if (getChildNode(block, "value", "name", "useOnScreenKeyboard")) {
322
+ continue;
323
+ }
324
+ else {
325
+ // preserve the old behavior by setting the value to true if not present
322
326
  const value = document.createElement("value");
323
- value.setAttribute("name", "useSystemKeyboard");
327
+ value.setAttribute("name", "useOnScreenKeyboard");
324
328
  const shadow = document.createElement("shadow");
325
329
  shadow.setAttribute("type", "logic_boolean");
326
330
  const field = document.createElement("field");
@@ -330,6 +334,29 @@ var pxt;
330
334
  value.appendChild(shadow);
331
335
  block.appendChild(value);
332
336
  }
337
+ // since we are going to expand the block, we also need to make sure that
338
+ // the other expandable parameter answerLength is present. the default values
339
+ // and min/max were taken from the source in pxt-common-packages prior to this change
340
+ const isStringBlock = block.getAttribute("type") === "gameaskforstring";
341
+ if (!getChildNode(block, "value", "name", "answerLength")) {
342
+ const value = document.createElement("value");
343
+ value.setAttribute("name", "answerLength");
344
+ const shadow = document.createElement("shadow");
345
+ shadow.setAttribute("type", "math_number_minmax");
346
+ const mutation = document.createElement("mutation");
347
+ mutation.setAttribute("xmlns", "http://www.w3.org/1999/xhtml");
348
+ mutation.setAttribute("min", "1");
349
+ mutation.setAttribute("max", isStringBlock ? "24" : "10");
350
+ mutation.setAttribute("label", "AnswerLength");
351
+ mutation.setAttribute("prevision", "0");
352
+ const field = document.createElement("field");
353
+ field.setAttribute("name", "SLIDER");
354
+ field.textContent = isStringBlock ? "12" : "6";
355
+ shadow.appendChild(field);
356
+ shadow.appendChild(mutation);
357
+ value.appendChild(shadow);
358
+ block.appendChild(value);
359
+ }
333
360
  }
334
361
  }
335
362
  }
@@ -1 +1 @@
1
- {}
1
+ {"Type your response using your keyboard and hit ENTER":"Type your response using your keyboard and hit ENTER"}
package/built/sim.js CHANGED
@@ -270,6 +270,7 @@ var pxsim;
270
270
  */
271
271
  pxsim.initCurrentRuntime = (msg) => {
272
272
  pxsim.runtime.board = new Board();
273
+ pxsim.Keyboard.cancelTextPrompt();
273
274
  pxsim.initGamepad();
274
275
  const theme = pxsim.theme.parseTheme(msg.theme);
275
276
  if (theme && !themeFromQueryParameter) {
@@ -653,6 +654,8 @@ var pxsim;
653
654
  }
654
655
  kill() {
655
656
  super.kill();
657
+ if (this.gameplayer)
658
+ this.gameplayer.dispose();
656
659
  pxsim.Keyboard.cancelTextPrompt();
657
660
  }
658
661
  }
@@ -775,6 +778,14 @@ var pxsim;
775
778
  if (input)
776
779
  input.remove();
777
780
  pxsim.board().disableKeyEvents = true;
781
+ // clear all active button presses
782
+ pxsim.board().setButton(pxsim.Key.A, false);
783
+ pxsim.board().setButton(pxsim.Key.B, false);
784
+ pxsim.board().setButton(pxsim.Key.Up, false);
785
+ pxsim.board().setButton(pxsim.Key.Right, false);
786
+ pxsim.board().setButton(pxsim.Key.Down, false);
787
+ pxsim.board().setButton(pxsim.Key.Left, false);
788
+ pxsim.board().setButton(pxsim.Key.Menu, false);
778
789
  input = document.createElement("input");
779
790
  input.type = "text";
780
791
  input.maxLength = maxLength;
@@ -787,8 +798,8 @@ var pxsim;
787
798
  });
788
799
  input.addEventListener("keyup", e => {
789
800
  if (e.key === "Enter" || e.key === "Escape") {
790
- pxsim.board().bus.queue(KeyboardEvent.Enter, 0);
791
801
  cancelTextPrompt();
802
+ pxsim.board().bus.queue(KeyboardEvent.Enter, 0);
792
803
  }
793
804
  else if (numberOnly) {
794
805
  validateNumberInput();
@@ -828,6 +839,10 @@ var pxsim;
828
839
  return "";
829
840
  }
830
841
  Keyboard.getTextPromptString = getTextPromptString;
842
+ function getLocalizedInstructions() {
843
+ return pxsim.localization.lf("Type your response using your keyboard and hit ENTER");
844
+ }
845
+ Keyboard.getLocalizedInstructions = getLocalizedInstructions;
831
846
  function focusTextInput() {
832
847
  if (input)
833
848
  input.focus();
@@ -1111,11 +1126,7 @@ var pxsim;
1111
1126
  this.parent = undefined;
1112
1127
  this.dragSurface = undefined;
1113
1128
  this.cleanupInterval();
1114
- this.bindings.forEach(b => {
1115
- const [el, ev, cb] = b;
1116
- el.removeEventListener(ev, cb);
1117
- });
1118
- this.bindings = [];
1129
+ this.unBindEvents();
1119
1130
  }
1120
1131
  pointIsWithinCircle(x, y, circle) {
1121
1132
  const bounds = circle.getBoundingClientRect();
@@ -1155,6 +1166,7 @@ var pxsim;
1155
1166
  bindEvents(surface) {
1156
1167
  if (!surface)
1157
1168
  return;
1169
+ this.unBindEvents();
1158
1170
  if (visuals.hasPointerEvents()) {
1159
1171
  this.bindPointerEvents(surface);
1160
1172
  }
@@ -1175,9 +1187,9 @@ var pxsim;
1175
1187
  inGesture = false;
1176
1188
  });
1177
1189
  this.bindEvent(surface, "pointerdown", (ev) => {
1190
+ pxsim.Keyboard.cancelSystemKeyboard();
1178
1191
  this.updateButtonGesture(ev.clientX, ev.clientY);
1179
1192
  inGesture = true;
1180
- pxsim.Keyboard.cancelSystemKeyboard();
1181
1193
  });
1182
1194
  this.bindEvent(surface, "pointermove", (ev) => {
1183
1195
  if (inGesture)
@@ -1256,6 +1268,13 @@ var pxsim;
1256
1268
  ]);
1257
1269
  element.addEventListener(event, callback);
1258
1270
  }
1271
+ unBindEvents() {
1272
+ this.bindings.forEach(b => {
1273
+ const [el, ev, cb] = b;
1274
+ el.removeEventListener(ev, cb);
1275
+ });
1276
+ this.bindings = [];
1277
+ }
1259
1278
  }
1260
1279
  visuals.GameButtons = GameButtons;
1261
1280
  })(visuals = pxsim.visuals || (pxsim.visuals = {}));
@@ -1278,10 +1297,10 @@ var pxsim;
1278
1297
  // TODO: localize; currently can't use lf in this repo
1279
1298
  this.menu.setAttribute("aria-label", "Menu");
1280
1299
  this.menu.onclick = () => {
1300
+ pxsim.Keyboard.cancelSystemKeyboard();
1281
1301
  visuals.pressButton(pxsim.Key.Menu);
1282
1302
  visuals.releaseButton(pxsim.Key.Menu);
1283
1303
  pxsim.indicateFocus(true);
1284
- pxsim.Keyboard.cancelSystemKeyboard();
1285
1304
  };
1286
1305
  }
1287
1306
  if (this.reset) {
@@ -1474,9 +1493,9 @@ var pxsim;
1474
1493
  inGesture = false;
1475
1494
  });
1476
1495
  this.bindEvent(surface, "pointerdown", (ev) => {
1496
+ pxsim.Keyboard.cancelSystemKeyboard();
1477
1497
  this.updateJoystickDrag(ev.clientX, ev.clientY);
1478
1498
  inGesture = true;
1479
- pxsim.Keyboard.cancelSystemKeyboard();
1480
1499
  });
1481
1500
  this.bindEvent(surface, "pointermove", (ev) => {
1482
1501
  if (inGesture)
@@ -1 +1 @@
1
- {"(Diagnostics) Garbage Collection checks.":"(Diagnostics) Garbage Collection checks.","20 pin Edge Connector":"20 pin Edge Connector","A Corgi platformer":"A Corgi platformer","A micro-servo library":"A micro-servo library","A package for interacting with browser-only functionality like keyboard and mouse events":"A package for interacting with browser-only functionality like keyboard and mouse events","A sprite with path projection":"A sprite with path projection","A thermometer driver":"A thermometer driver","Adafruit Feather pinout":"Adafruit Feather pinout","Additional blocks for building multiplayer games":"Additional blocks for building multiplayer games","Additional scaling blocks for sprites":"Additional scaling blocks for sprites","Adds new blocks for message communication in the radio category":"Adds new blocks for message communication in the radio category","Advanced Livestream":"Advanced Livestream","Advanced state based animations for sprites":"Advanced state based animations for sprites","Arcade Compatible Devices":"Arcade Compatible Devices","Arts and Crafts":"Arts and Crafts","Azure IoT - beta":"Azure IoT - beta","Beginner Skillmaps":"Beginner Skillmaps","Blocks Games":"Blocks Games","Blocks for the color-coded tilemap":"Blocks for the color-coded tilemap","Button A and B drivers":"Button A and B drivers","Color manipulation":"Color manipulation","Community Games":"Community Games","Contains overriden or additional files for the default project template":"Contains overriden or additional files for the default project template","Courses":"Courses","DIY Hardware":"DIY Hardware","Develop your programming skills by quickly creating and modding retro arcade games with Blocks and JavaScript in the MakeCode editor":"Develop your programming skills by quickly creating and modding retro arcade games with Blocks and JavaScript in the MakeCode editor","Docs":"Docs","Driver for rotary encoder":"Driver for rotary encoder","ESP32 over SPI - beta":"ESP32 over SPI - beta","Empty game library - beta":"Empty game library - beta","Extra game controller functionalities":"Extra game controller functionalities","Forum":"Forum","Game Design Concepts":"Game Design Concepts","Game Jam":"Game Jam","Graphics and Math":"Graphics and Math","Hardware":"Hardware","Hardware definition - web-browser only":"Hardware definition - web-browser only","How to Make a Game Videos":"How to Make a Game Videos","JavaScript Games":"JavaScript Games","John Park's Workshop":"John Park's Workshop","Keyboard emulation over HID":"Keyboard emulation over HID","Lessons":"Lessons","Live Coding":"Live Coding","MQTT for MakeCode - beta":"MQTT for MakeCode - beta","Microsoft MakeCode Arcade":"Microsoft MakeCode Arcade","Mouse emulation over HID":"Mouse emulation over HID","Multiplayer Games":"Multiplayer Games","Multiplayer Games!":"Multiplayer Games!","Multiplayer Tutorials":"Multiplayer Tutorials","NRF52833 board":"NRF52833 board","NRF52840 board":"NRF52840 board","Networking abstractions":"Networking abstractions","Next Level Skillmaps":"Next Level Skillmaps","Onboard light level sensor":"Onboard light level sensor","Palette manipulations":"Palette manipulations","Power and sleep management":"Power and sleep management","RP2040 board":"RP2040 board","Raspberry Pi":"Raspberry Pi","SAMD51 board":"SAMD51 board","STM32F4 board":"STM32F4 board","Scene manager":"Scene manager","Settings storage in files":"Settings storage in files","Settings storage in internal flash":"Settings storage in internal flash","Seven segment digit display":"Seven segment digit display","The accelerometer library":"The accelerometer library","The base library":"The base library","The core library for Codal-based targets":"The core library for Codal-based targets","The fantasy game console library":"The fantasy game console library","The game and sprite library - beta":"The game and sprite library - beta","The microphone library":"The microphone library","The music library with a mixer":"The music library with a mixer","The programmable LED (WS2812b,APA102) driver.":"The programmable LED (WS2812b,APA102) driver.","The radio services":"The radio services","The screen library":"The screen library","Try Now":"Try Now","Tutorials":"Tutorials","UART communication":"UART communication","Utility methods for shading images":"Utility methods for shading images","VM":"VM","WiFi support in Arcade - beta":"WiFi support in Arcade - beta","arcade":"arcade","{id:extension-tag}Controller":"Controller","{id:extension-tag}Hardware":"Hardware","{id:extension-tag}Sprite Pack":"Sprite Pack","{id:extension-tag}Sprites":"Sprites","{id:extension-tag}Utility":"Utility","{id:extension-tag}Visual Effects":"Visual Effects","{id:game-description}A test of reflexes! Avoid the blue stingers while sending fireballs at the boss!":"A test of reflexes! Avoid the blue stingers while sending fireballs at the boss!","{id:game-description}Adventure through levels collecting jewels and avoiding obstacles!":"Adventure through levels collecting jewels and avoiding obstacles!","{id:game-description}Build a tower of goats!":"Build a tower of goats!","{id:game-description}Challenge your friend to a game of pool! Be sure to check out the (very silly) alternate rule sets! (requires two players)":"Challenge your friend to a game of pool! Be sure to check out the (very silly) alternate rule sets! (requires two players)","{id:game-description}Control both cats and use their unique strengths to solve puzzles! Press A to swap between characters. Up is jump and B triggers Ollie's tackle attack. (1-2 players)":"Control both cats and use their unique strengths to solve puzzles! Press A to swap between characters. Up is jump and B triggers Ollie's tackle attack. (1-2 players)","{id:game-description}Controlling a starship, both players will destroy the Galga forces, while avoiding enemies. Each player has 3 lives, game ends once a player runs out of lives.":"Controlling a starship, both players will destroy the Galga forces, while avoiding enemies. Each player has 3 lives, game ends once a player runs out of lives.","{id:game-description}Eat the leaves to grow, but watch out for walls!":"Eat the leaves to grow, but watch out for walls!","{id:game-description}Fly through the dangerous rooftops and ledges of New York City delivering messages!":"Fly through the dangerous rooftops and ledges of New York City delivering messages!","{id:game-description}Fly through the sky avoiding obstacles":"Fly through the sky avoiding obstacles","{id:game-description}Go on a mouse adventure in a haunted castle, battling bad guys, avoiding obstacles and collecting keys!":"Go on a mouse adventure in a haunted castle, battling bad guys, avoiding obstacles and collecting keys!","{id:game-description}Help your bunny hop over obstacles as they run through the forest":"Help your bunny hop over obstacles as they run through the forest","{id:game-description}Lead your constituents to find food and carry it back to the nest as fast as you can!":"Lead your constituents to find food and carry it back to the nest as fast as you can!","{id:game-description}Navigate your hot air balloon through the mountains avoiding birds and spaceships":"Navigate your hot air balloon through the mountains avoiding birds and spaceships","{id:game-description}Place arrows along the path to help Asphodel the witch find their way":"Place arrows along the path to help Asphodel the witch find their way","{id:game-description}Test your skills in this fast-paced game of reflexes and timing! Levels designed by members of the MakeCode Forum!":"Test your skills in this fast-paced game of reflexes and timing! Levels designed by members of the MakeCode Forum!","{id:game-description}Top-down racing game for 1-4 players. Press Left and Right to steer, A to use picked up item.":"Top-down racing game for 1-4 players. Press Left and Right to steer, A to use picked up item.","{id:game-description}Try to clean your side of the nest! Clear the leaves and collect acorns while messing up your opponent's side! (requires 2 players)":"Try to clean your side of the nest! Clear the leaves and collect acorns while messing up your opponent's side! (requires 2 players)","{id:game-description}Try to slice all the logs as quickly and evenly as you can! Press Left/Right to change direction and A to slice!":"Try to slice all the logs as quickly and evenly as you can! Press Left/Right to change direction and A to slice!","{id:game-description}Ultimate battle between cats and dogs! The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner as the best pet.":"Ultimate battle between cats and dogs! The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner as the best pet.","{id:game-description}Use the lasers on your spaceship to shoot falling asteroids!":"Use the lasers on your spaceship to shoot falling asteroids!","{id:game-description}Use your knowledge of the cycle of life to stack plants and dinosaurs!":"Use your knowledge of the cycle of life to stack plants and dinosaurs!","{id:game-name}Asphodel follows directions":"Asphodel follows directions","{id:game-name}Auto and Ollie":"Auto and Ollie","{id:game-name}BUG PRESIDENT: THE GAME":"BUG PRESIDENT: THE GAME","{id:game-name}Best Nest":"Best Nest","{id:game-name}Blocky Boss Battle":"Blocky Boss Battle","{id:game-name}Bunny Hop!":"Bunny Hop!","{id:game-name}Caterpillar":"Caterpillar","{id:game-name}Dino Zoo":"Dino Zoo","{id:game-name}Falling Duck":"Falling Duck","{id:game-name}Galga":"Galga","{id:game-name}Hot Air Balloon":"Hot Air Balloon","{id:game-name}Jewel Raider":"Jewel Raider","{id:game-name}Joey's Pool Sharks":"Joey's Pool Sharks","{id:game-name}MakeCode Racers":"MakeCode Racers","{id:game-name}Mouse Adventure":"Mouse Adventure","{id:game-name}NINJA":"NINJA","{id:game-name}Pigeon: Deliverance":"Pigeon: Deliverance","{id:game-name}Rhombus Rush!":"Rhombus Rush!","{id:game-name}Space Destroyer":"Space Destroyer","{id:game-name}Stack the Goats":"Stack the Goats","{id:game-name}TicTacTwo!":"TicTacTwo!","{id:game-subtitle}1-4 player":"1-4 player","{id:game-subtitle}4 player":"4 player","{id:game-title}Galga":"Galga","{id:game-title}Horse Race":"Horse Race","{id:game-title}Painting Together":"Painting Together","{id:game-title}Perfect Fit":"Perfect Fit","{id:hardware-description} Sleek hand-held game device with a hard case and a USB-C port.":" Sleek hand-held game device with a hard case and a USB-C port.","{id:hardware-description}A fun-sized console to play the games you code.":"A fun-sized console to play the games you code.","{id:hardware-description}A programmable modular console to create games, design wearables and make creative projects.":"A programmable modular console to create games, design wearables and make creative projects.","{id:hardware-description}A retro game console for STEM education from Kittenbot team":"A retro game console for STEM education from Kittenbot team","{id:hardware-description}ARCADE is a programmable gamepad for use with MakeCode Arcade.":"ARCADE is a programmable gamepad for use with MakeCode Arcade.","{id:hardware-description}It's a badge, it's an arcade, it's a PyBadge":"It's a badge, it's an arcade, it's a PyBadge","{id:hardware-description}It's the PyBadge with a zest of Machine learning":"It's the PyBadge with a zest of Machine learning","{id:hardware-description}Learn how BrainPad Arcade lets you run games on a small handheld console.":"Learn how BrainPad Arcade lets you run games on a small handheld console.","{id:hardware-description}Learn how to run your games on micro-controllers from Adafruit":"Learn how to run your games on micro-controllers from Adafruit","{id:hardware-description}The Retro has a big screen, colorful protective case, d-pad and vibration motor":"The Retro has a big screen, colorful protective case, d-pad and vibration motor","{id:hardware-description}The upgraded PyBadge":"The upgraded PyBadge","{id:hardware-description}Use the micro:bit with an expansion board from Elecfreaks":"Use the micro:bit with an expansion board from Elecfreaks","{id:hardware-description}Use the micro:bit with an expansion board from Kitronik":"Use the micro:bit with an expansion board from Kitronik","{id:hardware-description}Use the micro:bit with an expansion board from KittenBot":"Use the micro:bit with an expansion board from KittenBot","{id:hardware-description}Use the micro:bit with an expansion board from iCShop":"Use the micro:bit with an expansion board from iCShop","{id:var}myImage":"myImage","{id:var}mySprite":"mySprite"}
1
+ {"(Diagnostics) Garbage Collection checks.":"(Diagnostics) Garbage Collection checks.","20 pin Edge Connector":"20 pin Edge Connector","A Corgi platformer":"A Corgi platformer","A micro-servo library":"A micro-servo library","A package for interacting with browser-only functionality like keyboard and mouse events":"A package for interacting with browser-only functionality like keyboard and mouse events","A sprite with path projection":"A sprite with path projection","A thermometer driver":"A thermometer driver","Adafruit Feather pinout":"Adafruit Feather pinout","Additional blocks for building multiplayer games":"Additional blocks for building multiplayer games","Additional scaling blocks for sprites":"Additional scaling blocks for sprites","Adds new blocks for message communication in the radio category":"Adds new blocks for message communication in the radio category","Advanced Livestream":"Advanced Livestream","Advanced state based animations for sprites":"Advanced state based animations for sprites","Arcade Compatible Devices":"Arcade Compatible Devices","Arts and Crafts":"Arts and Crafts","Azure IoT - beta":"Azure IoT - beta","Beginner Skillmaps":"Beginner Skillmaps","Blocks Games":"Blocks Games","Blocks for the color-coded tilemap":"Blocks for the color-coded tilemap","Button A and B drivers":"Button A and B drivers","Color manipulation":"Color manipulation","Community Games":"Community Games","Contains overriden or additional files for the default project template":"Contains overriden or additional files for the default project template","Courses":"Courses","DIY Hardware":"DIY Hardware","Develop your programming skills by quickly creating and modding retro arcade games with Blocks and JavaScript in the MakeCode editor":"Develop your programming skills by quickly creating and modding retro arcade games with Blocks and JavaScript in the MakeCode editor","Docs":"Docs","Driver for rotary encoder":"Driver for rotary encoder","ESP32 over SPI - beta":"ESP32 over SPI - beta","Empty game library - beta":"Empty game library - beta","Extra game controller functionalities":"Extra game controller functionalities","Forum":"Forum","Game Design Concepts":"Game Design Concepts","Game Jam":"Game Jam","Graphics and Math":"Graphics and Math","Hardware":"Hardware","Hardware definition - web-browser only":"Hardware definition - web-browser only","How to Make a Game Videos":"How to Make a Game Videos","JavaScript Games":"JavaScript Games","John Park's Workshop":"John Park's Workshop","Keyboard emulation over HID":"Keyboard emulation over HID","Lessons":"Lessons","Live Coding":"Live Coding","MQTT for MakeCode - beta":"MQTT for MakeCode - beta","Microsoft MakeCode Arcade":"Microsoft MakeCode Arcade","Mouse emulation over HID":"Mouse emulation over HID","Multiplayer Games":"Multiplayer Games","Multiplayer Games!":"Multiplayer Games!","Multiplayer Tutorials":"Multiplayer Tutorials","NRF52833 board":"NRF52833 board","NRF52840 board":"NRF52840 board","Networking abstractions":"Networking abstractions","Next Level Skillmaps":"Next Level Skillmaps","Onboard light level sensor":"Onboard light level sensor","Palette manipulations":"Palette manipulations","Power and sleep management":"Power and sleep management","RP2040 board":"RP2040 board","Raspberry Pi":"Raspberry Pi","SAMD51 board":"SAMD51 board","STM32F4 board":"STM32F4 board","Scene manager":"Scene manager","Settings storage in files":"Settings storage in files","Settings storage in internal flash":"Settings storage in internal flash","Seven segment digit display":"Seven segment digit display","The accelerometer library":"The accelerometer library","The base library":"The base library","The core library for Codal-based targets":"The core library for Codal-based targets","The fantasy game console library":"The fantasy game console library","The game and sprite library - beta":"The game and sprite library - beta","The microphone library":"The microphone library","The music library with a mixer":"The music library with a mixer","The programmable LED (WS2812b,APA102) driver.":"The programmable LED (WS2812b,APA102) driver.","The radio services":"The radio services","The screen library":"The screen library","Try Now":"Try Now","Tutorials":"Tutorials","UART communication":"UART communication","Utility methods for shading images":"Utility methods for shading images","VM":"VM","WiFi support in Arcade - beta":"WiFi support in Arcade - beta","arcade":"arcade","{id:color-theme-name}Dark":"Dark","{id:color-theme-name}High Contrast":"High Contrast","{id:color-theme-name}Light":"Light","{id:color-theme-name}Orange":"Orange","{id:extension-tag}Controller":"Controller","{id:extension-tag}Hardware":"Hardware","{id:extension-tag}Sprite Pack":"Sprite Pack","{id:extension-tag}Sprites":"Sprites","{id:extension-tag}Utility":"Utility","{id:extension-tag}Visual Effects":"Visual Effects","{id:game-description}A test of reflexes! Avoid the blue stingers while sending fireballs at the boss!":"A test of reflexes! Avoid the blue stingers while sending fireballs at the boss!","{id:game-description}Adventure through levels collecting jewels and avoiding obstacles!":"Adventure through levels collecting jewels and avoiding obstacles!","{id:game-description}Build a tower of goats!":"Build a tower of goats!","{id:game-description}Challenge your friend to a game of pool! Be sure to check out the (very silly) alternate rule sets! (requires two players)":"Challenge your friend to a game of pool! Be sure to check out the (very silly) alternate rule sets! (requires two players)","{id:game-description}Control both cats and use their unique strengths to solve puzzles! Press A to swap between characters. Up is jump and B triggers Ollie's tackle attack. (1-2 players)":"Control both cats and use their unique strengths to solve puzzles! Press A to swap between characters. Up is jump and B triggers Ollie's tackle attack. (1-2 players)","{id:game-description}Controlling a starship, both players will destroy the Galga forces, while avoiding enemies. Each player has 3 lives, game ends once a player runs out of lives.":"Controlling a starship, both players will destroy the Galga forces, while avoiding enemies. Each player has 3 lives, game ends once a player runs out of lives.","{id:game-description}Eat the leaves to grow, but watch out for walls!":"Eat the leaves to grow, but watch out for walls!","{id:game-description}Fly through the dangerous rooftops and ledges of New York City delivering messages!":"Fly through the dangerous rooftops and ledges of New York City delivering messages!","{id:game-description}Fly through the sky avoiding obstacles":"Fly through the sky avoiding obstacles","{id:game-description}Go on a mouse adventure in a haunted castle, battling bad guys, avoiding obstacles and collecting keys!":"Go on a mouse adventure in a haunted castle, battling bad guys, avoiding obstacles and collecting keys!","{id:game-description}Help your bunny hop over obstacles as they run through the forest":"Help your bunny hop over obstacles as they run through the forest","{id:game-description}Lead your constituents to find food and carry it back to the nest as fast as you can!":"Lead your constituents to find food and carry it back to the nest as fast as you can!","{id:game-description}Navigate your hot air balloon through the mountains avoiding birds and spaceships":"Navigate your hot air balloon through the mountains avoiding birds and spaceships","{id:game-description}Place arrows along the path to help Asphodel the witch find their way":"Place arrows along the path to help Asphodel the witch find their way","{id:game-description}Test your skills in this fast-paced game of reflexes and timing! Levels designed by members of the MakeCode Forum!":"Test your skills in this fast-paced game of reflexes and timing! Levels designed by members of the MakeCode Forum!","{id:game-description}Top-down racing game for 1-4 players. Press Left and Right to steer, A to use picked up item.":"Top-down racing game for 1-4 players. Press Left and Right to steer, A to use picked up item.","{id:game-description}Try to clean your side of the nest! Clear the leaves and collect acorns while messing up your opponent's side! (requires 2 players)":"Try to clean your side of the nest! Clear the leaves and collect acorns while messing up your opponent's side! (requires 2 players)","{id:game-description}Try to slice all the logs as quickly and evenly as you can! Press Left/Right to change direction and A to slice!":"Try to slice all the logs as quickly and evenly as you can! Press Left/Right to change direction and A to slice!","{id:game-description}Ultimate battle between cats and dogs! The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner as the best pet.":"Ultimate battle between cats and dogs! The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner as the best pet.","{id:game-description}Use the lasers on your spaceship to shoot falling asteroids!":"Use the lasers on your spaceship to shoot falling asteroids!","{id:game-description}Use your knowledge of the cycle of life to stack plants and dinosaurs!":"Use your knowledge of the cycle of life to stack plants and dinosaurs!","{id:game-name}Asphodel follows directions":"Asphodel follows directions","{id:game-name}Auto and Ollie":"Auto and Ollie","{id:game-name}BUG PRESIDENT: THE GAME":"BUG PRESIDENT: THE GAME","{id:game-name}Best Nest":"Best Nest","{id:game-name}Blocky Boss Battle":"Blocky Boss Battle","{id:game-name}Bunny Hop!":"Bunny Hop!","{id:game-name}Caterpillar":"Caterpillar","{id:game-name}Dino Zoo":"Dino Zoo","{id:game-name}Falling Duck":"Falling Duck","{id:game-name}Galga":"Galga","{id:game-name}Hot Air Balloon":"Hot Air Balloon","{id:game-name}Jewel Raider":"Jewel Raider","{id:game-name}Joey's Pool Sharks":"Joey's Pool Sharks","{id:game-name}MakeCode Racers":"MakeCode Racers","{id:game-name}Mouse Adventure":"Mouse Adventure","{id:game-name}NINJA":"NINJA","{id:game-name}Pigeon: Deliverance":"Pigeon: Deliverance","{id:game-name}Rhombus Rush!":"Rhombus Rush!","{id:game-name}Space Destroyer":"Space Destroyer","{id:game-name}Stack the Goats":"Stack the Goats","{id:game-name}TicTacTwo!":"TicTacTwo!","{id:game-subtitle}1-4 player":"1-4 player","{id:game-subtitle}4 player":"4 player","{id:game-title}Galga":"Galga","{id:game-title}Horse Race":"Horse Race","{id:game-title}Painting Together":"Painting Together","{id:game-title}Perfect Fit":"Perfect Fit","{id:hardware-description} Sleek hand-held game device with a hard case and a USB-C port.":" Sleek hand-held game device with a hard case and a USB-C port.","{id:hardware-description}A fun-sized console to play the games you code.":"A fun-sized console to play the games you code.","{id:hardware-description}A programmable modular console to create games, design wearables and make creative projects.":"A programmable modular console to create games, design wearables and make creative projects.","{id:hardware-description}A retro game console for STEM education from Kittenbot team":"A retro game console for STEM education from Kittenbot team","{id:hardware-description}ARCADE is a programmable gamepad for use with MakeCode Arcade.":"ARCADE is a programmable gamepad for use with MakeCode Arcade.","{id:hardware-description}It's a badge, it's an arcade, it's a PyBadge":"It's a badge, it's an arcade, it's a PyBadge","{id:hardware-description}It's the PyBadge with a zest of Machine learning":"It's the PyBadge with a zest of Machine learning","{id:hardware-description}Learn how BrainPad Arcade lets you run games on a small handheld console.":"Learn how BrainPad Arcade lets you run games on a small handheld console.","{id:hardware-description}Learn how to run your games on micro-controllers from Adafruit":"Learn how to run your games on micro-controllers from Adafruit","{id:hardware-description}The Retro has a big screen, colorful protective case, d-pad and vibration motor":"The Retro has a big screen, colorful protective case, d-pad and vibration motor","{id:hardware-description}The upgraded PyBadge":"The upgraded PyBadge","{id:hardware-description}Use the micro:bit with an expansion board from Elecfreaks":"Use the micro:bit with an expansion board from Elecfreaks","{id:hardware-description}Use the micro:bit with an expansion board from Kitronik":"Use the micro:bit with an expansion board from Kitronik","{id:hardware-description}Use the micro:bit with an expansion board from KittenBot":"Use the micro:bit with an expansion board from KittenBot","{id:hardware-description}Use the micro:bit with an expansion board from iCShop":"Use the micro:bit with an expansion board from iCShop","{id:var}myImage":"myImage","{id:var}mySprite":"mySprite"}