His Heart Grew 3 Sizes — Resizing Sprites in MakeCode Arcade

Kiki Prottsman
Kiki’s Corner
Published in
2 min readFeb 14, 2022
Check out this NEW feature!!

Last Monday (2/7/22) MakeCode Arcade put out a minor release with some MAJOR features! As you can see from the blog, it contains several hidden design additions.

One of the cool new options inside of the image editor is a resizable marquee, which will let you select all or part of an image and resize it by hand.

Even more exciting on a personal level is the ability to resize from within a program. The new default blocks under the Sprites category let you scale a sprite uniformly in the way you might expect:

But, for even more control, you can install the “sprite-scaling” extension and resize images with pixel precision.

To show-off how much fun this can be, I’ve created a quick high-level tutorial especially for Valentine’s Day.

The “Flee My Valentine” tutorial walks you through setting win/loss conditions, adjusting the number of enemy arrows, and playing with the resizing blocks to adjust how much your player grows or shrinks when it overlaps with other sprites.

If you’re as excited as I am about the ability to use the scaling mechanic in MakeCode Arcade, hop on over to aka.ms/valentine to play “Flee My Valentine” and send your finished game to someone you love!

--

--

Kiki Prottsman
Kiki’s Corner

Kiki is an author, educator, and the Director of Education for Microsoft MakeCode