pxt-arcade 1.12.12 → 1.12.13

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.
Files changed (32) hide show
  1. package/built/target.js +2307 -993
  2. package/built/target.json +2307 -993
  3. package/built/targetlight.json +8 -5
  4. package/built/theme.json +2 -1
  5. package/docs/diy-hardware.md +6 -0
  6. package/docs/{developer → hardware}/kiosk.md +14 -14
  7. package/docs/kiosk.html +12 -1
  8. package/docs/multiplayer-games.md +6 -0
  9. package/docs/projects/SUMMARY.md +1 -0
  10. package/docs/share.md +36 -0
  11. package/docs/static/{developer → hardware}/kiosk/add-to-kiosk.png +0 -0
  12. package/docs/static/{developer → hardware}/kiosk/add-your-game.png +0 -0
  13. package/docs/static/{developer → hardware}/kiosk/keyboard-controls.png +0 -0
  14. package/docs/static/hardware/kiosk/kiosk-thumb.png +0 -0
  15. package/docs/static/{developer → hardware}/kiosk/locked-state.png +0 -0
  16. package/docs/static/{developer → hardware}/kiosk/menu-bar.png +0 -0
  17. package/docs/static/{developer → hardware}/kiosk/multiple-uploaded-games.png +0 -0
  18. package/docs/static/{developer → hardware}/kiosk/no-uploaded-games.png +0 -0
  19. package/docs/static/{developer → hardware}/kiosk/qr-code-enlarged.png +0 -0
  20. package/docs/static/{developer → hardware}/kiosk/select-a-game.png +0 -0
  21. package/docs/static/{developer → hardware}/kiosk/share-project.png +0 -0
  22. package/docs/static/{developer → hardware}/kiosk/shared-project-link.png +0 -0
  23. package/docs/static/{developer → hardware}/kiosk/shared-project-name.png +0 -0
  24. package/docs/static/{developer → hardware}/kiosk/single-uploaded-game.png +0 -0
  25. package/docs/static/ide-tour/share-project/menu-bar.png +0 -0
  26. package/docs/static/ide-tour/share-project/qr-code-enlarged.png +0 -0
  27. package/docs/static/ide-tour/share-project/share-banner.jpg +0 -0
  28. package/docs/static/ide-tour/share-project/shared-project-copy.png +0 -0
  29. package/docs/static/ide-tour/share-project/shared-project-link.png +0 -0
  30. package/docs/static/ide-tour/share-project/shared-project-name.png +0 -0
  31. package/package.json +3 -3
  32. package/pxtarget.json +5 -1
@@ -398,6 +398,9 @@
398
398
  "functionBlocks": true,
399
399
  "breakBlock": true,
400
400
  "continueBlock": true,
401
+ "pauseUntilBlock": {
402
+ "category": "loops"
403
+ },
401
404
  "functionsOptions": {
402
405
  "useNewFunctions": true,
403
406
  "extraFunctionEditorTypes": [
@@ -505,11 +508,11 @@
505
508
  }
506
509
  ],
507
510
  "versions": {
508
- "branch": "v1.12.12",
509
- "tag": "v1.12.12",
510
- "commits": "https://github.com/microsoft/pxt-arcade/commits/eb25d6521fef7f97e8e32cdcd7dff2179d0eb188",
511
- "target": "1.12.12",
512
- "pxt": "8.5.16"
511
+ "branch": "v1.12.13",
512
+ "tag": "v1.12.13",
513
+ "commits": "https://github.com/microsoft/pxt-arcade/commits/8aa0519cddec3f53efe947f742805a6958db5731",
514
+ "target": "1.12.13",
515
+ "pxt": "8.5.18"
513
516
  },
514
517
  "blocksprj": {
515
518
  "id": "blocksprj",
package/built/theme.json CHANGED
@@ -96,7 +96,8 @@
96
96
  "monacoFieldEditors": [
97
97
  "image-editor",
98
98
  "tilemap-editor",
99
- "soundeffect-editor"
99
+ "soundeffect-editor",
100
+ "music-editor"
100
101
  ],
101
102
  "scriptManager": true,
102
103
  "saveInMenu": false,
@@ -39,6 +39,12 @@ Choose one of these projects to create your own Arcade game console, cabinet, or
39
39
  "description": "Turn a shoebox into a USB game controller for a PC.",
40
40
  "imageUrl": "/static/hardware/shoebox.jpg",
41
41
  "url": "/hardware/shoebox-controller"
42
+ },
43
+ {
44
+ "name": "Kiosk",
45
+ "description": "Showcase games on your project Arcade in the Kiosk.",
46
+ "imageUrl": "/static/hardware/kiosk/kiosk-thumb.png",
47
+ "url": "/hardware/kiosk"
42
48
  }
