Skip to content

Commit 7f8c0ec

Browse files
committed
Merge branch 'master' of https://github.com/microsoft/pxt into tball/settingSizeConfig
2 parents e1dc8fd + c8382ef commit 7f8c0ec

40 files changed

+306
-65
lines changed

cli/cli.ts

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,6 +1946,18 @@ ${gcards.map(gcard => `[${gcard.name}](${gcard.url})`).join(',\n')}
19461946
targetStrings[`{id:hardware-description}${opt.description}`] = opt.description;
19471947
}
19481948
}
1949+
1950+
const themeFiles = getThemeFilePaths();
1951+
for(const themePath of themeFiles) {
1952+
if (nodeutil.fileExistsSync(themePath)) {
1953+
const theme = nodeutil.readJson(themePath);
1954+
const name = theme["name"];
1955+
if (name) {
1956+
targetStrings[`{id:color-theme-name}${name}`] = name;
1957+
}
1958+
}
1959+
}
1960+
19491961
// extract strings from editor
19501962
["editor", "fieldeditors", "cmds"]
19511963
.filter(d => nodeutil.existsDirSync(d))
@@ -2284,22 +2296,26 @@ function updateTOC(cfg: pxt.TargetBundle) {
22842296
}
22852297
}
22862298

2287-
function updateColorThemes(cfg: pxt.TargetBundle) {
2288-
pxt.log("Loading color themes...");
2289-
2299+
function getThemeFilePaths() {
22902300
const sharedThemeFiles = fs.existsSync("node_modules/pxt-core/theme/color-themes")
2291-
? nodeutil
2292-
.allFiles("node_modules/pxt-core/theme/color-themes", { maxDepth: 1, includeDirs: false })
2293-
.filter((f) => /\.json$/i.test(f))
2294-
: [];
2301+
? nodeutil
2302+
.allFiles("node_modules/pxt-core/theme/color-themes", { maxDepth: 1, includeDirs: false })
2303+
.filter((f) => /\.json$/i.test(f))
2304+
: [];
2305+
22952306
const targetThemeFiles = fs.existsSync("theme/color-themes")
22962307
? nodeutil
22972308
.allFiles("theme/color-themes", { maxDepth: 1, includeDirs: false })
22982309
.filter((f) => /\.json$/i.test(f))
22992310
: [];
23002311

23012312
// Target takes precedence, so include those at the end (will overwrite shared themes)
2302-
const themeFiles = sharedThemeFiles.concat(targetThemeFiles);
2313+
return sharedThemeFiles.concat(targetThemeFiles);
2314+
}
2315+
2316+
function updateColorThemes(cfg: pxt.TargetBundle) {
2317+
pxt.log("Loading color themes...");
2318+
const themeFiles = getThemeFilePaths();
23032319

23042320
for (const themeFile of themeFiles) {
23052321
const themeFileDir = path.dirname(themeFile);

docs/blog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Microsoft MakeCode Blog
22

3+
## [MakeCode Arcade 2025 Update](/blog/arcade/update-mar-2025)
4+
5+
March 24th, 2025 by [Jaqster](https://github.com/jaqster)
6+
7+
Wow, I can't believe it's been 2 years since we shipped an update to MakeCode Arcade! We had over 800 open issues and many pending features...
8+
9+
**[Continue reading this blog post](/blog/arcade/update-mar-2025)**
10+
311
## [Display shield extension/simulator for the micro:bit](/blog/microbit/display-shield)
412

513
February 3, 2025 by [Thomas Ball](https://github.com/thomasjball)

docs/blog/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Microsoft MakeCode Blog
22

33
* [Blog](/blog)
4+
* [MakeCode Arcade 2025 Update](/blog/arcade/update-mar-2025)
45
* [Display shield extension/simulator for the micro:bit](/blog/microbit/display-shield)
56
* [MakeCode Code Evaluation Tool Beta](/blog/tools/code-eval-tool)
67
* [MakeCode for the micro:bit 2024 Update](/blog/microbit/2024-update)
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# MakeCode Arcade 2025 Update
2+
3+
**Posted on March 24th, 2025 by [Jaqster](https://github.com/jaqster)**
4+
5+
Wow, I can't believe it's been 2 years since we shipped an update to MakeCode Arcade! We had over 800 open issues and many pending features pushing at the Beta gate to get out. This release felt so good to ship! We hope you enjoy some of these new goodies!
6+
7+
Note – we know it's the middle of the school year for many, so if you would like to continue using the existing version, you can bookmark https://arcade.makecode.com/v1.12.
8+
9+
## Blockly update
10+
11+
In line with our other editors, Arcade was upgraded to the latest version of the Blockly library. The MakeCode blocks visual programming interface is built on [Google
12+
Blockly](https://developers.google.com/blockly). You shouldn't notice any big visual differences in the MakeCode blocks, but by upgrading we are now able to access all the latest Blockly plugins and features, including support for future work around accessible blocks. If you're interested in learning more about our work on the "Great Blockly Upgrade", watch this talk from the [Blockly Summit](https://youtu.be/SoXN61lSL9U).
13+
14+
## Version history
15+
16+
Version history comes to Arcade finally!
17+
18+
>_"Noooo!!! I just made a change that deleted all my code!!! Please help me!"_
19+
20+
These posts on our forum always made us very sad 😞. So, we decided to do something about it. The Version History feature (affectionately called the ‘MakeCode Time Machine') supports 5-minute snapshots of code so users can restore and save copies of previous versions of their projects. Open the **Settings** menu and select Version History to see this view.
21+
22+
![Version history](/static/blog/arcade/update-mar-2025/version-history.gif)
23+
24+
## Themes and Accessibility improvements
25+
26+
Orange isn't for everyone. And although I love the original Arcade orange color scheme, it isn't the most accessible in terms of color contrast for visually impaired users. So, we've added support for themes – now users can select from among 4 different color themes including a high contrast theme to help improve accessibility and add a touch of personalization! To set your theme, click on the **Settings** menu and select Theme.
27+
28+
![Theme selection](/static/blog/arcade/update-mar-2025/themes.png)
29+
30+
As part of our theming overhaul, some of you may have noticed that we also updated the Arcade font family to a more accessible/readable font.
31+
32+
![New fonts](/static/blog/arcade/update-mar-2025/fonts.png)
33+
34+
And, we've improved the color contrast for nested blocks of the same color with a lighter border to make them more readable.
35+
36+
### Old nested block borders
37+
38+
![Older nested blocks](/static/blog/arcade/update-mar-2025/old-nested.png)
39+
40+
### New nested block borders
41+
42+
![Newer nested blocks](/static/blog/arcade/update-mar-2025/new-nested.png)
43+
44+
In addition to that, we also improved the accessibility of our tutorials for color blind and vision impaired users by changing the block name color highlighting to include the icon and improve color contrast readability.
45+
46+
![tutorial updates](/static/blog/arcade/update-mar-2025/tutorial-updates.png)
47+
48+
## Editor Tour
49+
50+
There is a lot going on in the Arcade code editor, and it can be overwhelming for newbies. We released an interface tour that automatically starts for new users when they create their first project, or it can be started from the **Help** menu. This feature is helpful to set context and orient people before they start coding.
51+
52+
![MakeCode editor tour](/static/blog/arcade/update-mar-2025/tour.gif)
53+
54+
## Support for more languages
55+
56+
We are so happy to see MakeCode Arcade going global! We have support for 5 new languages in this release – Arabic, Dutch, Irish, Italian and Korean! Big, big **THANK YOU** to all the volunteers who have helped localize MakeCode and bring coding to students around the world. If you would like to help translate or proofread translations, learn how to get involved at https://makecode.com/translate.
57+
58+
![Editor languages](/static/blog/arcade/update-mar-2025/editor-languages.png)
59+
60+
## Blocks Copy/Paste
61+
62+
This feature is a real delighter for me. Now, you can copy chunks of code across projects! Simply right-click on a block in one project and select Copy (or Ctrl-C on keyboard), open another project, right-click on the Workspace and select Paste (or Ctrl-V).
63+
64+
![Blocks copy/paste feature](/static/blog/arcade/update-mar-2025/copy-paste.gif)
65+
66+
## Animations go mainstream
67+
68+
With the popularity of the animation blocks, we've decided to pull them out of the Advanced section of the Toolbox and make them more discoverable for users.
69+
70+
![Animation toolbox category](/static/blog/arcade/update-mar-2025/toolbox.png)
71+
72+
## Keyboard input
73+
74+
This was a request of many of the AP CS Principles teachers who are using Arcade to teach user input and output. Now, for users on a computer, the [Ask for String] and [Ask for Number] blocks will use the system keyboard input by default, instead of the game controller input making it much easier to enter long responses. If you download your game onto a handheld Arcade device, or click on the on-screen game controls, then the input will revert to using the game controller buttons.
75+
76+
![Keyboard directed input](/static/blog/arcade/update-mar-2025/keyboard-input.gif)
77+
78+
## Open in Visual Studio Code Online
79+
80+
We shipped the [MakeCode Arcade extension for VS Code]( https://makecode.com/blog/arcade/vscode-extension) a couple years ago, and have seen positive feedback from folks using it. Now, we're excited to release support for MakeCode Arcade in Visual Studio Code for the web. This makes it even easier to move projects from MakeCode to VS Code because everything's in the browser.
81+
82+
![MakeCode in VSCode](/static/blog/arcade/update-mar-2025/vs-code-web.gif)
83+
84+
## Feedback
85+
86+
Thank you to everyone who has logged bugs, submitted PR's, translated and suggested new features! Any new bugs you find in this release, please log them in [GitHub](https://github.com/Microsoft/pxt-arcade/issues)
87+
88+
Any other questions, comments, suggestions, and feedback – please join the discussion at the
89+
[MakeCode Forum](https://forum.makecode.com).
90+
91+
Happy Making and Coding!
92+
93+
<br/>
94+
The MakeCode Team

docs/csp.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ Some additional features of the Microsoft MakeCode curriculum include:
2626

2727
Microsoft is recognized by the College Board as an endorsed provider of curriculum and professional development for AP® Computer Science Principles (AP CSP). Using an Endorsed Provider affords schools access to resources including an AP CSP syllabus pre-approved by the College Board’s AP Course Audit, and officially recognized professional development that prepares teachers to teach AP CSP. This endorsement affirms only that components of Microsoft's offerings are aligned to all the AP Curriculum Framework standards and the AP CSP assessment.
2828

29+
### ~ reminder
30+
31+
#### Professional Development Workshops - 2025
32+
33+
We will be offering free online training this summer to help prepare Educators to teach the AP CS Principles with Microsoft MakeCode course for the 2025-2026 academic year. These professional development workshops will focus on the course's Big Ideas, Learning Objectives and Essential Knowledge skills. Additionally, participants will gain familiarity with the Microsoft MakeCode Arcade programming interface, and understand how the curriculum prepares students for the AP Exam and Create Performance Task. By attending the training and using the MakeCode curriculum, Educators will be prepared with a syllabus, pacing plan, lesson plan, PowerPoint presentations, student handouts and resources for every day of the course. Register for one of the sessions below. Each session has limited capacity:
34+
35+
* [Workshop 1](https://events.teams.microsoft.com/event/1118b9b2-723c-4eeb-a694-28aa35b8dc09@74ce1499-dbf1-452c-a18f-ed42467a4990): June 16th - 20th
36+
* [Workshop 2](https://events.teams.microsoft.com/event/20af7ced-66e3-4b1b-80c6-994d008cbf2f@74ce1499-dbf1-452c-a18f-ed42467a4990): July 14th - 18th
37+
38+
### ~
39+
2940
## Course Overview
3041

3142
Technical Requirements: Students will need access to a computer with an internet connection.
692 KB
Loading
129 KB
Loading
61.2 KB
Loading
82.4 KB
Loading
53.6 KB
Loading

0 commit comments

Comments
 (0)