43
49
  ]
44
50
  ```
@@ -6,7 +6,7 @@ To allow users to showcase their games in a fun and unique way, the Kiosk is add
6
6
 
7
7
  The default Kiosk contains an initial set some of our most popular games from Arcade. This page is located at https://arcade.makecode.com/kiosk.
8
8
 
9
- ![Starting screen](/static/developer/kiosk/select-a-game.png)
9
+ ![Starting screen](/static/hardware/kiosk/select-a-game.png)
10
10
 
11
11
  ## Clearing the Kiosk
12
12
 
@@ -16,21 +16,21 @@ https://arcade.makecode.com/kiosk?clean=1
16
16
 
17
17
  If there are no games uploaded yet, your kiosk will look like the following:
18
18
 
19
- ![No games uploaded yet](/static/developer/kiosk/no-uploaded-games.png)
19
+ ![No games uploaded yet](/static/hardware/kiosk/no-uploaded-games.png)
20
20
 
21
21
  If you have only uploaded one game, you will see three copies of that game. This gives the illusion that you can move to the next or previous game even though it's the same one.
22
22
 
23
- ![Just one uploaded game](/static/developer/kiosk/single-uploaded-game.png)
23
+ ![Just one uploaded game](/static/hardware/kiosk/single-uploaded-game.png)
24
24
 
25
25
  When you upload more games, you will see them in the list as you scroll through.
26
26
 
27
- ![Multiple uploaded games](/static/developer/kiosk/multiple-uploaded-games.png)
27
+ ![Multiple uploaded games](/static/hardware/kiosk/multiple-uploaded-games.png)
28
28
 
29
29
  ## Locking the Kiosk
30
30
 
31
31
  If you are just looking to put games on display and not to edit the game list already in the kiosk, there is a **lock** flag that can be added to the url. This makes the **Add your game** button disappear. https://arcade.makecode.com/kiosk?lock=1
32
32
 
33
- ![Locked kiosk](/static/developer/kiosk/locked-state.png)
33
+ ![Locked kiosk](/static/hardware/kiosk/locked-state.png)
34
34
 
35
35
  You can put your Kiosk in a locked and clean state by using both flags together like the this:
36
36
 
@@ -51,7 +51,7 @@ There's a full list of do it yourself projects at:
51
51
 
52
52
  Because of this, the only way to interact with the kiosk is through keyboard controls.
53
53
 
54
- ![Keyboard controls](/static/developer/kiosk/keyboard-controls.png)
54
+ ![Keyboard controls](/static/hardware/kiosk/keyboard-controls.png)
55
55
 
56
56
  Two additional keyboard controls are:
57
57
 
@@ -62,21 +62,21 @@ Two additional keyboard controls are:
62
62
 
63
63
  Use the up arrow or trigger your joystick in the upwards direction to select the **Add your game** button.
64
64
 
65
- ![Starting screen](/static/developer/kiosk/select-a-game.png)
65
+ ![Starting screen](/static/hardware/kiosk/select-a-game.png)
66
66
 
67
67
  Use the space bar or the a button to select the button. Then, scan the QR code on the Kiosk.
68
68
 
69
- ![Add your game screen](/static/developer/kiosk/add-your-game.png)
69
+ ![Add your game screen](/static/hardware/kiosk/add-your-game.png)
70
70
 
71
71
  Get the share link or QR code of the game you created in MakeCode Arcade.
72
72
 
73
- ![Share project window](/static/developer/kiosk/share-project.png)
73
+ ![Share project window](/static/hardware/kiosk/share-project.png)
74
74
 
75
75
  The steps to get your game's share link or QR code are outlined [below](#share-link-qr-code).
76
76
 
77
77
  Use the following page to add your game.
78
78
 
79
- ![Add the game to a kiosk](/static/developer/kiosk/add-to-kiosk.png)
79
+ ![Add the game to a kiosk](/static/hardware/kiosk/add-to-kiosk.png)
80
80
 
81
81
  If you submit/scan your game successfully, your game will be launched on the Kiosk. If you don't see your game, wait 5 seconds as the Kiosk might be polling for it. If you do not see your game in a couple of seconds, there might be something wrong. Check the logs on the page using the Developer Tools window.
82
82
 
@@ -101,16 +101,16 @@ You can get a game's share link or QR code using these steps:
101
101
 
102
102
  Click on the three connected dots in the upper right corner of the Arcade editor.
103
103
 
104
- ![Arcade edtior menu bar](/static/developer/kiosk/menu-bar.png)
104
+ ![Arcade editor menu bar](/static/hardware/kiosk/menu-bar.png)
105
105
 
106
106
  Make sure to change your project title to something fun and update the project thumbnail if desired. Click 'Share Project'.
107
107
 
108
- ![Share project and name the project](/static/developer/kiosk/shared-project-name.png)
108
+ ![Share project and name the project](/static/hardware/kiosk/shared-project-name.png)
109
109
 
110
110
  For the share link: Click 'Copy'. This will copy the game's share link to your clipboard.
111
111
 
112
- ![Shared project link](/static/developer/kiosk/shared-project-link.png)
112
+ ![Shared project link](/static/hardware/kiosk/shared-project-link.png)
113
113
 
114
114
  To scan the QR Code, click on the QR code to enlarge it.
115
115
 
116
- ![Enlarged QR code for scanning](/static/developer/kiosk/qr-code-enlarged.png)
116
+ ![Enlarged QR code for scanning](/static/hardware/kiosk/qr-code-enlarged.png)
package/docs/kiosk.html CHANGED
@@ -1 +1,12 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/static/kiosk/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/static/kiosk/logo192.png"/><link rel="manifest" href="/static/kiosk/manifest.json"/><title>MakeCode Arcade Kiosk</title><script defer="defer" src="/static/kiosk/static/js/main.3ab95ea3.js"></script><link href="/static/kiosk/static/css/main.269c590e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="content"><div id="root"></div></div><div class="footer"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/static/kiosk/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/static/kiosk/logo192.png"/><!--
2
+ manifest.json provides metadata used when your web app is installed on a
3
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
4
+ --><link rel="manifest" href="/static/kiosk/manifest.json"/><!--
5
+ Notice the use of /static/kiosk in the tags above.
6
+ It will be replaced with the URL of the `public` folder during the build.
7
+ Only files inside the `public` folder can be referenced from the HTML.
8
+
9
+ Unlike "/favicon.ico" or "favicon.ico", "/static/kiosk/favicon.ico" will
10
+ work correctly both with client-side routing and a non-root public URL.
11
+ Learn how to configure a non-root public URL by running `npm run build`.
12
+ --><title>MakeCode Arcade Kiosk</title><script defer="defer" src="/static/kiosk/static/js/main.3ab95ea3.js"></script><link href="/static/kiosk/static/css/main.269c590e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><!-- @include tracking.html --><!-- @include tickevent.html --><div class="content"><div id="root"></div></div><div class="footer"></div></body></html>
@@ -12,6 +12,7 @@ Try these multiplayer games with your friends!
12
12
  * imageUrl: /static/multiplayer/perfect-fit.png
13
13
  * url: https://arcade.makecode.com/---multiplayer?host=_bz3CCuWFiepH
14
14
  * cardType: link
15
+ * otherAction: https://arcade.makecode.com/_bz3CCuWFiepH, , sharedExample
15
16
  ---
16
17
  * name: Galga
17
18
  * description: Controlling a starship, up to 4 players can help destroy the Galga forces, while avoiding enemies. Each player has 3 lives, last player alive wins the game!
@@ -20,6 +21,7 @@ Try these multiplayer games with your friends!
20
21
  * imageUrl: /static/multiplayer/galga.png
21
22
  * url: https://arcade.makecode.com/---multiplayer?host=_C71PmfFaYDm2
22
23
  * cardType: link
24
+ * otherAction: https://arcade.makecode.com/_C71PmfFaYDm2, , sharedExample
23
25
  ---
24
26
  * name: Arrow Battle
25
27
  * description: 2-4 people can play to see who's the quickest at matching the arrow directions.
@@ -28,6 +30,7 @@ Try these multiplayer games with your friends!
28
30
  * imageUrl: /static/multiplayer/arrow-battle.gif
29
31
  * url: https://arcade.makecode.com/---multiplayer?host=_dCP7f8c3q5PJ
30
32
  * cardType: link
33
+ * otherAction: https://arcade.makecode.com/_dCP7f8c3q5PJ, , sharedExample
31
34
  ---
32
35
  * name: Tag
33
36
  * description: When you're it, tag a friend and they will lose a life. Be careful, if time runs out you'll lose a life instead! Up to 4 people can play.
@@ -36,6 +39,7 @@ Try these multiplayer games with your friends!
36
39
  * imageUrl: /static/multiplayer/tag.png
37
40
  * url: https://arcade.makecode.com/---multiplayer?host=_cvxPm1WesYyi
38
41
  * cardType: link
42
+ * otherAction: https://arcade.makecode.com/_cvxPm1WesYyi, , sharedExample
39
43
  ---
40
44
  * name: Horse Race
41
45
  * description: Up to 4 players race their horse to the finish line.
@@ -44,6 +48,7 @@ Try these multiplayer games with your friends!
44
48
  * imageUrl: /static/multiplayer/horse-race.png
45
49
  * url: https://arcade.makecode.com/---multiplayer?host=_1DogpPTpb8fK
46
50
  * cardType: link
51
+ * otherAction: https://arcade.makecode.com/_1DogpPTpb8fK, , sharedExample
47
52
  ---
48
53
  * name: Painting Together
49
54
  * description: Up to 4 people can paint together. Paint by holding down the A button and moving the arrow keys. Change the brush size by clicking the B button.
@@ -52,5 +57,6 @@ Try these multiplayer games with your friends!
52
57
  * imageUrl: /static/multiplayer/painting.png
53
58
  * url: https://arcade.makecode.com/---multiplayer?host=_FdYfDwixRTAw
54
59
  * cardType: link
60
+ * otherAction: https://arcade.makecode.com/_FdYfDwixRTAw, , sharedExample
55
61
 
56
62
  ### ~
@@ -227,6 +227,7 @@
227
227
  * [Arcade table](/hardware/raspberry-pi/ikea-flisat-table)
228
228
  * [Adafruit Joy Bonnet](https://learn.adafruit.com/makecode-arcade-pi-zero)
229
229
  * [Shoebox Controller](/hardware/shoebox-controller)
230
+ * [Kiosk](/hardware/kiosk)
230
231
  * [How to Make a Game Videos](/how-to-make-a-game)
231
232
  * [Bunny Hop](https://youtu.be/7mv43zXzJkY)
232
233
  * [How to Make a Platformer Game - Part 1](https://youtu.be/9bSX9Q5aP6E)
package/docs/share.md ADDED
@@ -0,0 +1,36 @@
1
+ # Sharing your projects
2
+
3
+ ![Arcade project share banner menu bar](/static/ide-tour/share-project/share-banner.jpg)
4
+
5
+ You can share a Makecode Arcade project to the cloud and make it available to anyone.
6
+
7
+ ## Share your project and a get share link or QR code
8
+
9
+ Share a game project and get its share link or QR code using these steps:
10
+
11
+ ### Share button
12
+
13
+ Click on the three connected dots in the upper right corner of the Arcade editor.
14
+
15
+ ![Arcade editor menu bar](/static/ide-tour/share-project/menu-bar.png)
16
+
17
+ Make sure to change your project title to something fun and update the project thumbnail if desired. Click **Share Project**.
18
+
19
+ ![Share project and name the project](/static/ide-tour/share-project/shared-project-name.png)
20
+
21
+ ### Copy the share link
22
+
23
+ For the share link: Click **Copy**.
24
+
25
+ ![Shared project copy link](/static/ide-tour/share-project/shared-project-copy.png)
26
+
27
+ This will copy the game's share link to your clipboard.
28
+
29
+ ![Shared project link](/static/ide-tour/share-project/shared-project-link.png)
30
+
31
+
32
+ ### Scan the QR Code
33
+
34
+ To scan the QR Code, click on the **QR code** to enlarge it. You can now easily scan and load the game project on a mobile device.
35
+
36
+ ![Enlarged QR code for scanning](/static/ide-tour/share-project/qr-code-enlarged.png)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-arcade",
3
- "version": "1.12.12",
3
+ "version": "1.12.13",
4
4
  "description": "Small arcade editor for MakeCode",
5
5
  "keywords": [
6
6
  "JavaScript",
@@ -33,8 +33,8 @@
33
33
  "typescript": "4.8.3"
34
34
  },
35
35
  "dependencies": {
36
- "pxt-common-packages": "10.3.8",
37
- "pxt-core": "8.5.16"
36
+ "pxt-common-packages": "10.3.9",
37
+ "pxt-core": "8.5.18"
38
38
  },
39
39
  "optionalDependencies": {
40
40
  "pxt-arcade-sim": "microsoft/pxt-arcade-sim.git#v0.10.5"
package/pxtarget.json CHANGED
@@ -468,6 +468,9 @@
468
468
  "functionBlocks": true,
469
469
  "breakBlock": true,
470
470
  "continueBlock": true,
471
+ "pauseUntilBlock": {
472
+ "category": "loops"
473
+ },
471
474
  "functionsOptions": {
472
475
  "useNewFunctions": true,
473
476
  "extraFunctionEditorTypes": [
@@ -607,7 +610,8 @@
607
610
  "monacoFieldEditors": [
608
611
  "image-editor",
609
612
  "tilemap-editor",
610
- "soundeffect-editor"
613
+ "soundeffect-editor",
614
+ "music-editor"
611
615
  ],
612
616
  "scriptManager": true,
613
617
  "saveInMenu": false,